|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.tivoli.twg.engine.TWGConObject
com.tivoli.twg.engine.TWGConUser
Console shadow object for TWGUser
Field Summary |
---|
Fields inherited from class com.tivoli.twg.engine.TWGConObject |
---|
INVALID_OBJECT_ID |
Constructor Summary | |
---|---|
TWGConUser(long obj_id)
Constructor for TWGConUser with given object ID |
Method Summary | |
---|---|
static boolean |
currentHasPrivilege(java.lang.String priv_id)
Test if current user has requested privilege |
static TWGConUser |
getCurrent()
Get current user |
java.lang.String |
getDescription()
Get description string |
java.lang.String |
getEMail()
Get user e-mail |
java.lang.String |
getFullName()
Get full user name |
LongValueSet |
getGroupAccessList()
Get group access list |
java.lang.String |
getName()
Get account name |
java.lang.String |
getPager()
Get pager data |
StringValueSet |
getPrivs()
Get privilege token set for user |
LongValueSet |
getTaskAccessList()
Get task access list |
boolean |
hasPrivilege(java.lang.String priv_id)
Test if user has given privilege |
boolean |
isGroupLimited()
Is user limited to a specific set of groups |
boolean |
isReadOnlyGroupAccess()
Is user limited to read-only access to groups |
boolean |
isTaskLimited()
Is user limited to a specific set of tasks |
java.lang.String |
toString()
Generate string representation of object |
void |
UpdateUsingShadowRecord(byte[] buf,
int rec_off,
int rec_len)
Update object using shadow record created by the the engine object which is matched with this class. |
Methods inherited from class com.tivoli.twg.engine.TWGConObject |
---|
AllObjects, AllObjects, Delete, DeleteObjects, DeregisterListener, FindObject, getBaseClassName, LookUpShadowClass, ObjectID, ProcessUpdateRequest, RegisterListener, SetObjectID |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
public TWGConUser(long obj_id) throws DuplicateObjectIDException
obj_id
- - object ID of console object
DuplicateObjectIDException
- if ID is duplicate of
existing object IDMethod Detail |
public void UpdateUsingShadowRecord(byte[] buf, int rec_off, int rec_len)
UpdateUsingShadowRecord
in class TWGConObject
buf
- - byte array containing opaque representation of
shadowed attributesrec_off
- - offset of shadow record in byte arrayrec_len
- - length of shadow record in byte arraypublic java.lang.String toString()
toString
in class TWGConObject
public java.lang.String getName()
public java.lang.String getFullName()
public java.lang.String getEMail()
public java.lang.String getPager()
public java.lang.String getDescription()
public StringValueSet getPrivs()
public LongValueSet getTaskAccessList()
public LongValueSet getGroupAccessList()
public boolean isGroupLimited()
public boolean isTaskLimited()
public boolean isReadOnlyGroupAccess()
public boolean hasPrivilege(java.lang.String priv_id)
priv_id
- - privilege ID to test for
public static TWGConUser getCurrent()
public static boolean currentHasPrivilege(java.lang.String priv_id)
priv_id
- - privilege ID to test for
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |