|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object atg.workflow.TaskInfo
public class TaskInfo
Description of the runtime state of an identified task relative to some workflow instance. Keeps track of such information as the task's priority, its owner, the user who last acted on the task, the last outcome taken, and so on.
Field Summary | |
---|---|
static java.lang.String |
CLASS_VERSION
|
Constructor Summary | |
---|---|
TaskInfo(TaskDescriptor pTaskDescriptor)
Constructs a new TaskInfo with the given TaskDescriptor. |
Method Summary | |
---|---|
int |
compareTo(java.lang.Object o)
Compares two TaskInfos using the default sorting criteria. |
AccessControlList |
getAccessControlList()
Returns this task's access control list. |
java.sql.Timestamp |
getLastActionDate()
Returns the Timestamp date of the last action upon this task. |
DirectoryPrincipal |
getLastActor()
Returns the DirectoryPrincipal for the last user to act on this task, or null if the task has not been acted on. |
java.lang.String |
getLastActorName()
Returns the unique atg.security.Persona name of the last user to act upon this task, or null if the task has not been acted on. |
java.lang.String |
getLastOutcomeElementId()
Returns the process element id of the last outcome for this task. |
DirectoryPrincipal |
getOwner()
Returns the DirectoryPrincipal for the owner of this task, or null if it is unowned. |
java.lang.String |
getOwnerName()
Returns the unique atg.security.Persona name of the owner of this task, or null if it is unowned. |
int |
getPriority()
Returns this task's priority. |
AccessControlList |
getRuntimeAccessControlList()
Returns this task's runtime access control list. |
java.lang.String |
getRuntimeAclString()
Returns the String representation of this task's runtime access control list. |
java.lang.String |
getSubjectId()
Returns the repository id of the workflow subject associated with this task. |
TaskDescriptor |
getTaskDescriptor()
Returns the TaskDescriptor for this task. |
boolean |
isActionTaken()
Returns true if this task has been acted upon, false otherwise. |
boolean |
isActive()
Returns true if this task is currently active, false otherwise. |
void |
setActive(boolean pActive)
Sets the flag indicating whether this task is currently active. |
void |
setLastActionDate(java.sql.Timestamp pLastActionDate)
Sets the Timestamp date of the last action upon this task. |
void |
setLastActorName(java.lang.String pLastActorName)
Sets the unique atg.security.Persona name of the last user to act upon this task. |
void |
setLastOutcomeElementId(java.lang.String pLastOutcomeElementId)
Sets the process element id of the last outcome for this task. |
void |
setOwnerName(java.lang.String pOwnerName)
Sets the unique atg.security.Persona name of the owner of this task. |
void |
setPriority(int pPriority)
Sets this task's priority. |
void |
setRuntimeAclString(java.lang.String pRuntimeAclString)
Sets the String representation of this task's runtime access control list. |
void |
setSubjectId(java.lang.String pSubjectId)
Sets the repository id of the workflow subject associated with this task. |
void |
setTaskDescriptor(TaskDescriptor pTaskDescriptor)
Sets the TaskDescriptor for this task. |
java.lang.String |
toString()
Returns a String representation of this TaskInfo. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public static java.lang.String CLASS_VERSION
Constructor Detail |
---|
public TaskInfo(TaskDescriptor pTaskDescriptor)
pTaskDescriptor
- the TaskDescriptor which describes this
taskMethod Detail |
---|
public TaskDescriptor getTaskDescriptor()
public void setTaskDescriptor(TaskDescriptor pTaskDescriptor)
public java.lang.String getSubjectId()
public void setSubjectId(java.lang.String pSubjectId)
public boolean isActive()
public void setActive(boolean pActive)
public java.lang.String getRuntimeAclString()
AccessControlList
public void setRuntimeAclString(java.lang.String pRuntimeAclString)
AccessControlList
public AccessControlList getRuntimeAccessControlList()
public AccessControlList getAccessControlList()
public int getPriority()
public void setPriority(int pPriority)
public java.lang.String getOwnerName()
Persona
public void setOwnerName(java.lang.String pOwnerName)
pOwnerName
- the unique name of the owning user, or null to
indicate no ownerPersona
public DirectoryPrincipal getOwner()
public java.lang.String getLastActorName()
Persona
public void setLastActorName(java.lang.String pLastActorName)
pLastActorName
- the unique name of the last actorPersona
public DirectoryPrincipal getLastActor()
public java.sql.Timestamp getLastActionDate()
public void setLastActionDate(java.sql.Timestamp pLastActionDate)
public boolean isActionTaken()
public java.lang.String getLastOutcomeElementId()
public void setLastOutcomeElementId(java.lang.String pLastOutcomeElementId)
pLastOutcomeElementId
- the process element id of the
outcome element, as it appears in the workflow definition filepublic int compareTo(java.lang.Object o)
Returns a negative integer, zero, or a positive integer depending on whether this TaskInfo is less than, equal to, or greater than the specified TaskInfo.
compareTo
in interface java.lang.Comparable
public java.lang.String toString()
toString
in class java.lang.Object
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |