|
WebLogic Process Integrator Version 1.1 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--com.bea.wlpi.common.TaskInfo
Holds information about a workflow task.
Objects of this class override the boolean equals(Object)
and
implement the comparable
interface. Homogeneous collections
containing objects of this class may, therefore, be searched and sorted using
the Collection.contains(Object), List.indexOf(Object),
Collections.sort(List)
methods.
Field Summary | |
static int |
STATUS_COMPLETE
Task is complete. |
static int |
STATUS_INACTIVE
Task has not yet been started. |
static int |
STATUS_OVERDUE
As for STATUS_PENDING , but due date is in the past. |
static int |
STATUS_PENDING
Task has been started but is not yet complete. |
Constructor Summary | |
TaskInfo(java.lang.String templateId,
java.lang.String templateDefinitionId,
java.lang.String instanceId,
java.lang.String taskId,
java.lang.String name,
java.lang.String assignee,
java.lang.String workflow,
java.lang.String workflowId,
int priority,
java.sql.Timestamp started,
java.sql.Timestamp completed,
java.sql.Timestamp due,
java.lang.String comment,
boolean doneWithoutDoit,
boolean doitIfDone,
boolean unmarkDone,
boolean modifiable,
boolean reassignment)
Create a new TaskInfo object. |
Method Summary | |
int |
compareTo(java.lang.Object o)
Compare two TaskInfo objects. |
boolean |
equals(java.lang.Object obj)
Test two TaskInfo objects for equality. |
java.lang.String |
getAssignee()
Return the task's assignee. |
java.lang.String |
getComment()
Return the human-readable task comment. |
java.sql.Timestamp |
getCompleted()
Return the date/time at which the task was completed. |
boolean |
getDoitIfDone()
Return whether a user can execute the task once it is complete. |
boolean |
getDoneWithoutDoit()
Return whether a user can manually mark the task as complete. |
java.sql.Timestamp |
getDue()
Return the date/time by which the task should be completed. |
java.lang.String |
getInstanceId()
Return the workflow instance ID. |
boolean |
getModifiable()
Return whether a user can modify the task settings at runtime. |
java.lang.String |
getName()
Return the task name. |
int |
getPriority()
Return the task priority. |
boolean |
getReassignment()
Return whether a user can reassign the task at runtime. |
java.sql.Timestamp |
getStarted()
Return the date/time at which the task was started. |
int |
getStatus()
Return the task's status. |
java.lang.String |
getTaskId()
Return the task ID. |
java.lang.String |
getTemplateDefinitionId()
Return the workflow template definition ID. |
java.lang.String |
getTemplateId()
Return the workflow template ID. |
boolean |
getUnmarkDone()
Return whether a user can manually mark the task as incomplete. |
java.lang.String |
getWorkflow()
Return the workflow name. |
java.lang.String |
getWorkflowId()
Return the human-readable workflow instance label. |
java.lang.String |
toString()
Return a string representation of the object, listing the field values. |
Methods inherited from class java.lang.Object |
clone,
finalize,
getClass,
hashCode,
notify,
notifyAll,
wait,
wait,
wait |
Field Detail |
public static final int STATUS_INACTIVE
public static final int STATUS_PENDING
public static final int STATUS_OVERDUE
STATUS_PENDING
, but due date is in the past.public static final int STATUS_COMPLETE
Constructor Detail |
public TaskInfo(java.lang.String templateId, java.lang.String templateDefinitionId, java.lang.String instanceId, java.lang.String taskId, java.lang.String name, java.lang.String assignee, java.lang.String workflow, java.lang.String workflowId, int priority, java.sql.Timestamp started, java.sql.Timestamp completed, java.sql.Timestamp due, java.lang.String comment, boolean doneWithoutDoit, boolean doitIfDone, boolean unmarkDone, boolean modifiable, boolean reassignment)
TaskInfo
object.templateId
- The template ID.templateDefinitionId
- The template definition ID.instanceId
- The workflow instance ID.taskId
- The task ID.name
- The task name as displayed to the user.assigneeId
- The ID of the participant to whom the task is assigned.workflow
- The workflow name.workflowId
- The human-readable workflow instance label.priority
- The task priority (0=low,1=medium,2=high).started
- The date on which task was started.completed
- The date on which task was completed.due
- The date by which task should be completed.comment
- The human-readable task comment.doneWithoutDoit
- true
if a user can manually mark the
task as complete.doitWithoutDone
- true
if a user can execute the
task once it is marked as complete.unmarkDone
- true
if a user can manually mark the
task as incomplete.modifiable
- true
if a user can modify the task
settings at runtime.reassignment
- true
if a user can reassign the task at
runtime.Method Detail |
public final int getStatus()
STATUS_INACTIVE
, STATUS_PENDING
,
STATUS_OVERDUE
or STATUS_COMPLETE
.public final java.lang.String getTemplateId()
public final java.lang.String getTemplateDefinitionId()
public final java.lang.String getInstanceId()
public final java.lang.String getTaskId()
public final java.lang.String getName()
public final java.lang.String getAssignee()
public final java.lang.String getWorkflow()
public final java.lang.String getWorkflowId()
public final int getPriority()
public final java.sql.Timestamp getStarted()
public final java.sql.Timestamp getCompleted()
public final java.sql.Timestamp getDue()
public final java.lang.String getComment()
public final boolean getDoneWithoutDoit()
true
if a user can manually mark the task as
complete.public final boolean getDoitIfDone()
true
if a user can execute the task once it is
marked as complete.public final boolean getUnmarkDone()
true
if a user can manually mark the task as
incomplete.public final boolean getModifiable()
true
if a user can modify the task settings at
runtime.public final boolean getReassignment()
true
if a user can reassign the task at runtime.public boolean equals(java.lang.Object obj)
TaskInfo
objects for equality.obj
- Object with which to compare this one.true
if obj
is an instance of
TaskInfo
with the same taskId
and
instanceId
as this one.compareTo(java.lang.Object)
public int compareTo(java.lang.Object o)
TaskInfo
objects.obj
- Object with which to compare this one. Must be
null
or an instance of TaskInfo
.started
members using
the Date.compareTo(Object)
method.o
is not an instance of
TaskInfo
.equals(java.lang.Object)
public java.lang.String toString()
|
WebLogic Process Integrator Version 1.1 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |