Index

dkPrivilege

Purpose:

The dkPrivilege provides a generic interface to represent a privilege object functions. It must be subclassed for each datastore implementation, for example:

 DKPrivilegeICM and so forth. 

Class summary:

class DKEXPORT dkPrivilege
 {
   public:
     dkPrivilege();
     virtual ~dkPrivilege();
     virtual dkDatastore* getDatastore();
     virtual void setDatastore(dkDatastore* ds);
     virtual DKString  getName();
     virtual void setName(const char* name);
     virtual DKString  getDescription();
     virtual void setDescription(const char* description);
 };

Members:

Constructors and destructor
dkPrivilege()
virtual ~dkPrivilege(); 

Member functions

setDatastore
Sets the datastore.
virtual void setDatastore(dkDatastore* ds);

getDatastore
Gets the datastore.
virtual dkDatastore* getDatastore(); 

get
Gets the name of this privilege.
virtual DKString  getName(); 

setName
Sets the name for this privilege.
virtual void setName(const char* name); 

getDescription
Gets the description of this privilege.
virtual DKString getDescription(); 

setDescription
Sets the description of this privilege
virtual void setDescription(const char* description);

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