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

        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
      • writeItem

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