Interface ConfigureFormReader

All Superinterfaces:
FormReader
All Known Implementing Classes:
ConfigureForm, FillableConfigureForm, FilledConfigureForm

public interface ConfigureFormReader extends FormReader
  • Field Details

  • Method Details

    • getAccessModel

      default AccessModel getAccessModel()
      Get the currently configured AccessModel, null if it is not set.
      Returns:
      The current AccessModel
    • getBodyXSLT

      default String getBodyXSLT()
      Returns the URL of an XSL transformation which can be applied to payloads in order to generate an appropriate message body element.
      Returns:
      URL to an XSL
    • getChildren

      default List<String> getChildren()
      The id's of the child nodes associated with a collection node (both leaf and collection).
      Returns:
      list of child nodes.
    • getChildrenAssociationPolicy

      default ChildrenAssociationPolicy getChildrenAssociationPolicy()
      Returns the policy that determines who may associate children with the node.
      Returns:
      The current policy
    • getChildrenAssociationWhitelist

      default List<org.jxmpp.jid.Jid> getChildrenAssociationWhitelist()
      List of JID's that are on the whitelist that determines who can associate child nodes with the collection node. This is only relevant if getChildrenAssociationPolicy() is set to ChildrenAssociationPolicy.whitelist.
      Returns:
      List of the whitelist
    • getChildrenMax

      default Integer getChildrenMax()
      Gets the maximum number of child nodes that can be associated with the collection node.
      Returns:
      The maximum number of child nodes
    • getCollection

      default List<? extends CharSequence> getCollection()
      Gets the collection node which the node is affiliated with.
      Returns:
      The collection node id
    • getDataformXSLT

      default String getDataformXSLT()
      Gets 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.
      Returns:
      The URL of an XSL transformation
    • isDeliverPayloads

      default Boolean isDeliverPayloads()
      Does the node deliver payloads with event notifications.
      Returns:
      true if it does, false otherwise
    • getItemReply

      default ItemReply getItemReply()
      Determines who should get replies to items.
      Returns:
      Who should get the reply
    • getMaxItems

      default Integer getMaxItems()
      Gets the maximum number of items to persisted to this node if isPersistItems() is true.
      Returns:
      The maximum number of items to persist
    • getMaxPayloadSize

      default Integer getMaxPayloadSize()
      Gets the maximum payload size in bytes.
      Returns:
      The maximum payload size
    • getNodeType

      default NodeType getNodeType()
      Gets the node type.
      Returns:
      The node type
    • isNotifyConfig

      default Boolean isNotifyConfig()
      Determines if subscribers should be notified when the configuration changes.
      Returns:
      true if they should be notified, false otherwise
    • isNotifyDelete

      default Boolean isNotifyDelete()
      Determines whether subscribers should be notified when the node is deleted.
      Returns:
      true if subscribers should be notified, false otherwise
    • isNotifyRetract

      default Boolean isNotifyRetract()
      Determines whether subscribers should be notified when items are deleted from the node.
      Returns:
      true if subscribers should be notified, false otherwise
    • getNotificationType

      default NotificationType getNotificationType()
      Determines the type of notifications which are sent.
      Returns:
      NotificationType for the node configuration
      Since:
      4.3
    • isPersistItems

      default boolean isPersistItems()
      Determines whether items should be persisted in the node.
      Returns:
      true if items are persisted
    • isPresenceBasedDelivery

      default boolean isPresenceBasedDelivery()
      Determines whether to deliver notifications to available users only.
      Returns:
      true if users must be available
    • getPublishModel

      default PublishModel getPublishModel()
      Gets the publishing model for the node, which determines who may publish to it.
      Returns:
      The publishing model
    • getRosterGroupsAllowed

      default List<String> getRosterGroupsAllowed()
      Gets the roster groups that are allowed to subscribe and retrieve items.
      Returns:
      The roster groups
    • isSubscribe

      default boolean isSubscribe()
      Determines if subscriptions are allowed.
      Returns:
      true if subscriptions are allowed, false otherwise
    • getTitle

      default String getTitle()
      Gets the human readable node title.
      Returns:
      The node title
    • getDataType

      default String getDataType()
      The type of node data, usually specified by the namespace of the payload (if any).
      Returns:
      The type of node data