Package tigase.pubsub.repository.cached
Class Items<T>
java.lang.Object
tigase.pubsub.repository.cached.Items<T>
- All Implemented Interfaces:
IItems
-
Nested Class Summary
Nested classes/interfaces inherited from interface tigase.pubsub.repository.IItems
IItems.IItem, IItems.IItemBase, IItems.IListnener, IItems.Item, IItems.ItemBase, IItems.ItemMeta
-
Constructor Summary
ConstructorDescriptionItems
(T nodeId, tigase.xmpp.jid.BareJID serviceJid, String nodeName, IPubSubDAO dao, IItems.IListnener listnener) -
Method Summary
Modifier and TypeMethodDescriptionvoid
deleteItem
(String id) String[]
String[]
getItemsIdsSince
(CollectionItemsOrdering order, Date since) void
-
Constructor Details
-
Items
public Items(T nodeId, tigase.xmpp.jid.BareJID serviceJid, String nodeName, IPubSubDAO dao, IItems.IListnener listnener)
-
-
Method Details
-
deleteItem
- Specified by:
deleteItem
in interfaceIItems
- Throws:
tigase.component.exceptions.RepositoryException
-
getItem
-
getItemsIds
public String[] getItemsIds(CollectionItemsOrdering order) throws tigase.component.exceptions.RepositoryException - Specified by:
getItemsIds
in interfaceIItems
- Throws:
tigase.component.exceptions.RepositoryException
-
getItemsIdsSince
public String[] getItemsIdsSince(CollectionItemsOrdering order, Date since) throws tigase.component.exceptions.RepositoryException - Specified by:
getItemsIdsSince
in interfaceIItems
- Throws:
tigase.component.exceptions.RepositoryException
-
getItemsMeta
- Specified by:
getItemsMeta
in interfaceIItems
- Throws:
tigase.component.exceptions.RepositoryException
-
getLastItem
public IItems.IItem getLastItem(CollectionItemsOrdering order) throws tigase.component.exceptions.RepositoryException - Specified by:
getLastItem
in interfaceIItems
- Throws:
tigase.component.exceptions.RepositoryException
-
writeItem
public void writeItem(String id, String publisher, tigase.xml.Element item, String uuid) throws tigase.component.exceptions.RepositoryException, PubSubException - Specified by:
writeItem
in interfaceIItems
- Throws:
tigase.component.exceptions.RepositoryException
PubSubException
-