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
-
-
Constructor Summary
Constructors Constructor Description ApiKeyItem()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaddCommandFields(tigase.server.Packet packet)StringgetElemName()StringgetKey()voidinitFromCommand(tigase.server.Packet packet)voidinitFromElement(tigase.xml.Element elem)voidinitFromPropertyString(String propString)booleanisAllowed(String key, String path)booleanisAllowed(String key, String domain, String path)protected voidsetKey(String key)tigase.xml.ElementtoElement()StringtoPropertyString()
-
-
-
Method Detail
-
getElemName
public String getElemName()
- Specified by:
getElemNamein classtigase.db.comp.RepositoryItemAbstract
-
setKey
protected void setKey(String key)
- Specified by:
setKeyin classtigase.db.comp.RepositoryItemAbstract
-
getKey
public String 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
public void initFromPropertyString(String propString)
-
toElement
public tigase.xml.Element toElement()
- Specified by:
toElementin interfacetigase.db.comp.RepositoryItem- Overrides:
toElementin classtigase.db.comp.RepositoryItemAbstract
-
toPropertyString
public String toPropertyString()
-
-