Index
Purpose:
This class contains the information necessary to support the system-managed
storage (SMS) for an object on a variety of object servers in earlier Content
Manager.
Heirarchy:
dkExtension
dkStorageManageInfo
DKStorageManageInfoDL
Class summary:
class DKStorageManageInfoDL: public dkStorageManageInfo
{
public:
DKStorageManageInfoDL();
DKStorageManageInfoDL(const DKStorageManageInfoDL& aDKStorageManageInfoDL);
virtual ~DKStorageManageInfoDL();
DKStorageManageInfoDL& operator= (DKStorageManageInfoDL&
aDKStorageManageInfoDL);
DKBoolean operator==(const DKStorageManageInfoDL&
aDKStorageManageInfoDL) const;
void setRetention(const long aRetention);
long getRetention() const;
void setCollectionName(const char* aCollectionName);
DKString getCollectionName() const;
void setManagementClass(const char* aMgtClass);
DKString getManagementClass() const;
void setStorageClass(const char* aStgClass);
DKString getStorageClass() const;
void setStoreSite(const char* aStoreSite);
DKString getStoreSite() const;
}
Members:
-
-
- Constructors and destructor
- Constructs a new DKStorageManageInfoDL object. Copy constructor to
construct a DKStorageManageInfoDL object.
DKStorageManageInfoDL();
DKStorageManageInfoDL(const DKStorageManageInfoDL&
aDKStorageManageInfoDL);
virtual ~DKStorageManageInfoDL();
- Member functions
-
- operator=
- Assignment operator.
DKStorageManageInfoDL& operator= (DKStorageManageInfoDL&
aDKStorageManageInfoDL);
- operator==
- Use this function to compare the object to the given parameter
object; return TRUE if both objects have the same value for
each data member.
DKBoolean operator==(const DKStorageManageInfoDL&
aDKStorageManageInfoDL) const;
- setRetention
- Sets the period in days that the Content Manager system retains the object
in system-managed storage. The valid values range from 1 to
999999999. The default value is 30.
void setRetention(const long aRetention);
- getRetention
- Sets the ASCIIZ user-defined collection name. This character string
provides a meaningful name for the collection already been created. It
can be up to 44 characters. The name must be valid on the object server
where you store the object.
long getRetention() const;
- getCollectionName
- Get the ASCIIZ collection name of this object.
DKString getCollectionName() const;
- setCollectionName
- Sets the ASCIIZ user-defined collection name. This character string
provides a meaningful name for the collection already been created. It
can be up to 44 characters. The name must be valid on the object server
where you store the object.
void setCollectionName(const char* aCollectionName);
- setManagementClass
- Sets the name of the management class in which an object is stored.
The name must be valid on the object server where you store the object.
If this field contains the value NULL when the object is assigned, the Content
Manager system uses the default management class for the collection.
void setManagementClass(const char* aMgtClass);
- getManagementClass
- Get the name of the management class in which an object is stored.
If not specified the default value NULL will be passed to DL.
DKString getManagementClass() const;
- setStorageClass
- Sets the name of the storage class in which an object is stored.
The name must be valid on the object server where you store the object.
If this field contains the value NULL when the object is assigned, the Content
Manager system uses the default initial storage class name of the
collection.
void setStorageClass(const char* aStgClass);
- getStorageClass
- Get the name of the storage class in which an object is stored. If
not specified the default value NULL will be passed to DL.
DKString getStorageClass() const;
- setStoreSite
- Sets the name of the object server in which an object is stored.
After an object is stored in the object server, you can not move it to another
object server using this function.
void setStoreSite(const char* aStoreSite);
- getStoreSite
- Get the name of the object server in which the object is stored.
DKString getStoreSite() const;
(c) Copyright International Business Machines Corporation 1996, 2003. IBM Corp. All rights reserved.