|
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.dkAbstractPrivilegeSet
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 | |
dkAbstractPrivilegeSet()
Constructs a new dkAbstractPrivilegeSet class without owner datastore object. |
|
dkAbstractPrivilegeSet(dkDatastore ds)
Constructs a new dkAbstractPrivilegeSet class with owner datastore object |
Method Summary | |
void |
addPrivilege(dkPrivilege privObj)
Adds the given privilege object (memory-only) |
void |
addPrivilegeGroup(dkPrivilegeGroup privGroupObj)
Adds the given privilege group object (memory-only) |
void |
clearCache()
Clear privilege set cache |
dkDatastore |
getDatastore()
Gets the reference to the owner datastore object |
java.lang.String |
getDescription()
gets the description of this action list |
java.lang.String |
getName()
Gets User name |
java.lang.String[] |
listPrivilegeNames()
Gets a list of privilege names from persistent datastore |
dkCollection |
listPrivileges()
Gets a list of privileges from persistent datastore |
void |
removePrivilege(java.lang.String privName)
Removes the given privilege object (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 action 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 dkAbstractPrivilegeSet()
public dkAbstractPrivilegeSet(dkDatastore ds)
ds
- reference to owner datastore objectMethod Detail |
public void setDatastore(dkDatastore ds)
setDatastore
in interface dkPrivilegeSet
com.ibm.mm.sdk.common.dkPrivilegeSet
ds
- datastorepublic dkDatastore getDatastore()
getDatastore
in interface dkPrivilegeSet
public java.lang.String getName()
getName
in interface dkPrivilegeSet
public void setName(java.lang.String name)
setName
in interface dkPrivilegeSet
name
- new name to be set to this User objectpublic java.lang.String getDescription()
getDescription
in interface dkPrivilegeSet
com.ibm.mm.sdk.common.dkPrivilegeSet
public void setDescription(java.lang.String description)
setDescription
in interface dkPrivilegeSet
com.ibm.mm.sdk.common.dkPrivilegeSet
description
- privilege set descriptionpublic dkCollection listPrivileges() throws DKException, java.lang.Exception
Note:DKUsageError exception thrown if method is not implemented
listPrivileges
in interface dkPrivilegeSet
DKException
- if error occurspublic java.lang.String[] listPrivilegeNames() throws DKException, java.lang.Exception
Note:DKUsageError exception thrown if method is not implemented
listPrivilegeNames
in interface dkPrivilegeSet
DKException
- if error occurspublic void addPrivilege(dkPrivilege privObj) throws DKException, java.lang.Exception
Note:DKUsageError exception thrown if method is not implemented
addPrivilege
in interface dkPrivilegeSet
privObj
- privilege object to be added.DKException
- if errorpublic void removePrivilege(java.lang.String privName) throws DKException, java.lang.Exception
Note:DKUsageError exception thrown if method is not implemented
removePrivilege
in interface dkPrivilegeSet
privName
- privilege object to be remove.DKException
- if errorpublic void addPrivilegeGroup(dkPrivilegeGroup privGroupObj) throws DKException, java.lang.Exception
Note:DKUsageError exception thrown if method is not implemented
addPrivilegeGroup
in interface dkPrivilegeSet
privGroupObj
- privilege group object to be added.DKException
- if errorpublic void clearCache() throws DKException, java.lang.Exception
Note:DKUsageError exception thrown if method is not implemented
clearCache
in interface dkPrivilegeSet
|
EIP Java APIs | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |