PubSubDAOMongo¶
-
public class
PubSubDAOMongo
extends PubSubDAO<ObjectId, MongoDataSource, tigase.pubsub.modules.mam.ExtendedQueryImpl> implements MongoRepositoryVersionAware¶ Author: andrzej
Fields¶
Methods¶
addMAMItem¶
createNode¶
getItems¶
-
public List<IItems.IItem>
getItems
(BareJID serviceJid, List<ObjectId> nodeIds, Date afterDate, Date beforeDate, RSM rsm, CollectionItemsOrdering collectionItemsOrdering)¶
getItemsIds¶
getItemsIdsSince¶
getItemsMeta¶
getNodeAffiliations¶
-
public Map<BareJID, UsersAffiliation>
getNodeAffiliations
(BareJID serviceJid, ObjectId nodeId)¶
getNodeSubscriptions¶
-
public Map<BareJID, UsersSubscription>
getNodeSubscriptions
(BareJID serviceJid, ObjectId nodeId)¶
getUserAffiliations¶
getUserSubscriptions¶
queryItems¶
-
public void
queryItems
(ExtendedQueryImpl query, ObjectId nodeId, MAMRepository.ItemHandler<ExtendedQueryImpl, IPubSubRepository.Item> itemHandler)¶
readAllValuesForField¶
readAllValuesForField¶
removeNodeSubscription¶
-
public void
removeNodeSubscription
(BareJID serviceJid, ObjectId nodeId, BareJID jid)¶
setDataSource¶
-
public void
setDataSource
(MongoDataSource dataSource)¶