|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.ObjectAbstractItemObj
SimpleNamedItem
PermitItem
An SSI item object representing a user on one's "allow" (or "permit" list.
The allow list is an infrequently used privacy feature that allows one to
block everyone but those on this list.
Note that this class is only used to store data and that changes to this
object are not reflected on the server without sending the changes to the
server with a ModifyItemsCmd
.
Constructor Summary | |
PermitItem(PermitItem other)
Creates a new allowed user item object with the same properties as the given object. |
|
PermitItem(SsiItem item)
Creates a new allowed user item object generated from the data in the given SSI item. |
|
PermitItem(java.lang.String sn,
int id)
Creates a new allowed user item object for the given user and with the given permit item ID. |
|
PermitItem(java.lang.String sn,
int id,
TlvChain extraTlvs)
Creates a new allowed user item object for the given properties.. |
Method Summary | |
protected int |
getItemType()
Returns the SSI item type of this item. |
Methods inherited from class SimpleNamedItem |
getId, getScreenname, toSsiItem, toString |
Methods inherited from class AbstractItemObj |
addExtraTlvs, copyExtraTlvs, generateItem, generateSsiItems, getExtraTlvs |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
public PermitItem(SsiItem item)
item
- a "permit" SSI itempublic PermitItem(PermitItem other)
other
- a permit item object to copypublic PermitItem(java.lang.String sn, int id)
sn
- the screenname of the user being "allowed"id
- an ID number for this permit itempublic PermitItem(java.lang.String sn, int id, TlvChain extraTlvs)
sn
- the screenname of the user being "allowed"id
- an ID number for this permit itemextraTlvs
- a list of extra TLV's to store in this permit itemMethod Detail |
protected int getItemType()
SimpleNamedItem
SsiItem.TYPE_*
constants.
getItemType
in class SimpleNamedItem
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |