public abstract class PubSubDAO extends Object implements IPubSubDAO
| Modifier | Constructor and Description |
|---|---|
protected |
PubSubDAO(tigase.db.UserRepository userRepository) |
| Modifier and Type | Method and Description |
|---|---|
void |
destroy()
Method description
|
String[] |
getBuddyGroups(tigase.xmpp.BareJID owner,
tigase.xmpp.BareJID buddy)
Method description
|
String |
getBuddySubscription(tigase.xmpp.BareJID owner,
tigase.xmpp.BareJID buddy)
Method description
|
protected <T extends AbstractNodeConfig> |
getNodeConfig(Class<T> nodeConfigClass,
String nodeName,
tigase.form.Form configForm) |
tigase.xmpp.BareJID[] |
getUserRoster(tigase.xmpp.BareJID owner)
Method description
|
void |
init()
Method description
|
protected tigase.xml.Element |
itemDataToElement(char[] data) |
AbstractNodeConfig |
parseConfig(String nodeName,
String data) |
protected tigase.form.Form |
parseConfigForm(String cnfData) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitaddToRootCollection, createNode, deleteItem, deleteNode, getAllNodesList, getChildNodes, getItem, getItemCreationDate, getItemsIds, getItemsIdsSince, getItemsMeta, getItemUpdateDate, getNodeAffiliations, getNodeConfig, getNodeId, getNodesList, getNodeSubscriptions, getUserAffiliations, getUserSubscriptions, removeAllFromRootCollection, removeFromRootCollection, removeNodeSubscription, updateNodeAffiliation, updateNodeConfig, updateNodeSubscription, writeItemprotected static final Logger log
public void destroy()
IPubSubDAOdestroy in interface IPubSubDAOpublic String[] getBuddyGroups(tigase.xmpp.BareJID owner, tigase.xmpp.BareJID buddy) throws RepositoryException
getBuddyGroups in interface IPubSubDAOowner - buddy - RepositoryExceptionpublic String getBuddySubscription(tigase.xmpp.BareJID owner, tigase.xmpp.BareJID buddy) throws RepositoryException
getBuddySubscription in interface IPubSubDAOowner - buddy - RepositoryExceptionpublic tigase.xmpp.BareJID[] getUserRoster(tigase.xmpp.BareJID owner)
throws RepositoryException
getUserRoster in interface IPubSubDAOowner - RepositoryExceptionpublic void init()
throws RepositoryException
IPubSubDAOinit in interface IPubSubDAORepositoryExceptionprotected tigase.xml.Element itemDataToElement(char[] data)
public AbstractNodeConfig parseConfig(String nodeName, String data) throws RepositoryException
parseConfig in interface IPubSubDAORepositoryExceptionprotected tigase.form.Form parseConfigForm(String cnfData)
protected <T extends AbstractNodeConfig> T getNodeConfig(Class<T> nodeConfigClass, String nodeName, tigase.form.Form configForm) throws RepositoryException
RepositoryExceptionCopyright © 2008–2014 Tigase. All rights reserved.