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
-
Method Summary
Modifier and TypeMethodDescriptionvoid
addCommandFields
(tigase.server.Packet packet) getKey()
void
initFromCommand
(tigase.server.Packet packet) void
initFromElement
(tigase.xml.Element elem) void
initFromPropertyString
(String propString) boolean
boolean
protected void
tigase.xml.Element
Methods inherited from class tigase.db.comp.RepositoryItemAbstract
getAdmins, getOwner, isAdmin, isOwner, setAdmins, setOwner
-
Constructor Details
-
ApiKeyItem
public ApiKeyItem()
-
-
Method Details
-
getElemName
- Specified by:
getElemName
in classtigase.db.comp.RepositoryItemAbstract
-
setKey
- Specified by:
setKey
in classtigase.db.comp.RepositoryItemAbstract
-
getKey
-
addCommandFields
public void addCommandFields(tigase.server.Packet packet) - Specified by:
addCommandFields
in interfacetigase.db.comp.RepositoryItem
- Overrides:
addCommandFields
in classtigase.db.comp.RepositoryItemAbstract
-
initFromCommand
public void initFromCommand(tigase.server.Packet packet) - Specified by:
initFromCommand
in interfacetigase.db.comp.RepositoryItem
- Overrides:
initFromCommand
in classtigase.db.comp.RepositoryItemAbstract
-
initFromElement
public void initFromElement(tigase.xml.Element elem) - Specified by:
initFromElement
in interfacetigase.db.comp.RepositoryItem
- Overrides:
initFromElement
in classtigase.db.comp.RepositoryItemAbstract
-
initFromPropertyString
-
toElement
public tigase.xml.Element toElement()- Specified by:
toElement
in interfacetigase.db.comp.RepositoryItem
- Overrides:
toElement
in classtigase.db.comp.RepositoryItemAbstract
-
toPropertyString
-
isAllowed
-
isAllowed
-