com.semarchy.mdm.runtime.activity
Interface IActivityService.ITaskCompletionResult

Enclosing interface:
IActivityService

public static interface IActivityService.ITaskCompletionResult


Method Summary
 IActivityTask getNewTask()
          Returns the newly create activity Task after the transition if isNewTaskStarted() is true
 Long getSubmittedBatchID()
          Returns The BatchID is isWorkflowSubmitted()
 IPreTransitionProblemsReport getTransitionValidationReport()
          Returns the IPreTransitionProblemsReport if completion did not complete (isCompleted() is false).
 boolean isCompleted()
          Return if completeTask did complete the task.
 boolean isNewTaskStarted()
          Returns true if isCompleted() if a new task was started due to transition.
 boolean isWorkflowCanceled()
           
 boolean isWorkflowSubmitted()
          Returns true if isCompleted() and the completeTask was called using a submit transition.
 

Method Detail

isCompleted

boolean isCompleted()
Return if completeTask did complete the task. false if some pre transition validation failed.

Returns:
See Also:
IPreTransitionProblemsReport

getTransitionValidationReport

IPreTransitionProblemsReport getTransitionValidationReport()
Returns the IPreTransitionProblemsReport if completion did not complete (isCompleted() is false). e.g. A pre transition validation failed....

Returns:
the IPreTransitionProblemsReport or null if transition completed

isWorkflowSubmitted

boolean isWorkflowSubmitted()
Returns true if isCompleted() and the completeTask was called using a submit transition.

Returns:

getSubmittedBatchID

Long getSubmittedBatchID()
Returns The BatchID is isWorkflowSubmitted()

Returns:

isWorkflowCanceled

boolean isWorkflowCanceled()

isNewTaskStarted

boolean isNewTaskStarted()
Returns true if isCompleted() if a new task was started due to transition. i.e. transition was not a submit or cancel transition.

Returns:

getNewTask

IActivityTask getNewTask()
Returns the newly create activity Task after the transition if isNewTaskStarted() is true

Returns:


Copyright © 2015. All Rights Reserved.