Package tigase.pubsub.repository
Interface IItems
-
- All Known Implementing Classes:
Items
public interface IItems
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static interfaceIItems.IItemstatic interfaceIItems.IItemBasestatic interfaceIItems.IListnenerstatic classIItems.Itemstatic classIItems.ItemBasestatic classIItems.ItemMeta
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voiddeleteItem(java.lang.String id)IItems.IItemgetItem(java.lang.String id)java.lang.String[]getItemsIds(CollectionItemsOrdering order)java.lang.String[]getItemsIdsSince(CollectionItemsOrdering order, java.util.Date since)java.util.List<IItems.ItemMeta>getItemsMeta()IItems.IItemgetLastItem(CollectionItemsOrdering order)voidwriteItem(java.lang.String id, java.lang.String publisher, tigase.xml.Element item, java.lang.String uuid)
-
-
-
Method Detail
-
deleteItem
void deleteItem(java.lang.String id) throws tigase.component.exceptions.RepositoryException- Throws:
tigase.component.exceptions.RepositoryException
-
getItem
IItems.IItem getItem(java.lang.String id) throws tigase.component.exceptions.RepositoryException
- Throws:
tigase.component.exceptions.RepositoryException
-
getItemsIds
java.lang.String[] getItemsIds(CollectionItemsOrdering order) throws tigase.component.exceptions.RepositoryException
- Throws:
tigase.component.exceptions.RepositoryException
-
getItemsIdsSince
java.lang.String[] getItemsIdsSince(CollectionItemsOrdering order, java.util.Date since) throws tigase.component.exceptions.RepositoryException
- Throws:
tigase.component.exceptions.RepositoryException
-
getLastItem
IItems.IItem getLastItem(CollectionItemsOrdering order) throws tigase.component.exceptions.RepositoryException
- Throws:
tigase.component.exceptions.RepositoryException
-
getItemsMeta
java.util.List<IItems.ItemMeta> getItemsMeta() throws tigase.component.exceptions.RepositoryException
- Throws:
tigase.component.exceptions.RepositoryException
-
writeItem
void writeItem(java.lang.String id, java.lang.String publisher, tigase.xml.Element item, java.lang.String uuid) throws tigase.component.exceptions.RepositoryException, PubSubException- Throws:
tigase.component.exceptions.RepositoryExceptionPubSubException
-
-