Interface IItems


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

        @Deprecated
        default String[] getItemsIds()
                              throws tigase.component.exceptions.RepositoryException
        Deprecated.
        Throws:
        tigase.component.exceptions.RepositoryException
      • getItemsIds

        String[] getItemsIds​(CollectionItemsOrdering order)
                      throws tigase.component.exceptions.RepositoryException
        Throws:
        tigase.component.exceptions.RepositoryException
      • getItemsIdsSince

        @Deprecated
        default String[] getItemsIdsSince​(Date since)
                                   throws tigase.component.exceptions.RepositoryException
        Deprecated.
        Throws:
        tigase.component.exceptions.RepositoryException
      • getItemsIdsSince

        String[] getItemsIdsSince​(CollectionItemsOrdering order,
                                  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
      • writeItem

        void writeItem​(long timeInMilis,
                       String id,
                       String publisher,
                       tigase.xml.Element item)
                throws tigase.component.exceptions.RepositoryException
        Throws:
        tigase.component.exceptions.RepositoryException