Enterprise Information Portal APIs

com.ibm.mm.sdk.common
Interface dkAccessControl

All Known Implementing Classes:
DKAccessControlDD, DKAccessControlDL, DKAccessControlIP, DKAccessControlOD, DKAccessControlV4

Deprecated. Replaced by dkAuthorizationMgmt

public interface dkAccessControl

dkAccessControl : This class represents and processes datastore access control functions.


Method Summary
 void addAccessControlList(java.lang.String acl_name, java.lang.String description, dkCollection access_data)
          Deprecated. Adds an access control list
 void deleteAccessControlList(java.lang.String acl_name)
          Deprecated. Deletes an access control list
 dkDatastore getDatastore()
          Deprecated. Gets the reference to the owner datastore object
 java.lang.String getName()
          Deprecated. Gets name of the access control
 dkCollection listAccessControlLists()
          Deprecated. Lists all the access control lists
 dkCollection listGroups()
          Deprecated. Lists all the groups
 dkCollection listPrivileges()
          Deprecated. Lists all the privileges
 java.lang.String listPrivilegeString(java.lang.String privilege_name)
          Deprecated. Lists the privilege bit string of the specified privilege
 dkCollection listUsers()
          Deprecated. Lists all the users
 void setDatastore(dkDatastore ds)
          Deprecated. Sets the reference to the owner datastore object
 void setName(java.lang.String access_control_name)
          Deprecated. Sets name of the access control
 java.lang.String type()
          Deprecated. Gets type of the access control
 void updateAccessControlList(java.lang.String acl_name, java.lang.String description, dkCollection access_data)
          Deprecated. Updates an access control list
 

Method Detail

setDatastore

public void setDatastore(dkDatastore ds)
                  throws java.lang.Exception
Deprecated. 
Sets the reference to the owner datastore object

getDatastore

public dkDatastore getDatastore()
                         throws java.lang.Exception
Deprecated. 
Gets the reference to the owner datastore object
Returns:
the dkDatastore object

type

public java.lang.String type()
                      throws java.lang.Exception
Deprecated. 
Gets type of the access control
Returns:
access control type

getName

public java.lang.String getName()
                         throws java.lang.Exception
Deprecated. 
Gets name of the access control
Returns:
access control name

setName

public void setName(java.lang.String access_control_name)
             throws java.lang.Exception
Deprecated. 
Sets name of the access control
Parameters:
access_control_name - access control name

addAccessControlList

public void addAccessControlList(java.lang.String acl_name,
                                 java.lang.String description,
                                 dkCollection access_data)
                          throws DKException,
                                 java.lang.Exception
Deprecated. 
Adds an access control list
Parameters:
acl_name - the name of a new access control list
description - the desctiption of a new access cntrol list
access_data - a collection of access data

updateAccessControlList

public void updateAccessControlList(java.lang.String acl_name,
                                    java.lang.String description,
                                    dkCollection access_data)
                             throws DKException,
                                    java.lang.Exception
Deprecated. 
Updates an access control list
Parameters:
acl_name - the name of an existing access control list
description - the desctiption of an existing access cntrol list
access_data - a collection of access data

deleteAccessControlList

public void deleteAccessControlList(java.lang.String acl_name)
                             throws DKException,
                                    java.lang.Exception
Deprecated. 
Deletes an access control list
Parameters:
acl_name - the name of an existing access control list

listAccessControlLists

public dkCollection listAccessControlLists()
                                    throws DKException,
                                           java.lang.Exception
Deprecated. 
Lists all the access control lists
Returns:
a collection of access control list names

listPrivileges

public dkCollection listPrivileges()
                            throws DKException,
                                   java.lang.Exception
Deprecated. 
Lists all the privileges
Returns:
a collection of privilege names

listUsers

public dkCollection listUsers()
                       throws DKException,
                              java.lang.Exception
Deprecated. 
Lists all the users
Returns:
a collection of user names

listGroups

public dkCollection listGroups()
                        throws DKException,
                               java.lang.Exception
Deprecated. 
Lists all the groups
Returns:
a collection of group names

listPrivilegeString

public java.lang.String listPrivilegeString(java.lang.String privilege_name)
                                     throws DKException,
                                            java.lang.Exception
Deprecated. 
Lists the privilege bit string of the specified privilege
Returns:
a privilege bit string

EIP Java APIs

(c) Copyright International Business Machines Corporation 1996, 2002. IBM Corp. All rights reserved.