|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.ObjectAbstractItemObj
SimpleNamedItem
DenyItem
An SSI item object representing a user who has been "blocked," or "denied."
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 | |
DenyItem(DenyItem other)
Creates a new blocked user item object with the same properties as the given deny item. |
|
DenyItem(SsiItem item)
Creates a new blocked user item object generated from the given SSI item. |
|
DenyItem(java.lang.String sn,
int id)
Creates a new blocked user item object representing the given user and with the given blocked user ID. |
|
DenyItem(java.lang.String sn,
int id,
TlvChain extraTlvs)
Creates a new blocked user item object representing the given user and with the given blocked user ID and with the given set of additional TLV's to store in this item. |
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 DenyItem(SsiItem item)
item
- a new deny item object generated from the data in the given
SSI itempublic DenyItem(DenyItem other)
other
- a deny item to copypublic DenyItem(java.lang.String sn, int id)
sn
- the screenname of the user to blockid
- a unique item ID for this deny itempublic DenyItem(java.lang.String sn, int id, TlvChain extraTlvs)
sn
- the screenname of the user to blockid
- a unique item ID for this deny itemextraTlvs
- a list of extra TLV's to store in this itemMethod Detail |
protected final 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 |