public class WorkspaceEventFactory
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
static java.lang.String | COPYRIGHT
IBM copyright notice field.
|
Modifier and Type | Method and Description |
---|---|
static WorkspaceEventFactory | getInstance()
Returns an instance of the content context factory.
|
static int | getTaskEventType(java.lang.Integer status)
Generates the Task event with the type specified.
|
static int | getTaskGroupEventType(java.lang.Integer status)
Generates the Task event with the type specified.
|
static int | getWorkspaceEventType(java.lang.Integer status)
Generates the Workspace event with the type specified.
|
void | sendTaskCompleteEvent(java.lang.Long taskId, CommandContext cmdContext)
Generates a Task Complete event.
|
void | sendTaskCompleteEvent(java.lang.Long workspaceId, java.lang.Long taskGroupId, java.lang.Long taskId, CommandContext cmdContext)
Generates a Task Complete event.
|
void | sendTaskEvent(int eventType, java.lang.Integer oldStatus, java.lang.Long taskId, CommandContext cmdContext)
Generates the Task event with the type specified.
|
void | sendTaskGroupApprovedEvent(java.lang.Long taskGroupId, CommandContext cmdContext)
Generates a Task Group Approved event.
|
void | sendTaskGroupApprovedEvent(java.lang.Long workspaceId, java.lang.Long taskGroupId, CommandContext cmdContext)
Generates a Task Group Approved event.
|
void | sendTaskGroupCommitFailedEvent(java.lang.Long taskGroupId, CommandContext cmdContext)
Generates a Task Group Commit Failed event.
|
void | sendTaskGroupCommitFailedEvent(java.lang.Long workspaceId, java.lang.Long taskGroupId, CommandContext cmdContext)
Generates a Task Group Commit Failed event.
|
void | sendTaskGroupCommitInProgressEvent(java.lang.Long taskGroupId, CommandContext cmdContext)
Generates a Task Group Commit in Progress event.
|
void | sendTaskGroupCommitInProgressEvent(java.lang.Long workspaceId, java.lang.Long taskGroupId, CommandContext cmdContext)
Generates a Task Group Commit in Progress event.
|
void | sendTaskGroupCommittedEvent(java.lang.Long taskGroupId, CommandContext cmdContext)
Generates a Task Group Committed event.
|
void | sendTaskGroupCommittedEvent(java.lang.Long workspaceId, java.lang.Long taskGroupId, CommandContext cmdContext)
Generates a Task Group Committed event.
|
void | sendTaskGroupCompleteEvent(java.lang.Long taskGroupId, CommandContext cmdContext)
Generates a Task Group Completed event.
|
void | sendTaskGroupCompleteEvent(java.lang.Long workspaceId, java.lang.Long taskGroupId, CommandContext cmdContext)
Generates a Task Group Completed event.
|
void | sendTaskGroupEvent(int eventType, java.lang.Integer oldStatus, java.lang.Long taskGroupId, CommandContext cmdContext)
Generates the Task Group event with the type specified.
|
void | sendTaskGroupReadyForApprovalEvent(java.lang.Long taskGroupId, CommandContext cmdContext)
Generates a Task Group Ready for Approval event.
|
void | sendTaskGroupReadyForApprovalEvent(java.lang.Long workspaceId, java.lang.Long taskGroupId, CommandContext cmdContext)
Generates a Task Group Ready for Approval event.
|
void | sendTaskGroupReadyToCommitEvent(java.lang.Long taskGroupId, CommandContext cmdContext)
Generates a Task Group Ready to Commit event.
|
void | sendTaskGroupReadyToCommitEvent(java.lang.Long workspaceId, java.lang.Long taskGroupId, CommandContext cmdContext)
Generates a Task Group Ready to Commit event.
|
void | sendTaskGroupReadyToPublish(java.lang.Long taskGroupId, CommandContext cmdContext)
Generates a Task Group Ready for Publish event.
|
void | sendTaskGroupReadyToPublish(java.lang.Long workspaceId, java.lang.Long taskGroupId, CommandContext cmdContext)
Generates a Task Group Ready for Publish event.
|
void | sendTaskGroupWorkingEvent(java.lang.Long taskGroupId, CommandContext cmdContext)
Generates a Task Group Working event.
|
void | sendTaskGroupWorkingEvent(java.lang.Long workspaceId, java.lang.Long taskGroupId, CommandContext cmdContext)
Generates a Task Group Working event.
|
void | sendWorkspaceCancelledEvent(java.lang.Long workspaceId, CommandContext cmdContext)
Generates a Task Group Commit Failed event.
|
void | sendWorkspaceEvent(int eventType, java.lang.Long workspaceId, CommandContext cmdContext)
Generates the Task event with the type specified.
|
public static final java.lang.String COPYRIGHT
public static WorkspaceEventFactory getInstance()
public void sendTaskCompleteEvent(java.lang.Long workspaceId, java.lang.Long taskGroupId, java.lang.Long taskId, CommandContext cmdContext) throws ECException
public void sendTaskCompleteEvent(java.lang.Long taskId, CommandContext cmdContext) throws ECException
public void sendTaskGroupWorkingEvent(java.lang.Long workspaceId, java.lang.Long taskGroupId, CommandContext cmdContext) throws ECException
public void sendTaskGroupWorkingEvent(java.lang.Long taskGroupId, CommandContext cmdContext) throws ECException
public void sendTaskGroupReadyForApprovalEvent(java.lang.Long workspaceId, java.lang.Long taskGroupId, CommandContext cmdContext) throws ECException
public void sendTaskGroupReadyForApprovalEvent(java.lang.Long taskGroupId, CommandContext cmdContext) throws ECException
public void sendTaskGroupApprovedEvent(java.lang.Long workspaceId, java.lang.Long taskGroupId, CommandContext cmdContext) throws ECException
public void sendTaskGroupApprovedEvent(java.lang.Long taskGroupId, CommandContext cmdContext) throws ECException
public void sendTaskGroupReadyToCommitEvent(java.lang.Long workspaceId, java.lang.Long taskGroupId, CommandContext cmdContext) throws ECException
public void sendTaskGroupReadyToCommitEvent(java.lang.Long taskGroupId, CommandContext cmdContext) throws ECException
public void sendTaskGroupCommitInProgressEvent(java.lang.Long workspaceId, java.lang.Long taskGroupId, CommandContext cmdContext) throws ECException
public void sendTaskGroupCommitInProgressEvent(java.lang.Long taskGroupId, CommandContext cmdContext) throws ECException
public void sendTaskGroupCommittedEvent(java.lang.Long workspaceId, java.lang.Long taskGroupId, CommandContext cmdContext) throws ECException
public void sendTaskGroupCommittedEvent(java.lang.Long taskGroupId, CommandContext cmdContext) throws ECException
public void sendTaskGroupReadyToPublish(java.lang.Long workspaceId, java.lang.Long taskGroupId, CommandContext cmdContext) throws ECException
public void sendTaskGroupReadyToPublish(java.lang.Long taskGroupId, CommandContext cmdContext) throws ECException
public void sendTaskGroupCompleteEvent(java.lang.Long workspaceId, java.lang.Long taskGroupId, CommandContext cmdContext) throws ECException
public void sendTaskGroupCompleteEvent(java.lang.Long taskGroupId, CommandContext cmdContext) throws ECException
public void sendTaskGroupCommitFailedEvent(java.lang.Long workspaceId, java.lang.Long taskGroupId, CommandContext cmdContext) throws ECException
public void sendTaskGroupCommitFailedEvent(java.lang.Long taskGroupId, CommandContext cmdContext) throws ECException
public void sendWorkspaceCancelledEvent(java.lang.Long workspaceId, CommandContext cmdContext) throws ECException
public void sendTaskGroupEvent(int eventType, java.lang.Integer oldStatus, java.lang.Long taskGroupId, CommandContext cmdContext) throws ECException
public void sendTaskEvent(int eventType, java.lang.Integer oldStatus, java.lang.Long taskId, CommandContext cmdContext) throws ECException
public void sendWorkspaceEvent(int eventType, java.lang.Long workspaceId, CommandContext cmdContext) throws ECException
public static int getTaskGroupEventType(java.lang.Integer status)
public static int getTaskEventType(java.lang.Integer status)
public static int getWorkspaceEventType(java.lang.Integer status)