Class Items<T>

java.lang.Object
tigase.pubsub.repository.cached.Items<T>
All Implemented Interfaces:
IItems

public class Items<T> extends Object implements IItems
  • Constructor Details

  • Method Details

    • deleteItem

      public void deleteItem(String id) throws tigase.component.exceptions.RepositoryException
      Specified by:
      deleteItem in interface IItems
      Throws:
      tigase.component.exceptions.RepositoryException
    • getItem

      public IItems.IItem getItem(String id) throws tigase.component.exceptions.RepositoryException
      Specified by:
      getItem in interface IItems
      Throws:
      tigase.component.exceptions.RepositoryException
    • getItemsIds

      public String[] getItemsIds(CollectionItemsOrdering order) throws tigase.component.exceptions.RepositoryException
      Specified by:
      getItemsIds in interface IItems
      Throws:
      tigase.component.exceptions.RepositoryException
    • getItemsIdsSince

      public String[] getItemsIdsSince(CollectionItemsOrdering order, Date since) throws tigase.component.exceptions.RepositoryException
      Specified by:
      getItemsIdsSince in interface IItems
      Throws:
      tigase.component.exceptions.RepositoryException
    • getItemsMeta

      public List<IItems.ItemMeta> getItemsMeta() throws tigase.component.exceptions.RepositoryException
      Specified by:
      getItemsMeta in interface IItems
      Throws:
      tigase.component.exceptions.RepositoryException
    • getLastItem

      public IItems.IItem getLastItem(CollectionItemsOrdering order) throws tigase.component.exceptions.RepositoryException
      Specified by:
      getLastItem in interface IItems
      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 interface IItems
      Throws:
      tigase.component.exceptions.RepositoryException
      PubSubException