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 TypeMethodDescriptionvoidadd(tigase.form.Field f) protected String[]asStrinTable(Enum<?>[] values) clone()voidvoidcopyFromForm(tigase.form.Form f) String[]String[]tigase.form.FormgetForm()tigase.xml.Elementprotected abstract AbstractNodeConfiggetInstance(String nodeName) tigase.xmpp.StanzaTypeString[]getTitle()protected voidinit()booleanbooleanbooleanbooleanbooleanbooleanbooleanvoidread(tigase.db.UserRepository repository, IPubSubConfig config, String subnode) voidreset()voidsetBodyXsltEmbedded(String xslt) voidsetCollection(String collectionNew) voidsetDomains(String... domains) voidsetNodeType(NodeType nodeType) voidvoidvoidtoString()voidwrite(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:
clonein 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.UserNotFoundExceptiontigase.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.UserNotFoundExceptiontigase.db.TigaseDBException
-
asStrinTable
-
getInstance
-
init
protected void init()
-