|
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 | +--com.ibm.mm.sdk.common.DKPrivilegeSetFed
Fields inherited from interface com.ibm.mm.sdk.common.DKMessageId |
For details, see the class or interface |
Constructor Summary | |
DKPrivilegeSetFed()
Constructor - with blank name |
|
DKPrivilegeSetFed(dkDatastore ds)
Constructor - create a new privilege set with a given name and description |
|
DKPrivilegeSetFed(dkDatastore ds,
java.lang.String name,
java.lang.String description)
Constructor - create a new privilege set with a given name and description |
|
DKPrivilegeSetFed(DKPid fromPid)
Deprecated. no meaning |
|
DKPrivilegeSetFed(java.lang.String pidID)
Constructs a data object with given Pid. |
Method Summary | |
void |
add()
Deprecated. |
void |
addPrivilege(dkPrivilege privObj)
Adds a new privilege to this privilege set (memory-only) |
void |
addPrivilegeGroup(dkPrivilegeGroup privGroupObj)
Adds the given privilege group object to this privilege set (memory-only) |
void |
checkin()
Deprecated. no meaning |
void |
checkout()
Deprecated. no meaning |
void |
clearCache()
Clear privilege set cache |
void |
del()
Deprecated. |
dkCollection |
getAdminDomains()
Gets the collection of domains that this privilege set belongs to |
java.lang.String |
getCheckedOutUserid()
Deprecated. no meaning |
long |
getID()
Gets privilege set id |
java.lang.String |
getObjectType()
Deprecated. no meaning |
DKPid |
getPid()
Deprecated. no meaning |
DKCommonPrivilege |
getPrivilege()
Deprecated. |
boolean |
isRetrieved()
Checks to see if the privileges have been retrieved |
java.lang.String[] |
listPrivilegeNames()
Gets a list of privilege names from persistent datastore |
dkCollection |
listPrivileges()
Gets a list of privileges in this privilege set (persistent) |
void |
removePrivilege(long priv_id)
removes a privilege from this privilege set (memory-only) |
void |
removePrivilege(java.lang.String priv_name)
Removes a privilege from this privilege set (memory-only) |
void |
retrieve()
Deprecated. |
void |
setAdminDomains(dkCollection collDomain)
Sets domains that this privilege set belongs to |
void |
setID(long id)
Sets privilege set id |
void |
setObjectType(java.lang.String toObjectType)
Deprecated. no meaning |
void |
setPid(DKPid fromPid)
Deprecated. no meaning |
void |
setPrivilege(DKCommonPrivilege cmnPriv)
Deprecated. |
void |
setRetrieved(boolean isRetrieved)
Sets whether the privileges has been retrieved |
void |
unlockCheckedOut()
Deprecated. no meaning |
void |
update()
Deprecated. |
Methods inherited from class com.ibm.mm.sdk.common.dkAbstractPrivilegeSet |
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 DKPrivilegeSetFed()
public DKPrivilegeSetFed(DKPid fromPid) throws java.lang.Exception
fromPid
- pid.public DKPrivilegeSetFed(java.lang.String pidID) throws java.lang.Exception
pidID
- persistent id of this objectpublic DKPrivilegeSetFed(dkDatastore ds)
ds
- dkDatastorepublic DKPrivilegeSetFed(dkDatastore ds, java.lang.String name, java.lang.String description)
name
- String - name of the privilege setdescription
- String - description of the privilege setMethod Detail |
public void setID(long id)
id
- new id to be set to this privilege set objectpublic long getID()
public void setAdminDomains(dkCollection collDomain)
collDomain
- a collection of DKAdminDomainDefFed this privilege set object belongs topublic dkCollection getAdminDomains()
public boolean isRetrieved()
public void setRetrieved(boolean isRetrieved)
isRetrieved
- true if already retrieved, false otherwisepublic dkCollection listPrivileges() throws DKException, java.lang.Exception
listPrivileges
in class dkAbstractPrivilegeSet
DKException
- when error occurs in the serverpublic java.lang.String[] listPrivilegeNames() throws DKException, java.lang.Exception
listPrivilegeNames
in class dkAbstractPrivilegeSet
DKException
- if error occurspublic void addPrivilege(dkPrivilege privObj) throws DKAlreadyExistException, DKException, java.lang.Exception
addPrivilege
in class dkAbstractPrivilegeSet
priv
- a DKPrivilegeFed objectpublic void removePrivilege(java.lang.String priv_name) throws DKNotExistException, DKException
removePrivilege
in class dkAbstractPrivilegeSet
priv_name
- name of the privilege to be deletedpublic void removePrivilege(long priv_id) throws DKNotExistException, DKException
priv_id
- id of the privilege to be removedpublic void addPrivilegeGroup(dkPrivilegeGroup privGroupObj) throws DKException, java.lang.Exception
addPrivilegeGroup
in class dkAbstractPrivilegeSet
privGroupObj
- privilege group object to be added.DKException
- if errorpublic void clearCache() throws DKException, java.lang.Exception
clearCache
in class dkAbstractPrivilegeSet
public void retrieve() throws DKException, java.lang.Exception
public void add() throws DKAlreadyExistException, DKException, java.lang.Exception
public void update() throws DKNotCheckedOutException, DKException, java.lang.Exception
public void del() throws DKNotExistException, DKException, java.lang.Exception
public void checkin() throws DKNotCheckedOutException, DKException, java.lang.Exception
DKNotCheckedOutException
- if this item is not currently checked outpublic void checkout() throws DKAlreadyCheckedOutException, DKException, java.lang.Exception
DKAlreadyCheckedOutException
- if this item is currently checked out
by another user.public void unlockCheckedOut() throws DKNotCheckedOutException, DKException, java.lang.Exception
DKNotCheckedOutException
- if this item is not currently checked outpublic java.lang.String getCheckedOutUserid() throws DKNotCheckedOutException, DKException, java.lang.Exception
DKNotCheckedOutException
- if this item is not currently checked outpublic DKCommonPrivilege getPrivilege() throws java.lang.Exception
public void setPrivilege(DKCommonPrivilege cmnPriv) throws java.lang.Exception
cmnPriv
- new privilegepublic java.lang.String getObjectType() throws java.lang.Exception
public void setObjectType(java.lang.String toObjectType) throws java.lang.Exception
toObjectType
- the object type.public DKPid getPid() throws java.lang.Exception
public void setPid(DKPid fromPid) throws DKException
fromPid
- pidDKException
- If provided pid is null
|
EIP Java APIs | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |