Index

DKWorkManagementInfoDL

Purpose:

The DKWorkManagementInfoDL class contains work management information for Content Manager.

Class summary:

class DKWorkManagementInfoDL
{
  public:
   DKWorkManagementInfoDL(const char * itemID,
                          long suspension_status, 
                          long workflow_status, 
                          long release_type, 
                          long priority,
                          const char * wfID,
                          const char * wbID,
                          const char * wf_entry,
                          const char * wb_entry);
   ~DKWorkManagementInfoDL();
 
   DKString getItemID();
   long getSuspensionStatus();
   long getWorkFlowStatus();
   long getReleaseType();
   long getPriority();
   DKString getWorkFlowID();
   DKString getWorkBasketID();
   DKTimestamp getWFEntry();
   DKTimestamp getWBEntry();
};

Members:

Constructors and destructor
Constructs a work management information object for DL.
   DKWorkManagementInfoDL(const char * itemID,
                          long suspension_status, 
                          long workflow_status, 
                          long release_type, 
                          long priority,
                          const char * wfID,
                          const char * wbID,
                          const char * wf_entry,
                          const char * wb_entry);                                                  
   ~DKWorkManagementInfoDL();
 

Member functions

getItemID
Returns a DKString containing the item ID.
     dkString getItemID();
 

getSuspensionStatus
Returns a long integer indicating the current suspension status. The valid values are:

DK_DL_ITEMS_SUSPENDED
the item is suspended.

DK_DL_ITEMS_NOT_SUSPENDED
the item is not suspended.

     long getSuspensionStatus();
 

getWorkFlowStatus
Returns a long integer indicating the current workflow status. The valid values are:

DK_DL_ITEMS_NOT_IN_WORKFLOW
the item is not in a workflow.

DK_DL_CURRENT_WORKFLOW_ITEMS
the item is in a workflow.

DK_DL_COMPLETED_WORKFLOW_ITEMS
the item has completed its workflow and the item's history has been archived.

DK_DL_CANCELLED_WORKFLOW_ITEMS
the item has been removed from a workflow.

DK_DL_FINISHED_WORKFLOW_ITEMS
the item has completed its workflow but the item's history has not been archived.

     long getWorkFlowStatus();
 

getReleaseType
Returns a long integer indicating the type of criteria that must be met before an item can be released from suspension. The valid release types are:

DK_DL_NO_CRITERIA
the item has been suspended indefinitely.

DK_DL_SUSP_TIME_ONLY
the item is suspended until a preset time.

DK_DL_SUSP_ANY_CLASS (valid for folder items only)
the folder item is suspended until the inclusion of an item of every type of the awaited classes, or until the arrival of a preset time.

DK_DL_SUSP_ALL_CLASS (valid for folder items only)
the folder item is suspended until the inclusion of an item of any one of the awaited classes, or until the arrival of a preset time.

DK_DL_NOT_SUSPENDED
the item is not suspended.

     long getReleaseType();
 

getPriority
Returns a long integer indicating the current priority of the item within the workbasket.
     long getPriority();
 

getWorkFlowID
Returns a DKString containing the workflow ID to which this item is assigned (if such an ID exists).
     dkString getWorkFlowID();
 

getWorkBasketID
Returns a DKString containing the workbasket ID.
     dkString getWorkBasketID();
 

getWFEntry
Returns a DKTimestamp containing the date and time when this item entered the listed workflow.
     dkTimestamp getWFEntry();
 

getWBEntry
Returns a DKTimestamp containing the date and time with this item entered the listed workbasket.
     dkTimestamp getWBEntry();
 

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