|
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.dkAbstractAccessControlList
This class defines methods to access user information
Fields inherited from interface com.ibm.mm.sdk.common.DKMessageId |
For details, see the class or interface |
Constructor Summary | |
dkAbstractAccessControlList()
Constructs a new dkAbstractAccessControlList class without owner datastore object. |
|
dkAbstractAccessControlList(dkDatastore ds)
Constructs a new dkAbstractAccessControlList class with owner datastore object |
Method Summary | |
void |
addACLData(DKACLData acc_data)
Adds a new pair of privilege set and user/group to this access control list. |
void |
clearCache()
Clear datastore cache |
dkDatastore |
getDatastore()
Gets the reference to the owner datastore object |
java.lang.String |
getDescription()
gets the description of this access control list |
java.lang.String |
getName()
Gets User name |
dkCollection |
listACLData()
List the access control list data from the persistent datastore |
java.lang.String[] |
listGroups()
List the user groups in this access control list (memory-only) |
java.lang.String[] |
listUsers()
List the userids in this access control list (memory-only) |
java.lang.String[] |
listUsrGrps()
List the users and groups in this access control list (memory-only) |
void |
removeACLData(DKACLData acc_data)
Removes a user or group from access control list (memory-only) |
void |
setDatastore(dkDatastore ds)
Sets the reference to the owner datastore object |
void |
setDescription(java.lang.String description)
sets the description of this access control list |
void |
setName(java.lang.String name)
Sets User name |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public dkAbstractAccessControlList()
public dkAbstractAccessControlList(dkDatastore ds)
ds
- reference to owner datastore objectMethod Detail |
public void setDatastore(dkDatastore ds)
setDatastore
in interface dkAccessControlList
com.ibm.mm.sdk.common.dkAccessControlList
ds
- datastorepublic dkDatastore getDatastore()
getDatastore
in interface dkAccessControlList
public java.lang.String getName()
getName
in interface dkAccessControlList
public void setName(java.lang.String name)
setName
in interface dkAccessControlList
name
- new name to be set to this User objectpublic java.lang.String getDescription()
getDescription
in interface dkAccessControlList
com.ibm.mm.sdk.common.dkAccessControlList
public void setDescription(java.lang.String description)
setDescription
in interface dkAccessControlList
com.ibm.mm.sdk.common.dkAccessControlList
name
- access control list descriptionpublic dkCollection listACLData() throws DKException, java.lang.Exception
Note:DKUsageError exception thrown if method is not implemented
listACLData
in interface dkAccessControlList
public java.lang.String[] listUsrGrps() throws DKException, java.lang.Exception
Note:DKUsageError exception thrown if method is not implemented
listUsrGrps
in interface dkAccessControlList
DKException
- when error occurs in the serverpublic java.lang.String[] listUsers() throws DKException, java.lang.Exception
Note:DKUsageError exception thrown if method is not implemented
listUsers
in interface dkAccessControlList
DKException
- when error occurs in the serverpublic java.lang.String[] listGroups() throws DKException, java.lang.Exception
Note:DKUsageError exception thrown if method is not implemented
listGroups
in interface dkAccessControlList
DKException
- when error occurs in the serverpublic void addACLData(DKACLData acc_data) throws DKException, java.lang.Exception
Note:DKUsageError exception thrown if method is not implemented
addACLData
in interface dkAccessControlList
acc_data
- a DKACLData objectpublic void removeACLData(DKACLData acc_data) throws DKException, java.lang.Exception
Note:DKUsageError exception thrown if method is not implemented
removeACLData
in interface dkAccessControlList
acl_data
- DKACLData object to be removedpublic void clearCache() throws DKException, java.lang.Exception
Note:DKUsageError exception thrown if method is not implemented
clearCache
in interface dkAccessControlList
|
EIP Java APIs | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |