|
Enterprise Information Portal APIs |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--com.ibm.mm.sdk.common.DKACLData
This class represents access list data.
Fields inherited from interface com.ibm.mm.sdk.common.DKConstant |
For details, see the class or interface |
Fields inherited from interface com.ibm.mm.sdk.common.DKMessageId |
For details, see the class or interface |
Constructor Summary | |
DKACLData()
Constructs and initializes a rule of an access control list. |
|
DKACLData(dkPrivilegeSet privSet,
java.lang.String usrGrpName,
short usrGrpType)
Constructs new DKACLData object with privilege set and user/user group name |
Method Summary | |
short |
getPatronType()
Gets the patron type associated with this object |
dkPrivilegeSet |
getPrivilegeSet()
Gets the privilege set associated with this object |
java.lang.String |
getPrivilegeSetName()
Gets the name of the privilege set associated with this object |
java.lang.String |
getUserGroupName()
Gets the user or group name associated with this object |
boolean |
isGroup()
Gets the patron type associated with this object. |
boolean |
isUser()
Gets the patron type associated with this object. |
void |
setPatronType(short type)
Sets the patron type of this pbject |
void |
setPrivilegeSet(dkPrivilegeSet privSet)
Sets the privilege set for this object |
void |
setUserGroupName(java.lang.String usrGrpName)
Sets the user or group name for this object |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public DKACLData()
This class represents a rule in an access control list in the Library Server.
DKACLData aclData = new DKACLData();
public DKACLData(dkPrivilegeSet privSet, java.lang.String usrGrpName, short usrGrpType)
privSet
- a dkPrivilegeSet objectusrGrpName
- name of user or user groupusrGrpType
- either DK_CM_USER_KIND_USER or DK_CM_USER_KIND_GROUP
or DK_CM_USER_KIND_PUBLICMethod Detail |
public void setPrivilegeSet(dkPrivilegeSet privSet)
privSet
- a dkPrivilegeSet objectpublic dkPrivilegeSet getPrivilegeSet()
public java.lang.String getPrivilegeSetName()
public void setUserGroupName(java.lang.String usrGrpName)
usrGrpName
- name of user or user grouppublic java.lang.String getUserGroupName()
public short getPatronType()
public void setPatronType(short type)
type
- either DK_CM_USER_KIND_USER or DK_CM_USER_KIND_GROUP or DK_CM_USER_KIND_PUBLICpublic boolean isUser()
public boolean isGroup()
|
EIP Java APIs | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |