|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface WorkItemCallback
This interface provides call back definition for work item. A WorkItemFlowHandler implementation must invoke appropriate callbacks with respect to events generated during work item flow life cycle Almost all call backs require unique identifier for work item. It is the responsibility of the WorkItemFlowHandler implementation, to make sure that work item id is gets associated with the work flow item instance. If it is not possible for WorkItemFlowHandler to associate work item id with work flow item instance id, then the implementation must query project management building block to retrieve the work item associated with instance id.
Method Summary | |
---|---|
void |
handleAssetUpdate(String workItemId,
com.adobe.livecycle.content.File content,
String version)
whenever an asset is updated during work item flow, this callback can be used. |
void |
handleScheduleChange(String workItemId,
Date endDate)
This call back is used whenever a deadline is extended for underlying work item flow. |
void |
handleStateChange(String workItemId,
String instanceId,
String state,
String status,
Map context)
Handles the work item flow completion. |
void |
handleStatusChange(String workItemId,
String status,
Map context)
Handles the status change of the work item flow. |
void |
handleTeamMemberAddition(String workItemId,
TeamMember member)
Any member or participant addition to work item flow is handled by this call back. |
void |
handleTeamMemberDeletion(String workItemId,
TeamMember member)
Any member or participant deletion to work item flow is handled by this call back. |
Method Detail |
---|
void handleStatusChange(String workItemId, String status, Map context) throws ProjectManagementException
workItemId
- unique identifier for work item. It is the responsibility of the
WorkItemFlowHandler implementation, to make sure that work item id is gets associated with the
work flow item instance.status
- Status of the work item flow. This can be any custom defined status, as defined by work item
flow implementationcontext
- any key value pair to pass additional information to callback handler, optional
ProjectManagementException
void handleTeamMemberAddition(String workItemId, TeamMember member) throws ProjectManagementException
workItemId
- unique identifier for work item.member
- member information
ProjectManagementException
void handleTeamMemberDeletion(String workItemId, TeamMember member) throws ProjectManagementException
workItemId
- unique identifier for work item.member
- member information
ProjectManagementException
void handleAssetUpdate(String workItemId, com.adobe.livecycle.content.File content, String version) throws ProjectManagementException
workItemId
- unique identifier for work item.content
- updated contentversion
- version of the content
ProjectManagementException
void handleStateChange(String workItemId, String instanceId, String state, String status, Map context) throws ProjectManagementException
workItemId
- unique identifier for work item.instanceId
- unique identifier for work flow instance, must be passed is current state is IN_PROGRESS.state
- Completion State of the work item flow, must map to one of the predefined states.status
- This can be any custom defined status, as defined by work item
flow implementationcontext
- any key value pair to pass additional information to callback handler, optional
ProjectManagementException
void handleScheduleChange(String workItemId, Date endDate) throws ProjectManagementException
workItemId
- unique identifier for work item.endDate
- End date of the work item flow
ProjectManagementException
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |