Purpose:
A component type view is a view used to control access to component types and their contained attributes. Component type views maintain the parent-child hierarchy like the component types on which they are based. Component type views are owned by an item type view that controls access to them. The DKComponentTypeViewDefICM class is used to represent component type views in Content Manager. It defines methods for accessing component type view information. Multiple views can be defined on the same component type. A user cannot delete the view that has the same ID as the component type (i.e. the base view).
See Also: DKComponentTypeDefICM, DKItemTypeViewDefICM
Since: Version 8
Class summary:
class DKEXPORT DKComponentTypeViewDefICM : public DKComponentTypeDefICM { public: DKComponentTypeViewDefICM(); DKComponentTypeViewDefICM(dkDatastore* ds); DKComponentTypeViewDefICM(const DKComponentTypeViewDefICM& cpView); virtual ~DKComponentTypeViewDefICM(); virtual long getIntId(); virtual void setIntId(long compViewId); virtual long getComponentViewId(); virtual long getItemTypeViewId(); virtual void setParent(dkEntityDef* parent); virtual dkEntityDef* retrieveParent(); short getSegmentId(); void setSegmentId(short segmentId); DKString getAccessModuleName(); short getAccessModuleStatus(); long getAccessModuleResult(); short getAccessModuleVers(); DKString getPrevAccessModule(); DKTimestamp getCreatedTimestamp(); dkEntityDef* createSubEntity(); virtual void add(); virtual void del(); virtual void update(); virtual dkEntityDef* clone(); DKBoolean hasSubEntityViews(); };
Members:
DKComponentTypeViewDefICM();
Default constructor for the component type view object. Constructs the definition of the component type view.
DKComponentTypeViewDefICM(dkDatastore* ds);
Constructs the definition of the component type view definition object for the given ICM datastore . Parameters: ds - the ICM datastore as an instance of DKDatastoreICM.
DKComponentTypeViewDefICM(const DKComponentTypeViewDefICM& cpView);
Copy constructor for the component type view object. Creates a component type view definition object using the component type view object in the input parameter as a template. Parameters: cpView - component type view to be used as a template for creating the new instance.
virtual ~DKComponentTypeViewDefICM();
Destructor for this object.
virtual long getIntID();
virtual void setIntID(long compViewId);
virtual long getComponentViewId();
virtual void setComponentViewId(long compViewId);
virtual long getItemTypeViewId();
virtual void setParent(dkEntityDef* parent)
virtual dkEntityDef* retrieveParent();
short getSegmentId();
void setSegmentId short segmentId);
The status value is the return code from the access module generation process.
DKString getAccessModuleName();
long getAccessModuleResult();
short getAccessModuleVers();
DKString getPrevAccessModule();
DKTimestamp* getCreatedTimestamp();
void setParent(dkEntityDef* parent);
virtual dkEntityDef* createSubEntity();
virtual void add();
virtual void del();
virtual void update();
virtual dkEntityDef* clone();
DKBoolean hasSubEntityViews();
(c) Copyright International Business Machines Corporation 1996, 2003. IBM Corp. All rights reserved.