|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.adobe.idp.taskmanager.dsc.client.task.DefaultCreateTaskResult
public class DefaultCreateTaskResult
| Constructor Summary | |
|---|---|
DefaultCreateTaskResult()
|
|
DefaultCreateTaskResult(long aTaskId,
long[] aFormInstanceIDs,
boolean isDataModified,
boolean isWorkflowTask)
|
|
DefaultCreateTaskResult(long aTaskId,
long aFormInstanceId,
boolean isDataModified,
boolean isWorkflowTask)
Deprecated. Use the constructor which takes an array of FormIDs |
|
| Method Summary | |
|---|---|
long |
getFormInstanceId()
|
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. |
void |
setDatamodified(boolean aModified)
|
void |
setFormInstanceId(long aFormInstanceId)
|
void |
setResultingTaskInfo(TaskInfo ataskInfo)
|
void |
setTaskId(long aTaskId)
|
void |
setWorkflowTask(boolean aWorkflowTask)
|
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public DefaultCreateTaskResult(long aTaskId,
long aFormInstanceId,
boolean isDataModified,
boolean isWorkflowTask)
aTaskId - aFormInstanceId - isDataModified - isWorkflowTask -
public DefaultCreateTaskResult(long aTaskId,
long[] aFormInstanceIDs,
boolean isDataModified,
boolean isWorkflowTask)
public DefaultCreateTaskResult()
| Method Detail |
|---|
public boolean isWorkflowTask()
CreateTaskResultIf 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.
isWorkflowTask in interface CreateTaskResulttrue if this task is or will be part of a workflow; false otherwise.public void setWorkflowTask(boolean aWorkflowTask)
public void setDatamodified(boolean aModified)
public boolean isDataModified()
CreateTaskResultTaskManager.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.
isDataModified in interface CreateTaskResulttrue if TaskManager.createTask()
modified the form instance data, false otherwise.public long getTaskId()
CreateTaskResult
getTaskId in interface CreateTaskResultpublic void setTaskId(long aTaskId)
public long getFormInstanceId()
getFormInstanceId in interface CreateTaskResultFormInstance identifier for the newly created task.public void setFormInstanceId(long aFormInstanceId)
public long[] getFormInstanceIDs()
CreateTaskResultFormInstance identfiers for the newly created task.
getFormInstanceIDs in interface CreateTaskResultpublic void setResultingTaskInfo(TaskInfo ataskInfo)
public TaskInfo getResultingTaskInfo()
CreateTaskResultTaskInfo for the task that was just created.
getResultingTaskInfo in interface CreateTaskResult
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||