Package tigase.http.modules.rest
Class ApiKeyItem
java.lang.Object
tigase.db.comp.RepositoryItemAbstract
tigase.http.modules.rest.ApiKeyItem
- All Implemented Interfaces:
tigase.db.comp.RepositoryItem
public class ApiKeyItem
extends tigase.db.comp.RepositoryItemAbstract
-
Field Summary
Fields inherited from class tigase.db.comp.RepositoryItemAbstract
ADMINS_ATT, ADMINS_LABEL, OWNER_ATT, OWNER_LABEL -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidaddCommandFields(tigase.server.Packet packet) getKey()voidinitFromCommand(tigase.server.Packet packet) voidinitFromElement(tigase.xml.Element elem) voidinitFromPropertyString(String propString) booleanbooleanprotected voidtigase.xml.ElementMethods inherited from class tigase.db.comp.RepositoryItemAbstract
getAdmins, getOwner, isAdmin, isOwner, setAdmins, setOwner
-
Constructor Details
-
ApiKeyItem
public ApiKeyItem()
-
-
Method Details
-
getElemName
- Specified by:
getElemNamein classtigase.db.comp.RepositoryItemAbstract
-
setKey
- Specified by:
setKeyin classtigase.db.comp.RepositoryItemAbstract
-
getKey
-
addCommandFields
public void addCommandFields(tigase.server.Packet packet) - Specified by:
addCommandFieldsin interfacetigase.db.comp.RepositoryItem- Overrides:
addCommandFieldsin classtigase.db.comp.RepositoryItemAbstract
-
initFromCommand
public void initFromCommand(tigase.server.Packet packet) - Specified by:
initFromCommandin interfacetigase.db.comp.RepositoryItem- Overrides:
initFromCommandin classtigase.db.comp.RepositoryItemAbstract
-
initFromElement
public void initFromElement(tigase.xml.Element elem) - Specified by:
initFromElementin interfacetigase.db.comp.RepositoryItem- Overrides:
initFromElementin classtigase.db.comp.RepositoryItemAbstract
-
initFromPropertyString
-
toElement
public tigase.xml.Element toElement()- Specified by:
toElementin interfacetigase.db.comp.RepositoryItem- Overrides:
toElementin classtigase.db.comp.RepositoryItemAbstract
-
toPropertyString
-
isAllowed
-
isAllowed
-