Class Items<T>

  • All Implemented Interfaces:
    IItems

    public class Items<T>
    extends java.lang.Object
    implements IItems
    • Constructor Detail

      • Items

        public Items​(T nodeId,
                     tigase.xmpp.jid.BareJID serviceJid,
                     java.lang.String nodeName,
                     IPubSubDAO dao,
                     IItems.IListnener listnener)
    • Method Detail

      • deleteItem

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

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

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

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

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

        public void writeItem​(java.lang.String id,
                              java.lang.String publisher,
                              tigase.xml.Element item,
                              java.lang.String uuid)
                       throws tigase.component.exceptions.RepositoryException,
                              PubSubException
        Specified by:
        writeItem in interface IItems
        Throws:
        tigase.component.exceptions.RepositoryException
        PubSubException