|
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 | +--com.ibm.mm.sdk.common.DKPrivilegeGroupFed
DKPrivilegeSetFed : This class represents a privilege set.
Fields inherited from interface com.ibm.mm.sdk.common.DKMessageId |
For details, see the class or interface |
Constructor Summary | |
DKPrivilegeGroupFed()
Default constructor Constructs the privilege group. |
|
DKPrivilegeGroupFed(dkDatastore ds)
Constructs the privilege set and initializes it with the datastore. |
Method Summary | |
void |
addPrivilege(dkPrivilege privObj)
Adds a new privilege to this privilege group (memory only) |
void |
clearCache()
Clear privilege group cache |
long |
getID()
Gets privilege group id |
java.util.Vector |
getPrivileges()
Gets privileges from this privilege group |
java.lang.String[] |
listPrivilegeNames()
Gets a list of privilege Group names defined to the privilege group from persistent datastore, if not cached |
dkCollection |
listPrivileges()
Gets a list of privileges in this privilege group from the persistent datastore |
void |
removePrivilege(long priv_id)
removes a privilege from this privilege group (memory-only) |
void |
removePrivilege(java.lang.String priv_name)
removes a privilege from this privilege group (memory-only) |
void |
setID(long id)
Sets privilege group id |
void |
setPrivileges(java.util.Vector v)
Sets privileges to this privilege group |
void |
setRetrieved(boolean isRetrieved)
Sets whether the privileges has been retrieved |
Methods inherited from class com.ibm.mm.sdk.common.dkAbstractPrivilegeGroup |
getDatastore, getDescription, getName, setDatastore, setDescription, setName |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public DKPrivilegeGroupFed()
public DKPrivilegeGroupFed(dkDatastore ds)
ds
- dkDatastore referencename
- name of access control listMethod Detail |
public void setID(long id)
id
- new id to be set to this privilege group objectpublic long getID()
public void setRetrieved(boolean isRetrieved)
isRetrieved
- true if already retrieved, false otherwisepublic void setPrivileges(java.util.Vector v) throws DKException, java.lang.Exception
v
- a vector containing DKPrivilegeFed objectpublic java.util.Vector getPrivileges()
v
- a vector containing DKPrivilegeFed objectpublic dkCollection listPrivileges() throws DKException, java.lang.Exception
listPrivileges
in class dkAbstractPrivilegeGroup
DKException
- when error occurs in the serverpublic java.lang.String[] listPrivilegeNames() throws DKException, java.lang.Exception
listPrivilegeNames
in class dkAbstractPrivilegeGroup
public void addPrivilege(dkPrivilege privObj) throws DKAlreadyExistException, DKException, java.lang.Exception
addPrivilege
in class dkAbstractPrivilegeGroup
priv
- a DKPrivilegeFed objectpublic void removePrivilege(java.lang.String priv_name) throws DKNotExistException, DKException
removePrivilege
in class dkAbstractPrivilegeGroup
priv_name
- name of the privilege to be removedpublic void removePrivilege(long priv_id) throws DKNotExistException, DKException
priv_id
- id of the privilege to be removedpublic void clearCache() throws DKException, java.lang.Exception
clearCache
in class dkAbstractPrivilegeGroup
|
EIP Java APIs | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |