Purpose:
This class provides a set of functions for the WorkFlow feature in Content Manager datastore. This class allows the creation, revision, and deletion of a DXWorkFlowDL object.
Methods:
init(LPDISPATCH ws)
You must call this method after the creation of a DXWorkFlowServiceDL object in order to associate that object with a DXDatastoreDL object.
LPDISPATCH listItemIDs()
Returns a collection of String objects that represent the item IDs of the documents or folders in the workflow.
LPDISPATCH listWorkManagementInfos()
Returns a collection of DXWorkManagementInfoDL objects representing the documents or folders in the workflow. For detailed information about the DXWorkManagementInfoDL class, please refer to ***.
LPDISPATCH listWorkBasketIDs()
Returns a collection of String objects; these objects contain the item IDs of the workbaskets in the workflow.
LPDISPATCH listWorkBaskets()
Returns a collection of DXWorkBasketDL objects that represent the workbaskets in the workflow.
BSTR getID()
BSTR getName()
BSTR getAccessList()
long getHistoryDisposition()
Returns the disposition of the history log. The valid values are:
long getItemCount()
long getWorkBasketCount()
LPDISPATCH getWorkBasketSequence()
Returns the ordered collection of DXWorkBasketSequenceDL objects containing the item ID of workbaskets in the workflow. The returned LPDISPATCH pointer contains a DXWorkBasketSequenceDL object.
BSTR getPrivilegeString()
Returns the privilege string of the user with respect to the workflow.
setID(LPCTSTR itemIDWF)
setName(LPCTSTR workflow_name)
setAccessList(LPCTSTR access_list)
setHistoryDisposition(long history_disposition)
Sets the disposition of the history log. The valid values are:
setWorkBasketSequence(LPDISPATCH workbasket_sequence)
Sets the sequence of workbaskets in a workflow. The parameter workbasket_sequence is an ordered collection of DXWorkBasketSequenceDL objects containing the item ID of the workbasket.
add()
Adds the workflow into the system. The item ID of the workflow must be empty.
update()
Updates the workflow in the system. The retrieve() method must be called in conjunction with this method.
del()
Deletes the workflow from the system. The retrieve() method must be called in conjunction with this method.
retrieve()
Retrieves the workflow from the system and places it in the system memory cache. The item ID of the workflow must be valid before you can use this method.
(c) Copyright International Business Machines Corporation 1996, 2002. IBM Corp. All rights reserved.