Interface ConfigureFormReader

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

public interface ConfigureFormReader extends FormReader
  • Field Details

  • Method Details

    • 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

      Returns the policy that determines who may associate children with the node.
      Returns:
      The current policy
    • 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

      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

      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

      Does the node deliver payloads with event notifications.
      Returns:
      true if it does, false otherwise
    • 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

      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

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

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

      Determines whether subscribers should be notified when items are deleted from the node.
      Returns:
      true if subscribers should be notified, false otherwise
    • 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

      Gets the publishing model for the node, which determines who may publish to it.
      Returns:
      The publishing model
    • 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