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 interface
IItems.IItem
static interface
IItems.IItemBase
static interface
IItems.IListnener
static class
IItems.Item
static class
IItems.ItemBase
static class
IItems.ItemMeta
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
deleteItem(java.lang.String id)
IItems.IItem
getItem(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.IItem
getLastItem(CollectionItemsOrdering order)
void
writeItem(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.RepositoryException
PubSubException
-
-