Index

DKAttrProfileDefDD

Purpose:

The DKAttrProfileDefDD class corresponds to a Domino.Doc IProfile object. The Domino.Doc administrator defines the profiles. Each document has a profile called document type. Through DKAttrProfileDefDD, you have access to:

Any method that Domino.Doc does not support in this release will throw a DKMSG_NOTIMP DKUsageError .

Class summary:

class DKAttrProfileDefDD : public DKAttrDefDD
{
  public:
    DKAttrProfileDefDD();
    DKAttrProfileDefDD(dkDatastore* ds);
    DKAttrProfileDefDD( dkDatastore* ds
                      , const char* parentCabinetName
                      , const char* profileName
                      , int libraryHandle );
    DKAttrProfileDefDD( DKAttrProfileDefDD* aKeyword );
    DKAttrProfileDefDD( DKAttrProfileDefDD& aKeyword );
 
    virtual  ~DKAttrProfileDefDD();
 
    DKAttrProfileDefDD& operator= ( DKAttrProfileDefDD* aProfile );
    DKAttrProfileDefDD& operator= ( DKAttrProfileDefDD& aProfile );
    void setHandle( void* libraryHandle );
    dkCollection* getFields();
    void setFields( const dkCollection* fields );
    DKString DKAttrProfileDefDD::getValue();
    DKString toString();
};

Members:

Constructors and destructor
Construct a Domino.Doc profile object.
    DKAttrProfileDefDD();
    DKAttrProfileDefDD(dkDatastore* ds);
    DKAttrProfileDefDD( dkDatastore* ds
                      , const char* parentCabinetName
                      , const char* profileName
                      , int libraryHandle );
    DKAttrProfileDefDD( DKAttrProfileDefDD* aKeyword );
    DKAttrProfileDefDD( DKAttrProfileDefDD& aKeyword );
 
    virtual  ~DKAttrProfileDefDD();
 

Member functions

operator=
Copies the input profile object to this object.
    DKAttrProfileDefDD& operator= ( DKAttrProfileDefDD* aProfile);
    DKAttrProfileDefDD& operator= ( DKAttrProfileDefDD& aProfile);
 

getFields
Returns collection of fields. The returned collection contains DKAny objects. Each DKAny has a value which is a DKAttrFieldDefDD*.
    dkCollection* getFields();
 

setFields
Sets fields. The input should be a collection of DKAttrProfileDefDD's contained in DKAny's.
    void setFields( const dkCollection* fields );
 

getValue
getValue is unnecessary because profiles are a container of attributes.
    DKString DKAttrProfileDefDD::getValue();
 

toString
Get a string representation of this class, suitable for debugging.
    DKString toString();
 

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