Package tigase.pubsub.repository
Interface IItems
-
public interface IItems
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static classIItems.ItemMeta
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voiddeleteItem(String id)tigase.xml.ElementgetItem(String id)DategetItemCreationDate(String id)String[]getItemsIds()String[]getItemsIdsSince(Date since)List<IItems.ItemMeta>getItemsMeta()DategetItemUpdateDate(String id)voidwriteItem(long timeInMilis, String id, String publisher, tigase.xml.Element item)
-
-
-
Method Detail
-
deleteItem
void deleteItem(String id) throws tigase.component.exceptions.RepositoryException
- Throws:
tigase.component.exceptions.RepositoryException
-
getItem
tigase.xml.Element getItem(String id) throws tigase.component.exceptions.RepositoryException
- Throws:
tigase.component.exceptions.RepositoryException
-
getItemCreationDate
Date getItemCreationDate(String id) throws tigase.component.exceptions.RepositoryException
- Throws:
tigase.component.exceptions.RepositoryException
-
getItemsIds
String[] getItemsIds() throws tigase.component.exceptions.RepositoryException
- Throws:
tigase.component.exceptions.RepositoryException
-
getItemsIdsSince
String[] getItemsIdsSince(Date since) throws tigase.component.exceptions.RepositoryException
- Throws:
tigase.component.exceptions.RepositoryException
-
getItemsMeta
List<IItems.ItemMeta> getItemsMeta() throws tigase.component.exceptions.RepositoryException
- Throws:
tigase.component.exceptions.RepositoryException
-
getItemUpdateDate
Date getItemUpdateDate(String id) throws tigase.component.exceptions.RepositoryException
- Throws:
tigase.component.exceptions.RepositoryException
-
-