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)java.lang.StringgetElemName()java.lang.StringgetKey()voidinitFromCommand(tigase.server.Packet packet)voidinitFromElement(tigase.xml.Element elem)voidinitFromPropertyString(java.lang.String propString)booleanisAllowed(java.lang.String key, java.lang.String path)booleanisAllowed(java.lang.String key, java.lang.String domain, java.lang.String path)protected voidsetKey(java.lang.String key)tigase.xml.ElementtoElement()java.lang.StringtoPropertyString()
-
-
-
Method Detail
-
getElemName
public java.lang.String getElemName()
- Specified by:
getElemNamein classtigase.db.comp.RepositoryItemAbstract
-
setKey
protected void setKey(java.lang.String key)
- Specified by:
setKeyin classtigase.db.comp.RepositoryItemAbstract
-
getKey
public java.lang.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(java.lang.String propString)
-
toElement
public tigase.xml.Element toElement()
- Specified by:
toElementin interfacetigase.db.comp.RepositoryItem- Overrides:
toElementin classtigase.db.comp.RepositoryItemAbstract
-
toPropertyString
public java.lang.String toPropertyString()
-
isAllowed
public boolean isAllowed(java.lang.String key, java.lang.String path)
-
isAllowed
public boolean isAllowed(java.lang.String key, java.lang.String domain, java.lang.String path)
-
-