Index

DKStorageManageInfoICM

Purpose:

DKStorageManageInfoICM class is used to define the system managed storage information associated with a resource in ICM datastore.

See Also: dkStorageManageInfo

Since: Version 8

Class summary:

class DKEXPORT DKStorageManageInfoICM : public dkStorageManageInfo
{
public :
    DKStorageManageInfoICM();
    DKStorageManageInfoICM (const DKStorageManageInfoICM& sourceSMSDL);
    virtual ~DKStorageManageInfoICM();
 
    DKString getCollectionName();
    DKString getExpirationDate();
    DKString getManagementClass();
    DKString getStorageClass();
    DKString getStoreSite();
    DKString getName();
    void setExpirationDate(const char* expirationTime);
    void setCollectionName(const char* aCollectionName);
    void setManagementClass(const char* aMgtClass);
    void setStorageClass(const char* aStgClass);
    void setStoreSite(const char* aStoreSite);
    void setName(const char* aStoreSite);
};

Members:

Constructors and destructor
DKStorageManageInfoICM()

Default constructor. Constructs a new DKStorageManageInfoICM object and initialize the name of this extension to "DKStorageManageInfoICM".

DKStorageManageInfoICM (const DKStorageManageInfoICM& sourceSMSDL)

Copy constructor to construct a DKStorageManageInfoICM object. The extension name is not copied and it is set to "DKStorageManageInfoICM".

Parameters: sourceSMSDL - a source DKStorageManageInfoICM object whose copy is made

virtual ~DKStorageManageInfoICM()

Destructor for this object.

Member functions

getCollectionName
Gets the user-defined SMS collection name where the resource is stored.

Returns: the SMS collection name

DKString getCollectionName();

getExpirationDate
Gets the expiration date that the ICM system expires the resource in system managed storage.

Returns: the retention days

DKString getExpirationDate();

getStoreSite
Gets the name of the resource manager in which a resource is stored.

Returns: the resource manager name

DKString getStoreSite();

getManagementClass
Gets the name of the management class of the resource.

Returns: the management class name

DKString getManagementClass();

getStorageClass
Gets the name of the storage class on which the resource is stored.

Returns: the storage class name

DKString getStorageClass();

getName
Gets the name of this extension object.

Returns: name of this object

DKString getName();

setCollectionName
Sets the name of the user-defined SMS collection where the resource is stored. The SMS collection name can be up to 44 characters. Note: the SMS collection should be defined and valid on the resource manager.

Parameters:aCollectionName - a user-defined SMS collection name name of this object

void setCollectionName(const char* aCollectionName);

setExpirationDate
Sets the date until which the ICM datastore retains the resource in the resource manager.

Parameters:expirationDate - expiration date after which the the resource expires

void setExpirationDate(const char* expirationDate);

setManagementClass
Sets the name of the SMS management class for the resource.The name must be valid on the resource manager server where the resource is stored.By default the ICM datastore will use the first storage class in the SMS collection. The value of <management class>/<storage class> is set by the system using this method. The user is not allowed to change this value.

Parameters:aMgtClass A management class name.

void setManagementClass(const char* aMgtClass);

setStorageClass
Sets the name of the storage class on which the resource is stored. The name must be valid on the resource manager where the resource is stored. By default the ICM datastore will use the first storage class in the SMS collection. The value of <management class>/<storage class> is set by the system using this method. The user is not allowed to change this value.

Parameters:aStgClass - a storage class name. The storage class name can be up to 32 characters

void setStorageClass(const char* aStgClass);

setStoreSite
Sets the name of the resource manager in which an resource is stored. After a resource is stored in the resource manager, you can not move it to another resource manager using this function.

Parameters:aStoreSite - name of the resource manager where the resource is stored. This string can be up to 128 characters

void setStoreSite(const char* aStoreSite);

setName
Sets the name of this extension object.

Parameters:extName - name of this extension object

void setName(const char* extName);

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