public interface IPubSubRepository
| 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 |
deleteNode(tigase.xmpp.BareJID serviceJid,
String nodeName)
Method description
|
void |
destroy()
Method description
|
void |
forgetConfiguration(tigase.xmpp.BareJID serviceJid,
String nodeName)
Method description
|
String[] |
getBuddyGroups(tigase.xmpp.BareJID owner,
tigase.xmpp.BareJID buddy)
Deprecated.
|
String |
getBuddySubscription(tigase.xmpp.BareJID owner,
tigase.xmpp.BareJID buddy)
Deprecated.
|
IAffiliations |
getNodeAffiliations(tigase.xmpp.BareJID serviceJid,
String nodeName)
Method description
|
AbstractNodeConfig |
getNodeConfig(tigase.xmpp.BareJID serviceJid,
String nodeName)
Method description
|
IItems |
getNodeItems(tigase.xmpp.BareJID serviceJid,
String nodeName)
Method description
|
ISubscriptions |
getNodeSubscriptions(tigase.xmpp.BareJID serviceJid,
String nodeName)
Method description
|
IPubSubDAO |
getPubSubDAO()
Method description
|
String[] |
getRootCollection(tigase.xmpp.BareJID serviceJid)
Method description
|
Map<tigase.xmpp.BareJID,tigase.xmpp.impl.roster.RosterElement> |
getUserRoster(tigase.xmpp.BareJID owner)
Method description
|
Map<String,UsersSubscription> |
getUserSubscriptions(tigase.xmpp.BareJID serviceJid,
tigase.xmpp.BareJID userJid) |
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 |
update(tigase.xmpp.BareJID serviceJid,
String nodeName,
ISubscriptions subscriptions)
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 deleteNode(tigase.xmpp.BareJID serviceJid,
String nodeName)
throws RepositoryException
nodeName - RepositoryExceptionvoid destroy()
void forgetConfiguration(tigase.xmpp.BareJID serviceJid,
String nodeName)
throws RepositoryException
nodeName - RepositoryException@Deprecated String[] getBuddyGroups(tigase.xmpp.BareJID owner, tigase.xmpp.BareJID buddy) throws RepositoryException
owner - bareJid - RepositoryException@Deprecated String getBuddySubscription(tigase.xmpp.BareJID owner, tigase.xmpp.BareJID buddy) throws RepositoryException
owner - buddy - RepositoryExceptionIAffiliations getNodeAffiliations(tigase.xmpp.BareJID serviceJid, String nodeName) throws RepositoryException
nodeName - RepositoryExceptionAbstractNodeConfig getNodeConfig(tigase.xmpp.BareJID serviceJid, String nodeName) throws RepositoryException
nodeName - RepositoryExceptionIItems getNodeItems(tigase.xmpp.BareJID serviceJid, String nodeName) throws RepositoryException
nodeName - RepositoryExceptionISubscriptions getNodeSubscriptions(tigase.xmpp.BareJID serviceJid, String nodeName) throws RepositoryException
nodeName - RepositoryExceptionIPubSubDAO getPubSubDAO()
String[] getRootCollection(tigase.xmpp.BareJID serviceJid) throws RepositoryException
RepositoryExceptionMap<tigase.xmpp.BareJID,tigase.xmpp.impl.roster.RosterElement> getUserRoster(tigase.xmpp.BareJID owner) throws RepositoryException
owner - RepositoryExceptionMap<String,UsersSubscription> getUserSubscriptions(tigase.xmpp.BareJID serviceJid, tigase.xmpp.BareJID userJid) throws RepositoryException
RepositoryExceptionvoid init()
void 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 update(tigase.xmpp.BareJID serviceJid,
String nodeName,
ISubscriptions subscriptions)
throws RepositoryException
nodeName - subscriptions - RepositoryExceptionCopyright © 2008–2015 Tigase. All rights reserved.