|
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.dkAbstractPrivilegeGroup
This class defines methods to access privilege information
Fields inherited from interface com.ibm.mm.sdk.common.DKMessageId |
For details, see the class or interface |
Constructor Summary | |
dkAbstractPrivilegeGroup()
Constructs a new dkAbstractPrivilegeGroup class without owner datastore object. |
|
dkAbstractPrivilegeGroup(dkDatastore ds)
Constructs a new dkAbstractPrivilegeGroup class with owner datastore object |
Method Summary | |
void |
addPrivilege(dkPrivilege privObj)
Adds the given privilege object to the group (memory-only) |
void |
clearCache()
Clear privilege group cache |
dkDatastore |
getDatastore()
Gets the reference to the owner datastore object |
java.lang.String |
getDescription()
gets the description of this privilege group |
java.lang.String |
getName()
Gets privilege group name |
java.lang.String[] |
listPrivilegeNames()
Gets a list of privilege names defined to the privilege group |
dkCollection |
listPrivileges()
Gets a list of privileges defined to the privilege group |
void |
removePrivilege(java.lang.String name)
Removes the given privilege from the group (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 privilege group |
void |
setName(java.lang.String name)
Sets privilege group name |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public dkAbstractPrivilegeGroup()
public dkAbstractPrivilegeGroup(dkDatastore ds)
ds
- reference to owner datastore objectMethod Detail |
public void setDatastore(dkDatastore ds)
setDatastore
in interface dkPrivilegeGroup
com.ibm.mm.sdk.common.dkPrivilegeGroup
ds
- datastorepublic dkDatastore getDatastore()
getDatastore
in interface dkPrivilegeGroup
public java.lang.String getName()
getName
in interface dkPrivilegeGroup
public void setName(java.lang.String name)
setName
in interface dkPrivilegeGroup
name
- new name to be set to this privilege grouppublic java.lang.String getDescription()
getDescription
in interface dkPrivilegeGroup
com.ibm.mm.sdk.common.dkPrivilegeGroup
public void setDescription(java.lang.String description)
setDescription
in interface dkPrivilegeGroup
com.ibm.mm.sdk.common.dkPrivilegeGroup
description
- privilege group descriptionpublic dkCollection listPrivileges() throws DKException, java.lang.Exception
Note:DKUsageError exception thrown if method is not implemented
listPrivileges
in interface dkPrivilegeGroup
public java.lang.String[] listPrivilegeNames() throws DKException, java.lang.Exception
Note:DKUsageError exception thrown if method is not implemented
listPrivilegeNames
in interface dkPrivilegeGroup
public void addPrivilege(dkPrivilege privObj) throws DKException, java.lang.Exception
Note:DKUsageError exception thrown if method is not implemented
addPrivilege
in interface dkPrivilegeGroup
privObj
- privilege object to be added to the grouppublic void removePrivilege(java.lang.String name) throws DKException, java.lang.Exception
Note:DKUsageError exception thrown if method is not implemented
removePrivilege
in interface dkPrivilegeGroup
name
- the privilege name to be removedpublic void clearCache() throws DKException, java.lang.Exception
Note:DKUsageError exception thrown if method is not implemented
clearCache
in interface dkPrivilegeGroup
|
EIP Java APIs | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |