public interface IPubSubDAO
| Modifier and Type | Method and Description |
|---|---|
void |
addToRootCollection(tigase.xmpp.BareJID serviceJid,
String nodeName)
Method description
|
void |
createNode(tigase.xmpp.BareJID serviceJid,
String nodeName,
tigase.xmpp.BareJID ownerJid,
AbstractNodeConfig nodeConfig,
NodeType nodeType,
String collection)
Method description
|
void |
deleteItem(tigase.xmpp.BareJID serviceJid,
String nodeName,
String id)
Method description
|
void |
deleteNode(tigase.xmpp.BareJID serviceJid,
String nodeName)
Method description
|
void |
destroy()
Method description
|
String[] |
getBuddyGroups(tigase.xmpp.BareJID owner,
tigase.xmpp.BareJID bareJid) |
String |
getBuddySubscription(tigase.xmpp.BareJID owner,
tigase.xmpp.BareJID buddy) |
tigase.xml.Element |
getItem(tigase.xmpp.BareJID serviceJid,
String nodeName,
String id) |
Date |
getItemCreationDate(tigase.xmpp.BareJID serviceJid,
String nodeName,
String id)
Method description
|
String[] |
getItemsIds(tigase.xmpp.BareJID serviceJid,
String nodeName) |
Date |
getItemUpdateDate(tigase.xmpp.BareJID serviceJid,
String nodeName,
String id)
Method description
|
NodeAffiliations |
getNodeAffiliations(tigase.xmpp.BareJID serviceJid,
String nodeName)
Method description
|
AbstractNodeConfig |
getNodeConfig(tigase.xmpp.BareJID serviceJid,
String nodeName)
Method description
|
String[] |
getNodesList(tigase.xmpp.BareJID serviceJid)
Method description
|
NodeSubscriptions |
getNodeSubscriptions(tigase.xmpp.BareJID serviceJid,
String nodeName) |
String[] |
getRootNodes(tigase.xmpp.BareJID serviceJid)
Method description
|
tigase.xmpp.BareJID[] |
getUserRoster(tigase.xmpp.BareJID owner) |
void |
init()
Method description
|
void |
removeFromRootCollection(tigase.xmpp.BareJID serviceJid,
String nodeName)
Method description
|
void |
update(tigase.xmpp.BareJID serviceJid,
String nodeName,
AbstractNodeConfig nodeConfig)
Method description
|
void |
update(tigase.xmpp.BareJID serviceJid,
String nodeName,
IAffiliations affiliations)
Method description
|
void |
writeItem(tigase.xmpp.BareJID serviceJid,
String nodeName,
long timeInMilis,
String id,
String publisher,
tigase.xml.Element item)
Method description
|
void addToRootCollection(tigase.xmpp.BareJID serviceJid,
String nodeName)
throws RepositoryException
nodeName - RepositoryExceptionvoid createNode(tigase.xmpp.BareJID serviceJid,
String nodeName,
tigase.xmpp.BareJID ownerJid,
AbstractNodeConfig nodeConfig,
NodeType nodeType,
String collection)
throws RepositoryException
nodeName - ownerJid - nodeConfig - nodeType - collection - RepositoryExceptionvoid deleteItem(tigase.xmpp.BareJID serviceJid,
String nodeName,
String id)
throws RepositoryException
nodeName - id - RepositoryExceptionvoid deleteNode(tigase.xmpp.BareJID serviceJid,
String nodeName)
throws RepositoryException
nodeName - RepositoryExceptionvoid destroy()
String[] getBuddyGroups(tigase.xmpp.BareJID owner, tigase.xmpp.BareJID bareJid) throws RepositoryException
RepositoryExceptionString getBuddySubscription(tigase.xmpp.BareJID owner, tigase.xmpp.BareJID buddy) throws RepositoryException
RepositoryExceptiontigase.xml.Element getItem(tigase.xmpp.BareJID serviceJid,
String nodeName,
String id)
throws RepositoryException
RepositoryExceptionDate getItemCreationDate(tigase.xmpp.BareJID serviceJid, String nodeName, String id) throws RepositoryException
nodeName - id - RepositoryExceptionString[] getItemsIds(tigase.xmpp.BareJID serviceJid, String nodeName) throws RepositoryException
RepositoryExceptionDate getItemUpdateDate(tigase.xmpp.BareJID serviceJid, String nodeName, String id) throws RepositoryException
nodeName - id - RepositoryExceptionNodeAffiliations getNodeAffiliations(tigase.xmpp.BareJID serviceJid, String nodeName) throws RepositoryException
nodeName - RepositoryExceptionAbstractNodeConfig getNodeConfig(tigase.xmpp.BareJID serviceJid, String nodeName) throws RepositoryException
nodeName - RepositoryExceptionString[] getNodesList(tigase.xmpp.BareJID serviceJid) throws RepositoryException
RepositoryExceptionNodeSubscriptions getNodeSubscriptions(tigase.xmpp.BareJID serviceJid, String nodeName) throws RepositoryException
RepositoryExceptionString[] getRootNodes(tigase.xmpp.BareJID serviceJid) throws RepositoryException
RepositoryExceptiontigase.xmpp.BareJID[] getUserRoster(tigase.xmpp.BareJID owner)
throws RepositoryException
RepositoryExceptionvoid init()
throws RepositoryException
RepositoryExceptionvoid removeFromRootCollection(tigase.xmpp.BareJID serviceJid,
String nodeName)
throws RepositoryException
nodeName - RepositoryExceptionvoid update(tigase.xmpp.BareJID serviceJid,
String nodeName,
AbstractNodeConfig nodeConfig)
throws RepositoryException
nodeName - nodeConfig - RepositoryExceptionvoid update(tigase.xmpp.BareJID serviceJid,
String nodeName,
IAffiliations affiliations)
throws RepositoryException
nodeName - affiliations - RepositoryExceptionvoid writeItem(tigase.xmpp.BareJID serviceJid,
String nodeName,
long timeInMilis,
String id,
String publisher,
tigase.xml.Element item)
throws RepositoryException
nodeName - timeInMilis - id - publisher - item - RepositoryExceptionCopyright © 2008–2014 Tigase. All rights reserved.