|
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.DKAccessControlV4
DKAccessControlV4 : This class represents and processes the datastore access control functions.
Fields inherited from interface com.ibm.mm.sdk.common.DKConstantV4 |
For details, see the class or interface |
Fields inherited from interface com.ibm.mm.sdk.common.DKConstant |
For details, see the class or interface |
Fields inherited from interface com.ibm.mm.sdk.common.DKMessageIdV4 |
copyright, DK_V4_MSG_MSGID_NOT_FOUND |
Fields inherited from interface com.ibm.mm.sdk.common.DKMessageId |
For details, see the class or interface |
Constructor Summary | |
DKAccessControlV4(dkDatastore ds)
Constructs the access control and initializes it with the datastore. |
Method Summary | |
void |
addAccessControlList(java.lang.String acl_name,
java.lang.String description,
dkCollection access_data)
Adds an access control list in V4 - not supported by this datastore type |
void |
deleteAccessControlList(java.lang.String acl_name)
Deletes an access control list from V4 - not supported by this datastore type |
dkDatastore |
getDatastore()
Gets the reference to the owner datastore object |
java.lang.String |
getItemACL(java.lang.String itemID)
Gets the ACL of the specified item ID - not supported by this datastore type |
java.lang.String |
getName()
Gets the name of the access control - not supported by this datastore type |
boolean |
isAccessControlList(java.lang.String acl_name)
Determines if the specified name is an access control list - not supported by this datastore type |
boolean |
isAuthorized(java.lang.String privilege_string,
int authority)
Determines if the specified authority is granted for the given privilege string |
boolean |
isGroup(java.lang.String group_name)
Determines if the specified name is a group name - not supported by this datastore type |
boolean |
isPrivilege(java.lang.String privilege_name)
Determines if the specified name is a privilege name - not supported by this datastore type |
boolean |
isUser(java.lang.String user_name)
Determines if the specified name is a group name - not supported by this datastore type |
DKAccessControlListV4 |
listAccessControlList(java.lang.String acl_name)
Lists a DKAccessControlListV4 object based on the specified acl name - not supported by this datastore type |
dkCollection |
listAccessControlLists()
Lists all the access control lists in V4 - not supported by this datastore type |
dkCollection |
listGroups()
Lists all the groups in VI400 - not supported by this datastore type |
dkCollection |
listGroups(java.lang.String user_name)
Lists all the groups which a specified user is part of - not supported by this datastore type |
java.lang.String |
listPrivilege(java.lang.String user_name)
Lists all the privilege name of the specific user in VI400 - not supported by this datastore type |
dkCollection |
listPrivileges()
Lists all the privileges in V4 - not supported by this datastore type |
java.lang.String |
listPrivilegeString(java.lang.String privilege_name)
Lists the privilege bit string of the specified privilege - not supported by this datastore typ |
dkCollection |
listUsers()
Lists all the users in V4 - not supported by this datastore type |
dkCollection |
listUsers(java.lang.String group_name)
Lists all the users in a specified group - not supported by this datastore type |
void |
setDatastore(dkDatastore ds)
Sets the reference to the owner datastore object |
void |
setItemACL(java.lang.String itemID,
java.lang.String acl_name)
Sets the ACL of the specified item ID - not supported by this datastore type |
void |
setName(java.lang.String accessControlName)
Sets the name of the access control - not supported by this datastore type |
java.lang.String |
type()
Gets the type of the access control |
void |
updateAccessControlList(java.lang.String acl_name,
java.lang.String description,
dkCollection access_data)
Updates an access control list in V4 - not supported by this datastore type |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public DKAccessControlV4(dkDatastore ds) throws DKException
ds
- the dkDatastore objectMethod Detail |
public void setDatastore(dkDatastore ds) throws java.lang.Exception
setDatastore
in interface dkAccessControl
ds
- the dkDatastore objectpublic dkDatastore getDatastore() throws java.lang.Exception
getDatastore
in interface dkAccessControl
public java.lang.String type() throws java.lang.Exception
type
in interface dkAccessControl
public java.lang.String getName() throws java.lang.Exception
getName
in interface dkAccessControl
public void setName(java.lang.String accessControlName) throws java.lang.Exception
setName
in interface dkAccessControl
accessControlName
- the access control nameDKException
- alwayspublic void addAccessControlList(java.lang.String acl_name, java.lang.String description, dkCollection access_data) throws DKException, java.lang.Exception
addAccessControlList
in interface dkAccessControl
acl_name
- the name of a new access control listdescription
- the desctiption of a new access cntrol listaccess_data
- a collection of access dataDKException
- alwayspublic void updateAccessControlList(java.lang.String acl_name, java.lang.String description, dkCollection access_data) throws DKException, java.lang.Exception
updateAccessControlList
in interface dkAccessControl
acl_name
- the name of an existing access control listdescription
- the desctiption of an existing access cntrol listaccess_data
- a collection of access dataDKException
- alwayspublic void deleteAccessControlList(java.lang.String acl_name) throws DKException, java.lang.Exception
deleteAccessControlList
in interface dkAccessControl
acl_name
- the name of an existing access control listDKException
- alwayspublic dkCollection listAccessControlLists() throws DKException, java.lang.Exception
listAccessControlLists
in interface dkAccessControl
public DKAccessControlListV4 listAccessControlList(java.lang.String acl_name) throws DKException, java.lang.Exception
acl_name
- the name of an access control listpublic java.lang.String getItemACL(java.lang.String itemID) throws DKException, java.lang.Exception
itemID
- the name of an item IDpublic void setItemACL(java.lang.String itemID, java.lang.String acl_name) throws DKException, java.lang.Exception
itemID
- the name of an item IDacl_name
- the name of an access control listDKException
- alwayspublic dkCollection listPrivileges() throws DKException, java.lang.Exception
listPrivileges
in interface dkAccessControl
public java.lang.String listPrivilege(java.lang.String user_name) throws DKException, java.lang.Exception
public dkCollection listUsers() throws DKException, java.lang.Exception
listUsers
in interface dkAccessControl
public dkCollection listUsers(java.lang.String group_name) throws DKException, java.lang.Exception
public dkCollection listGroups() throws DKException, java.lang.Exception
listGroups
in interface dkAccessControl
public dkCollection listGroups(java.lang.String user_name) throws DKException, java.lang.Exception
public boolean isAuthorized(java.lang.String privilege_string, int authority) throws DKException, java.lang.Exception
public boolean isAccessControlList(java.lang.String acl_name) throws DKException, java.lang.Exception
public boolean isPrivilege(java.lang.String privilege_name) throws DKException, java.lang.Exception
public boolean isUser(java.lang.String user_name) throws DKException, java.lang.Exception
public boolean isGroup(java.lang.String group_name) throws DKException, java.lang.Exception
public java.lang.String listPrivilegeString(java.lang.String privilege_name) throws DKException, java.lang.Exception
listPrivilegeString
in interface dkAccessControl
|
EIP Java APIs | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |