Index
Purpose:
The DKAccessControlListDL class is an object-oriented representation of an
access control list in earlier Content Manager. It provides get and set
functions, as well as add, update, del, and retrieve functions.
Class summary:
class DKAccessControlListDL
{
public:
DKAccessControlListDL(DKAccessControlDL * ac, const char * name);
DKAccessControlListDL(DKAccessControlDL * ac);
~DKAccessControlListDL();
void setName(const char * name);
void setDescription(const char * description);
void setAccessData(dkCollection * access_data);
DKString getName();
DKString getDescription();
dkCollection * getAccessData();
void retrieve();
void add();
void update();
void del();
};
Members:
-
-
- Constructors and destructor
- The first constructor with one parameter is used to retrieve an existng
access control list in the memory. The second constructor without a
parameter is used to create a new access control list in the memory.
DKAccessControlListDL(const char * name);
DKAccessControlListDL();
~DKAccessControlListDL();
- Member functions
-
- setName
- Sets the name of the access control list.
void setName(const char * name);
- setDescription
- Sets the description of the access control list.
void setDescription(const char * description);
- setAccessData
- Sets the access data for the access control list.
access_data is a collection of DKAccessDataDL objects.
void setAccessData(dkCollection * access_data);
- getName
- Returns the name of the access control list.
DKString getName();
- getDescription
- Returns the description of the access control list.
DKString getDescription();
- getAccessData
- Returns a collection of DKAccessDataDL objects containing the access data
of the access control list.
dkCollection * getAccessData();
- retrieve
- Retrieves the access control list from the persistent storage to main
memory. Make sure that the name of the access control list is
valid.
void retrieve();
- add
- Adds the access control list into the persistent storage.
void add();
- update
- Updates the access control list in the persistent storage. Make
sure that retrieve() has been called.
void update();
- del
- Deletes the access control list from the persistent storage. Make
sure that retrieve() has been called.
void del();
(c) Copyright International Business Machines Corporation 1996, 2003. IBM Corp. All rights reserved.