public class PubSubOldDAO extends Object implements IPubSubOldDAO
IPubSubOldDAO.Item| Modifier and Type | Field and Description |
|---|---|
static String |
CREATION_DATE_KEY
Field description
|
protected Logger |
log |
static String |
NODES_KEY
Field description
|
| Constructor and Description |
|---|
PubSubOldDAO(tigase.db.UserRepository repository)
Constructs ...
|
| Modifier and Type | Method and Description |
|---|---|
IPubSubOldDAO.Item |
getItem(tigase.xmpp.BareJID serviceJid,
String nodeName,
String id)
Method description
|
Date |
getItemCreationDate(tigase.xmpp.BareJID serviceJid,
String nodeName,
String id)
Method description
|
String |
getItemPublisher(tigase.xmpp.BareJID serviceJid,
String nodeName,
String id)
Method description
|
String[] |
getItemsIds(tigase.xmpp.BareJID serviceJid,
String nodeName)
Method description
|
Date |
getItemUpdateDate(tigase.xmpp.BareJID serviceJid,
String nodeName,
String id)
Method description
|
UsersAffiliation[] |
getNodeAffiliations(tigase.xmpp.BareJID serviceJid,
String nodeName)
Method description
|
AbstractNodeConfig |
getNodeConfig(tigase.xmpp.BareJID serviceJid,
String nodeName)
Method description
|
<T extends AbstractNodeConfig> |
getNodeConfig(Class<T> nodeConfigClass,
String nodeName,
tigase.form.Form configForm)
Method description
|
Date |
getNodeCreationDate(tigase.xmpp.BareJID serviceJid,
String nodeName)
Method description
|
tigase.xmpp.BareJID |
getNodeCreator(tigase.xmpp.BareJID serviceJid,
String nodeName) |
String[] |
getNodesList(tigase.xmpp.BareJID serviceJid)
Method description
|
UsersSubscription[] |
getNodeSubscriptions(tigase.xmpp.BareJID serviceJid,
String nodeName)
Method description
|
tigase.xmpp.BareJID[] |
getServiceJids() |
void |
init()
Method description
|
protected tigase.xml.Element |
itemDataToElement(char[] data) |
protected String |
readNodeConfigFormData(tigase.xmpp.BareJID serviceJid,
String nodeName) |
public static final String CREATION_DATE_KEY
public static final String NODES_KEY
protected Logger log
public PubSubOldDAO(tigase.db.UserRepository repository)
repository - pubSubConfig - public IPubSubOldDAO.Item getItem(tigase.xmpp.BareJID serviceJid, String nodeName, String id) throws RepositoryException
getItem in interface IPubSubOldDAOnodeName - id - RepositoryExceptionpublic Date getItemCreationDate(tigase.xmpp.BareJID serviceJid, String nodeName, String id) throws RepositoryException
nodeName - id - RepositoryExceptionpublic String getItemPublisher(tigase.xmpp.BareJID serviceJid, String nodeName, String id) throws RepositoryException
nodeName - id - RepositoryExceptionpublic String[] getItemsIds(tigase.xmpp.BareJID serviceJid, String nodeName) throws RepositoryException
getItemsIds in interface IPubSubOldDAOnodeName - RepositoryExceptionpublic Date getItemUpdateDate(tigase.xmpp.BareJID serviceJid, String nodeName, String id) throws RepositoryException
nodeName - id - RepositoryExceptionpublic UsersAffiliation[] getNodeAffiliations(tigase.xmpp.BareJID serviceJid, String nodeName) throws RepositoryException
getNodeAffiliations in interface IPubSubOldDAOnodeName - RepositoryExceptionpublic AbstractNodeConfig getNodeConfig(tigase.xmpp.BareJID serviceJid, String nodeName) throws RepositoryException
getNodeConfig in interface IPubSubOldDAOnodeName - RepositoryExceptionpublic <T extends AbstractNodeConfig> T getNodeConfig(Class<T> nodeConfigClass, String nodeName, tigase.form.Form configForm) throws RepositoryException
T - nodeConfigClass - nodeName - configForm - RepositoryExceptionpublic Date getNodeCreationDate(tigase.xmpp.BareJID serviceJid, String nodeName) throws RepositoryException
getNodeCreationDate in interface IPubSubOldDAOnodeName - RepositoryExceptionpublic tigase.xmpp.BareJID getNodeCreator(tigase.xmpp.BareJID serviceJid,
String nodeName)
throws RepositoryException
getNodeCreator in interface IPubSubOldDAORepositoryExceptionpublic String[] getNodesList(tigase.xmpp.BareJID serviceJid) throws RepositoryException
getNodesList in interface IPubSubOldDAORepositoryExceptionpublic UsersSubscription[] getNodeSubscriptions(tigase.xmpp.BareJID serviceJid, String nodeName) throws RepositoryException
getNodeSubscriptions in interface IPubSubOldDAOnodeName - RepositoryExceptionpublic void init()
throws RepositoryException
init in interface IPubSubOldDAORepositoryExceptionprotected tigase.xml.Element itemDataToElement(char[] data)
protected String readNodeConfigFormData(tigase.xmpp.BareJID serviceJid, String nodeName) throws tigase.db.TigaseDBException
tigase.db.TigaseDBExceptionpublic tigase.xmpp.BareJID[] getServiceJids()
throws RepositoryException
getServiceJids in interface IPubSubOldDAORepositoryExceptionCopyright © 2008–2017 Tigase. All rights reserved.