Index

DKAdminDomainDefICM

Purpose:

The DKAdminDomainDefICM class is the implementation of the abstract class dkAdminDomainDef. It represents an administrative domain object. An administrative domain object is created by calling one of its multiple constructors or by calling the createAdminDomain method on the DKAdminDomainsMgmtICM object. If the datastore with which this administrative domain shall be associated is known at the time of object creation, one of the constructors that takes a datastore parameter is used. Otherwise, the default constructor is used and the setDatastore method is called on the created admin domain object instance once the datastore instance has also been created.

See Also: DKAdminDomainsMgmtICM, dkAdminDomainDef

Since: Version 8

Class summary:

class DKEXPORT DKAdminDomainDefICM : public dkAdminDomainDef
 {
 public:
		     DKAdminDomainDefICM();
     DKAdminDomainDefICM(dkDatastore* ds);
     virtual ~DKAdminDomainDefICM();
 
     virtual DKString* getUserNames(long& arraySize);
     virtual void setUserNames(const char** names, long arraySize);
     virtual DKString* getUserGroupNames(long& arraySize);
     virtual void setUserGroupNames(const char** names, long arraySize);
     virtual DKString* getPrivSetNames(long& arraySize);
     virtual void setPrivSetNames(const char** privSetNames,long num);
     virtual DKString* getACLNames(long& arraySize);
     virtual void setACLNames(const char** ACLNames,long nameCount);
     virtual DKString* getResourceMgrNames(long& arraySize);
     virtual void setResourceMgrNames(const char** names,long arrSize);
     virtual DKString* getSMSCollectionNames(long& arraySize);
     virtual void setSMSCollectionNames(const char** names,long arrSize);
};

Members:

Constructors and destructor
DKAdminDomainDefICM(); Default constructor. Creates an admin domain that is not associated with any datastore instance currently.DKAdminDomainDefICM(dkDatastore* ds); Constructor that takes a datastore instance as a parameter. The returned admin domain instance is associated with the datastore instance. Equivalent to calling the default constructor followed by the setDatastore method on the created object. Parameters: ds - valid instance of a datastore object. Should be an instance of DKDatastoreICM.virtual ~DKAdminDomainDefICM();

Member functions

getACLNames
Retrieves a list of names for all the access control lists associated with this admin domain from the persistent datastore. Parameters: arraySize- number of ACL names returned to the user. Returns: List of ACL names as DKString variables.

See Also: DKAccessControlListICM

DKString* getACLNames(long& arraySize)

getPrivSetNames
Retrieves a list of names for all the privilege sets associated with this admin domain from the persistent datastore. Parameters: arraySize - number of privilege set names returned to the user. Returns: List of privilege set names as DKString variables.

See Also: DKPrivilegeSetICM

DKString* getPrivSetNames(long& arraySize)

getResourceMgrNames
Retrieves a list of names for all the resource managers associated with this admin domain from the persistent datastore. Parameters: arraySize - number of resource manager names being returned. Returns: A list of resource manager names as DKString variables.

See Also: DKResourceManagerDefICM

DKString* getResourceMgrNames(long& arraySize)

getSMSCollectionNames
Retrieves a list of names for all the SMS collections associated with this admin domain from the persistent datastore. Parameters: arraySize - number of names returned to the user. Returns: A list of SMS collection names as DKString variables.

See Also: DKSMSCollectionDefICM

DKString* getSMSCollectionNames(long& arraySize)

getUserGroupNames
Retrieves a list of names for user groups associated with this admin domain from the persistent datastore. Parameters: arraySize - number of user group names being returned. Returns: A list of user group names as DKString variables.

See Also: DKUserGroupDefICM

DKString* getUserGroupNames(long& arraySize)

getUserNames
Retrieves a list of names for all the users associated with this admin domain from the persistent datastore. Parameters: arraySize - number of names returned to the user Returns: A list of user names as DKString variable instances. See Also: DKUserDefICM
DKString* getUserNames(long& arraySize)

setACLNames
Adds a list of ACL names to the in-memory (cached) representation of this admin domain. Parameters:
  • ACLNames - array of ACL names to be added.
  • nameCount - number of new ACL names being added

See Also: DKAccessControlListICM

void setACLNames(const char** names, long arraySize)

setPrivSetNames
Adds a list of privilege set names to the in-memory (cached) representation of this admin domain. Parameters:
  • names - array of privilege set names to be added to the admin domain.
  • arraySize - number of new privilege set names being added.

See Also: DKPrivilegeSetICM

void setPrivSetNames(const char** names, long arraySize)

setResourceMgrNames
Adds a list of resource manager names to the in-memory (cached) representation of this admin domain. Parameters:
  • names - list of resource manager names to be added.
  • arraySize - number of resource manager names being returned.

See Also: DKResourceManagerDefICM

void setResourceMgrNames(const char** names, long arraySize)

setSMSCollectionNames
Adds a list of SMS collection names to the in-memory (cached) representation of this admin domain. Parameters:
  • names - list of SMS collection names to be added.
  • num - number of SMS collection names to be added.

See Also: DKSMSCollectionDefICM

void setSMSCollectionNames(const char** names, long num)

setUserGroupNames
Adds a list of user group names to the in-memory (cached) representation of this admin domain. Parameters:
  • names - list of names for user groups to be associated with this admin domain.
  • num - number of names being added.

See Also: DKUserGroupDefICM

void setUserGroupNames(const char** names, long num)

setUserNames
Adds a list of user names to the in-memory (cached) representation of this admin domain. Parameters:
  • names - list of user names to be added.
  • num - number of user names to be added.

See Also: DKUserDefICM

void setUserNames(const char** names, long num)

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