Packagecom.adobe.idp.taskmanager.dsc.client.task
Interfacepublic interface CreateTaskResult

A CreateTaskResult object is returned when the TaskManager.createTask() method is called. It contains information about the task object that was created.



Public Methods
 MethodDefined By
  
CreateTaskResult
  
Retrieves the list of FormInstance identfiers for the newly created task.
CreateTaskResult
  
Returns the resulting TaskInfo for the task that was just created.
CreateTaskResult
  
long getTaskId()
Retrieves the task identifier of the newly created task.
CreateTaskResult
  
boolean isDataModified()
Determines whether the created task modified the form instance data which was passed into TaskManager#createTask TaskManager.createTask().
CreateTaskResult
  
boolean isWorkflowTask()
Determines whether this new task is part of a workflow.
CreateTaskResult
Method Detail
getFormInstanceId()
public long getFormInstanceId()
Deprecated: A task can now have many forms. Use getFormInstanceIDs() instead.

Returns
The first FormInstance identifier for the newly created task.
getFormInstanceIDs() 
public long[] getFormInstanceIDs()

Retrieves the list of FormInstance identfiers for the newly created task.

Returns
A list of values indicating the identfiers of the forms.
getResultingTaskInfo() 
public TaskInfo getResultingTaskInfo()

Returns the resulting TaskInfo for the task that was just created.

Returns
getTaskId() 
public long getTaskId()

Retrieves the task identifier of the newly created task.

Returns
The task identifier of the newly created task.
isDataModified() 
public boolean isDataModified()

Determines whether the created task modified the form instance data which was passed into TaskManager.createTask().

If this method returns true, the client should reload the form instance by calling TaskManager.getFormInstanceForTask(). The data may have been modified because the task created is part of a workflow and the list of actions was added to the form instance data.

Returns
true if TaskManager.createTask() modified the form instance data, false otherwise.
isWorkflowTask() 
public boolean isWorkflowTask()

Determines whether this new task is part of a workflow.

If you call TaskManager.createTask() without an actionInstance, and the TemplateURL matches a form instance, this method returns true to indicate that this task, when it is completed, will invoke a process.

Returns
true if this task is or will be part of a workflow; false otherwise.




 

Send me an e-mail when comments are added to this page | Comment Report

Current page: http://livedocs.adobe.com/livecycle/8.2/programLC/programmer/javadoc/com/adobe/idp/taskmanager/dsc/client/task/CreateTaskResult.html