|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface CreateTaskResult
A CreateTaskResult
object is returned when the TaskManager.createTask()
method is called.
It contains information about the task object that was created.
Method Summary | |
---|---|
long |
getFormInstanceId()
Deprecated. A task can now have many forms. Use getFormInstanceIDs() instead. |
long[] |
getFormInstanceIDs()
Retrieves the list of FormInstance identfiers for the newly created task. |
TaskInfo |
getResultingTaskInfo()
Returns the resulting TaskInfo for the task that was just created. |
long |
getTaskId()
Retrieves the task identifier of the newly created task. |
boolean |
isDataModified()
Determines whether the created task modified the form instance data which was passed into TaskManager.createTask() . |
boolean |
isWorkflowTask()
Determines whether this new task is part of a workflow. |
Method Detail |
---|
boolean isWorkflowTask()
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.
true
if this task is or will be part of a workflow; false
otherwise.boolean isDataModified()
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.
true
if TaskManager.createTask()
modified the form instance data, false
otherwise.long getTaskId()
long getFormInstanceId()
getFormInstanceIDs()
instead.
FormInstance
identifier for the newly created task.long[] getFormInstanceIDs()
FormInstance
identfiers for the newly created task.
TaskInfo getResultingTaskInfo()
TaskInfo
for the task that was just created.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |