public class FillableConfigureForm extends FillableForm implements ConfigureFormReader
formTypeFormFieldFORM_TYPE| Modifier and Type | Method and Description |
|---|---|
void |
setAccessModel(AccessModel accessModel)
Sets the value of access model.
|
void |
setBodyXSLT(java.lang.String bodyXslt)
Set the URL of an XSL transformation which can be applied to payloads in order to
generate an appropriate message body element.
|
void |
setChildren(java.util.List<java.lang.String> children)
Set the list of child node ids that are associated with a collection node.
|
void |
setChildrenAssociationPolicy(ChildrenAssociationPolicy policy)
Sets the policy that determines who may associate children with the node.
|
void |
setChildrenAssociationWhitelist(java.util.List<? extends org.jxmpp.jid.Jid> whitelist)
Set the JID's in the whitelist of users that can associate child nodes with the collection
node.
|
void |
setChildrenMax(int max)
Set the maximum number of child nodes that can be associated with a collection node.
|
void |
setCollection(java.lang.String collection)
Sets the collection node which the node is affiliated with.
|
void |
setCollections(java.util.Collection<java.lang.String> collections) |
void |
setDataformXSLT(java.net.URL url)
Sets the URL of an XSL transformation which can be applied to the payload
format in order to generate a valid Data Forms result that the client could
display using a generic Data Forms rendering engine.
|
void |
setDataType(java.lang.CharSequence type)
Sets the type of node data, usually specified by the namespace of the payload (if any).
|
void |
setDeliverPayloads(boolean deliver)
Sets whether the node will deliver payloads with event notifications.
|
void |
setItemReply(ItemReply reply)
Sets who should get the replies to items.
|
void |
setMaxItems(int max)
Set the maximum number of items to persisted to this node if
ConfigureFormReader.isPersistItems() is
true. |
void |
setMaxPayloadSize(int max)
Sets the maximum payload size in bytes.
|
void |
setNodeType(NodeType type)
Sets the node type.
|
void |
setNotificationType(NotificationType notificationType)
Sets the NotificationType for the node.
|
void |
setNotifyConfig(boolean notify)
Sets whether subscribers should be notified when the configuration changes.
|
void |
setNotifyDelete(boolean notify)
Sets whether subscribers should be notified when the node is deleted.
|
void |
setNotifyRetract(boolean notify)
Sets whether subscribers should be notified when items are deleted
from the node.
|
void |
setPersistentItems(boolean persist)
Sets whether items should be persisted in the node.
|
void |
setPresenceBasedDelivery(boolean presenceBased)
Sets whether to deliver notifications to available users only.
|
void |
setPublishModel(PublishModel publish)
Sets the publishing model for the node, which determines who may publish to it.
|
void |
setRosterGroupsAllowed(java.util.List<? extends java.lang.CharSequence> groups)
Sets the roster groups that are allowed to subscribe and retrieve items.
|
void |
setSubscribe(boolean subscribe)
Sets whether subscriptions are allowed.
|
void |
setTitle(java.lang.CharSequence title)
Sets a human readable title for the node.
|
getDataFormToSubmit, getField, setAnswer, setAnswer, setAnswer, setAnswer, write, write, write, writeBoolean, writeListMulti, writeTextSingleensureFormType, getDataForm, getFieldOrThrow, getFormType, getInstructions, getTitle, hasFieldclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetAccessModel, getBodyXSLT, getChildren, getChildrenAssociationPolicy, getChildrenAssociationWhitelist, getChildrenMax, getCollection, getDataformXSLT, getDataType, getItemReply, getMaxItems, getMaxPayloadSize, getNodeType, getNotificationType, getPublishModel, getRosterGroupsAllowed, getTitle, isDeliverPayloads, isNotifyConfig, isNotifyDelete, isNotifyRetract, isPersistItems, isPresenceBasedDelivery, isSubscribegetField, readBoolean, readDate, readFirstValue, readInteger, readStringValues, readValuespublic void setAccessModel(AccessModel accessModel)
accessModel - TODO javadoc me pleasepublic void setBodyXSLT(java.lang.String bodyXslt)
bodyXslt - The URL of an XSLpublic void setChildren(java.util.List<java.lang.String> children)
children - TODO javadoc me pleasepublic void setChildrenAssociationPolicy(ChildrenAssociationPolicy policy)
policy - The policy being setpublic void setChildrenAssociationWhitelist(java.util.List<? extends org.jxmpp.jid.Jid> whitelist)
ConfigureFormReader.getChildrenAssociationPolicy() is set to
ChildrenAssociationPolicy.whitelist.whitelist - The list of JID'spublic void setChildrenMax(int max)
max - The maximum number of child nodes.public void setCollection(java.lang.String collection)
collection - The node id of the collection nodepublic void setCollections(java.util.Collection<java.lang.String> collections)
public void setDataformXSLT(java.net.URL url)
url - The URL of an XSL transformationpublic void setDeliverPayloads(boolean deliver)
deliver - true if the payload will be delivered, false otherwisepublic void setItemReply(ItemReply reply)
reply - Defines who should get the replypublic void setMaxItems(int max)
ConfigureFormReader.isPersistItems() is
true.max - The maximum number of items to persistpublic void setMaxPayloadSize(int max)
max - The maximum payload sizepublic void setNodeType(NodeType type)
type - The node typepublic void setNotifyConfig(boolean notify)
notify - true if subscribers should be notified, false otherwisepublic void setNotifyDelete(boolean notify)
notify - true if subscribers should be notified, false otherwisepublic void setNotifyRetract(boolean notify)
notify - true if subscribers should be notified, false otherwisepublic void setNotificationType(NotificationType notificationType)
notificationType - The enum representing the possible optionspublic void setPersistentItems(boolean persist)
persist - true if items should be persisted, false otherwisepublic void setPresenceBasedDelivery(boolean presenceBased)
presenceBased - true if user must be available, false otherwisepublic void setPublishModel(PublishModel publish)
publish - The enum representing the possible options for the publishing modelpublic void setRosterGroupsAllowed(java.util.List<? extends java.lang.CharSequence> groups)
groups - The roster groupspublic void setSubscribe(boolean subscribe)
subscribe - true if they are, false otherwisepublic void setTitle(java.lang.CharSequence title)
title - The node titlepublic void setDataType(java.lang.CharSequence type)
type - The type of node data