com.adobe.idp.taskmanager.dsc.client.task
Interface CompleteTaskResult

All Superinterfaces:
java.io.Serializable

public interface CompleteTaskResult
extends java.io.Serializable

Contains information about the completed task. A CompleteTaskResult object is returned when the TaskManager.completeTask() method is called.


Method Summary
 long getActionId()
          Retrieves the action identifier for this task.
 java.lang.String getCompleteUserId()
          Retrieves the user identifier.
 long getInitiatedProcessId()
          Deprecated. Do not use.
 java.lang.String getInitiatedProcessTypeName()
          Deprecated. Do not use.
 java.lang.String getInvocationId()
          Retrieves the long-lived job identifier associated with this task.
 long getQueueId()
          Retrieves the queue identifier.
 long getTaskId()
          Retrieves the task identifier.
 boolean isProcessInitiated()
          Determines whether TaskManager.completeTask() initiated a new process instance.
 boolean isWorkflowTask()
          Determines whether the completed task is part of a workflow.
 

Method Detail

getTaskId

long getTaskId()
Retrieves the task identifier.

Returns:
The task identifier.

getActionId

long getActionId()
Retrieves the action identifier for this task.

Returns:
The action identifier.

getInvocationId

java.lang.String getInvocationId()
Retrieves the long-lived job identifier associated with this task.

Returns:
The long-lived job identifier.

getCompleteUserId

java.lang.String getCompleteUserId()
Retrieves the user identifier.

Returns:
The user identifier.

getQueueId

long getQueueId()
Retrieves the queue identifier.

Returns:
The queue identifier.

isProcessInitiated

boolean isProcessInitiated()
Determines whether TaskManager.completeTask() initiated a new process instance.

Returns:
true if a process instance was created, false otherwise.

isWorkflowTask

boolean isWorkflowTask()
Determines whether the completed task is part of a workflow.

Returns:
true if the completed task is part of a process instance, false otherwise.

getInitiatedProcessId

long getInitiatedProcessId()
Deprecated. Do not use.

Retrieves the identifier of the initiated process instance.

Returns:
The identifier of the initiated process instance.

getInitiatedProcessTypeName

java.lang.String getInitiatedProcessTypeName()
Deprecated. Do not use.

Retrieves the name of the process type. It returns a value only if the completed task initiated a process.

Returns:
The name of the process type.


[an error occurred while processing this directive] [an error occurred while processing this directive]