Interface IItems

  • All Known Implementing Classes:
    Items

    public interface IItems
    • 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