|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objecttigase.db.comp.RepositoryItemAbstract
public abstract class RepositoryItemAbstract
Created: Sep 23, 2010 6:53:14 PM
| Field Summary | |
|---|---|
static String |
ADMINS_ATT
Field description |
static String |
ADMINS_LABEL
Field description |
static String |
OWNER_ATT
Field description |
static String |
OWNER_LABEL
Field description |
| Constructor Summary | |
|---|---|
RepositoryItemAbstract()
|
|
| Method Summary | |
|---|---|
void |
addCommandFields(Packet packet)
Method description |
String[] |
getAdmins()
Method description |
abstract String |
getElemName()
Method description |
String |
getOwner()
Method description |
void |
initFromCommand(Packet packet)
Method description |
void |
initFromElement(tigase.xml.Element elem)
Method description |
boolean |
isAdmin(String id)
Method description |
boolean |
isOwner(String id)
Method description |
void |
setAdmins(String[] admins)
Method description |
void |
setOwner(String owner)
Method description |
tigase.xml.Element |
toElement()
Method description |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface tigase.db.comp.RepositoryItem |
|---|
getKey, initFromPropertyString, toPropertyString |
| Field Detail |
|---|
public static final String OWNER_LABEL
public static final String OWNER_ATT
public static final String ADMINS_LABEL
public static final String ADMINS_ATT
| Constructor Detail |
|---|
public RepositoryItemAbstract()
| Method Detail |
|---|
public abstract String getElemName()
public void addCommandFields(Packet packet)
addCommandFields in interface RepositoryItempacket - public String[] getAdmins()
getAdmins in interface RepositoryItempublic String getOwner()
getOwner in interface RepositoryItempublic void initFromCommand(Packet packet)
initFromCommand in interface RepositoryItempacket - public void initFromElement(tigase.xml.Element elem)
initFromElement in interface RepositoryItemelem - public boolean isAdmin(String id)
isAdmin in interface RepositoryItemid -
public boolean isOwner(String id)
isOwner in interface RepositoryItemid -
public void setAdmins(String[] admins)
setAdmins in interface RepositoryItemadmins - public void setOwner(String owner)
setOwner in interface RepositoryItemowner - public tigase.xml.Element toElement()
toElement in interface RepositoryItem
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||