|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ITaskInfo
ITaskInfo is the interface representing Task Information.
Field Summary |
---|
Method Summary | |
---|---|
String[] |
getAcceptedByList()
Returns list of users who currently accepted the task |
String[] |
getAssignedToList()
Returns list of principals (users, groups, roles) who this task is assigned to |
String |
getCollaborationProcessID()
Returns ID of ad-hoc workflow process for this task |
String |
getCollaborationStepID()
Returns ID of ad-hoc workflow process step for this task |
String |
getCreatedBy()
Returns user ID (name) of the user who created the task |
Date |
getCreatedDate()
Returns task created date |
String |
getCustomTaskID()
Returns Task custom ID |
String[] |
getDelegatedByList()
Returns list of rule IDs which delegated the task. |
String |
getDelegatedFrom()
Returns Determines and returns UID of the principal who has delegated current task to the current user. |
String[] |
getDelegatedFromList()
Returns list of principals (users, groups, roles) who delegated this task. |
String[] |
getDelegatedToList()
Returns list of principals (users, groups, roles) whom this task is delegated. |
Map |
getDelegationMap()
Returns Returns a map of delegations for the current task. |
String |
getDescription()
Returns task description |
String |
getErrorCode()
Returns Error code in the case of task be in the 'error' state |
String |
getErrorMessage()
Returns Error message in the case of task be in the 'error' state |
Date |
getExpireDate()
Returns expiration date for this task if any |
String |
getLastAcceptedBy()
Returns user ID (name) of the user who last accepted the task |
Date |
getLastAcceptedDate()
Returns task last accepted date if any |
String |
getLastModifiedBy()
Returns user ID of the user who last modified the task |
Date |
getLastModifiedDate()
Returns task last modified date |
String |
getName()
Returns task name |
String |
getParentTaskID()
Returns reference task ID for parent task. |
String |
getPriority()
Returns task priority |
String |
getProcessInstanceID()
Returns Process instance ID which spawned this task |
int |
getProcessIteration()
Returns Process Iteration of owning process |
String |
getProcessModelID()
Returns Process Model ID of owning process |
String |
getProcessModelVersion()
Returns Process Model Version of owning process |
String |
getReferenceTaskIDForUser(String user)
Returns reference taskID specific for a given user (like when task was added to the user through some other task). |
String |
getStatus()
Returns task status |
String |
getStepID()
Returns Process stepID for this task |
int |
getStepIteration()
Returns Step iteration of owning process |
String |
getTaskDetailsPageID()
Returns default task details page alias |
String |
getTaskID()
Returns the unique ID assigned to the task instance |
String |
getTaskTypeID()
Returns the unique task type definition ID |
String |
getTaskURL()
Returns url pointer to this task |
String |
getTaskViewPortletID()
Returns ID of the task view portlet for this task |
boolean |
isCurrentUserAccepted()
Returns true if current user accepted that task |
boolean |
isForProcess()
Returns true if this task is part of collaboration process |
void |
setAcceptedByList(String[] acceptedBy)
Sets list of users who currently accepted the task |
void |
setAssignedToList(String[] assignedTo)
Sets list of principals who this task is assigned to |
void |
setCollaborationProcessID(String collaborationProcessID)
Sets ID of ad-hoc workflow process for this task |
void |
setCollaborationStepID(String collaborationStepID)
Sets ID of ad-hoc workflow process step for this task |
void |
setCustomTaskID(String customTaskID)
Sets custom task ID |
void |
setDelegatedFromList(String[] delegatedFrom)
Sets list of principals who this task is delegated |
void |
setDelegatedToList(String[] delegatedTo)
Sets list of principals who this task is delegated |
void |
setDelegationMap(Map delegationMap)
Returns Set the delegatedToList and delegatedFromList values from the contents of a Map. |
void |
setDescription(String description)
Sets task description |
void |
setErrorCode(String errorCode)
Sets error code for this task |
void |
setErrorMessage(String errorMessage)
Sets error message for this task |
void |
setExpireDate(Date expireDate)
Sets expire date for this task |
void |
setForProcess(boolean forProcess)
Marks this task to participate in collaboration process |
void |
setName(String name)
Sets task name |
void |
setParentTaskID(String parentTaskID)
Sets reference task ID for parent task. |
void |
setPriority(String priority)
Sets task priority |
void |
setStatus(String status)
Sets task status |
Method Detail |
---|
String getTaskID()
String getTaskURL()
String getTaskTypeID()
String getTaskViewPortletID()
String getTaskDetailsPageID()
Date getCreatedDate()
String getCreatedBy()
Date getLastModifiedDate()
Date getLastAcceptedDate()
String getLastModifiedBy()
String getLastAcceptedBy()
String getName()
void setName(String name) throws Exception
name
- the new task name
Exception
String getDescription()
void setDescription(String description) throws Exception
description
- the new task description
Exception
String getStatus()
void setStatus(String status) throws Exception
status
- the new task status
Exception
String getPriority()
void setPriority(String priority) throws Exception
priority
- the new task priority
Exception
Date getExpireDate()
void setExpireDate(Date expireDate) throws Exception
expireDate
- the new expiration date
Exception
String[] getAcceptedByList()
void setAcceptedByList(String[] acceptedBy) throws Exception
acceptedBy
- new list of users who currently accepted the task
Exception
String[] getAssignedToList()
String[] getDelegatedToList()
ITaskInfo.getDelegatedFromList()
String[] getDelegatedFromList()
ITaskInfo.getDelegatedToList()
String[] getDelegatedByList()
ITaskInfo.getDelegatedToList()
and
ITaskInfo.getDelegatedFromList()
. If task was not delegated by the rule,
but manually the corresponding entry in this list if null, otherwise it
will contain corresponding rule ID
String getDelegatedFrom()
Exception
Map getDelegationMap()
void setDelegationMap(Map delegationMap) throws Exception
Exception
void setAssignedToList(String[] assignedTo) throws Exception
assignedTo
- list of principals who this task is assigned to
Exception
void setDelegatedToList(String[] delegatedTo) throws Exception
assignedTo
- list of principals who this task is delegated
Exception
void setDelegatedFromList(String[] delegatedFrom) throws Exception
assignedTo
- list of principals who this task is delegated
Exception
String getProcessInstanceID()
String getProcessModelID()
String getProcessModelVersion()
int getProcessIteration()
int getStepIteration()
String getStepID()
String getCustomTaskID()
void setCustomTaskID(String customTaskID) throws Exception
customTaskID
- custom task ID
Exception
String getErrorMessage()
String getErrorCode()
void setErrorMessage(String errorMessage) throws Exception
errorMessage
- error message for this task
Exception
void setErrorCode(String errorCode) throws Exception
errorCode
- error code for this task
Exception
boolean isCurrentUserAccepted() throws Exception
Exception
boolean isForProcess() throws Exception
Exception
void setForProcess(boolean forProcess) throws Exception
forProcess
- should be true if this task needs to be marked to participate
in collaboration process
Exception
String getParentTaskID()
void setParentTaskID(String parentTaskID) throws Exception
parentTaskID
- reference task ID for parent task
Exception
String getCollaborationProcessID()
void setCollaborationProcessID(String collaborationProcessID) throws Exception
collaborationProcessID
- ID of collaboration process for this task
Exception
String getCollaborationStepID()
void setCollaborationStepID(String collaborationStepID) throws Exception
collaborationStepID
- ID of collaboration process for this task
Exception
String getReferenceTaskIDForUser(String user)
user
- given user
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |