Package tigase.pubsub
Class AbstractNodeConfig
java.lang.Object
tigase.pubsub.AbstractNodeConfig
- Direct Known Subclasses:
CollectionNodeConfig
,LeafNodeConfig
Common implementation of PubSub node configuration handler.
- Version:
- 5.0.0, 2010.03.27 at 05:11:05 GMT
- Author:
- Artur Hefczyc
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionAbstractNodeConfig
(String nodeName) AbstractNodeConfig
(String nodeName, AbstractNodeConfig config) -
Method Summary
Modifier and TypeMethodDescriptionvoid
add
(tigase.form.Field f) protected String[]
asStrinTable
(Enum<?>[] values) clone()
void
void
copyFromForm
(tigase.form.Form f) String[]
String[]
tigase.form.Form
getForm()
tigase.xml.Element
protected abstract AbstractNodeConfig
getInstance
(String nodeName) tigase.xmpp.StanzaType
String[]
getTitle()
protected void
init()
boolean
boolean
boolean
boolean
boolean
boolean
boolean
void
read
(tigase.db.UserRepository repository, IPubSubConfig config, String subnode) void
reset()
void
setBodyXsltEmbedded
(String xslt) void
setCollection
(String collectionNew) void
setDomains
(String... domains) void
setNodeType
(NodeType nodeType) void
void
void
toString()
void
write
(tigase.db.UserRepository repo, IPubSubConfig config, String subnode)
-
Field Details
-
PUBSUB
- See Also:
-
TIGASE
- See Also:
-
form
protected final tigase.form.Form formList with do-not-write elements
-
-
Constructor Details
-
AbstractNodeConfig
-
AbstractNodeConfig
-
-
Method Details
-
add
public void add(tigase.form.Field f) -
clone
- Overrides:
clone
in classObject
- Throws:
CloneNotSupportedException
-
copyFrom
-
copyFromForm
public void copyFromForm(tigase.form.Form f) -
getBodyXslt
-
getBodyXsltEmbedded
-
setBodyXsltEmbedded
-
getChildren
-
getCollection
-
setCollection
-
getCollectionItemsOrdering
-
getDomains
-
setDomains
-
getForm
public tigase.form.Form getForm() -
getFormElement
public tigase.xml.Element getFormElement() -
getNodeAccessModel
-
getNodeName
-
getNodeType
-
setNodeType
-
getNotificationType
public tigase.xmpp.StanzaType getNotificationType() -
getPublisherModel
-
getRosterGroupsAllowed
-
getSendLastPublishedItem
-
getTitle
-
getDescription
-
isAllowToViewSubscribers
public boolean isAllowToViewSubscribers() -
isCollectionSet
public boolean isCollectionSet() -
isDeliver_payloads
public boolean isDeliver_payloads() -
isDeliverPresenceBased
public boolean isDeliverPresenceBased() -
isNotify_config
public boolean isNotify_config() -
isPresenceExpired
public boolean isPresenceExpired() -
isTigaseNotifyChangeSubscriptionAffiliationState
public boolean isTigaseNotifyChangeSubscriptionAffiliationState() -
read
public void read(tigase.db.UserRepository repository, IPubSubConfig config, String subnode) throws tigase.db.UserNotFoundException, tigase.db.TigaseDBException - Throws:
tigase.db.UserNotFoundException
tigase.db.TigaseDBException
-
reset
public void reset() -
setValue
-
setValue
-
setValues
-
toString
-
write
public void write(tigase.db.UserRepository repo, IPubSubConfig config, String subnode) throws tigase.db.UserNotFoundException, tigase.db.TigaseDBException - Throws:
tigase.db.UserNotFoundException
tigase.db.TigaseDBException
-
asStrinTable
-
getInstance
-
init
protected void init()
-