Class ApiKeyItem

  • All Implemented Interfaces:
    tigase.db.comp.RepositoryItem

    public class ApiKeyItem
    extends tigase.db.comp.RepositoryItemAbstract
    • Constructor Detail

      • ApiKeyItem

        public ApiKeyItem()
    • Method Detail

      • getElemName

        public String getElemName()
        Specified by:
        getElemName in class tigase.db.comp.RepositoryItemAbstract
      • setKey

        protected void setKey​(String key)
        Specified by:
        setKey in class tigase.db.comp.RepositoryItemAbstract
      • getKey

        public String getKey()
      • addCommandFields

        public void addCommandFields​(tigase.server.Packet packet)
        Specified by:
        addCommandFields in interface tigase.db.comp.RepositoryItem
        Overrides:
        addCommandFields in class tigase.db.comp.RepositoryItemAbstract
      • initFromCommand

        public void initFromCommand​(tigase.server.Packet packet)
        Specified by:
        initFromCommand in interface tigase.db.comp.RepositoryItem
        Overrides:
        initFromCommand in class tigase.db.comp.RepositoryItemAbstract
      • initFromElement

        public void initFromElement​(tigase.xml.Element elem)
        Specified by:
        initFromElement in interface tigase.db.comp.RepositoryItem
        Overrides:
        initFromElement in class tigase.db.comp.RepositoryItemAbstract
      • initFromPropertyString

        public void initFromPropertyString​(String propString)
      • toElement

        public tigase.xml.Element toElement()
        Specified by:
        toElement in interface tigase.db.comp.RepositoryItem
        Overrides:
        toElement in class tigase.db.comp.RepositoryItemAbstract
      • toPropertyString

        public String toPropertyString()
      • isAllowed

        public boolean isAllowed​(String key,
                                 String path)