|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.webmethods.caf.faces.data.task.impl.TaskInfo
public class TaskInfo
TaskInfo is the concrete implementation of ITaskInfo
and ITaskExtendedInfo
Field Summary |
---|
Constructor Summary | |
---|---|
TaskInfo()
|
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 |
Map |
getChangedProperties()
Returns map of changed properties with the task field name defined in ITaskConstants as the key and changed value as the value |
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 |
getDelegatedBy()
|
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 |
int |
getTaskVersionNumber()
Returns task version number. |
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 stepID)
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[] assignedTo)
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 referenceTaskID)
Sets reference task ID for parent task. |
void |
setPriority(String priority)
Sets task priority |
void |
setStatus(String status)
Sets task status |
void |
setTaskVersionNumber(int versionNumber)
Set task version number |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public TaskInfo()
Method Detail |
---|
public String getTaskID()
ITaskInfo
getTaskID
in interface ITaskInfo
public String getTaskURL()
ITaskInfo
getTaskURL
in interface ITaskInfo
public String getTaskViewPortletID()
ITaskInfo
getTaskViewPortletID
in interface ITaskInfo
public String getTaskTypeID()
ITaskInfo
getTaskTypeID
in interface ITaskInfo
public String[] getAcceptedByList()
ITaskInfo
getAcceptedByList
in interface ITaskInfo
public String[] getAssignedToList()
ITaskInfo
getAssignedToList
in interface ITaskInfo
public String getCreatedBy()
ITaskInfo
getCreatedBy
in interface ITaskInfo
public Date getCreatedDate()
ITaskInfo
getCreatedDate
in interface ITaskInfo
public String getDescription()
ITaskInfo
getDescription
in interface ITaskInfo
public String getLastAcceptedBy()
ITaskInfo
getLastAcceptedBy
in interface ITaskInfo
public String getLastModifiedBy()
ITaskInfo
getLastModifiedBy
in interface ITaskInfo
public Date getLastModifiedDate()
ITaskInfo
getLastModifiedDate
in interface ITaskInfo
public Date getLastAcceptedDate()
ITaskInfo
getLastAcceptedDate
in interface ITaskInfo
public String getName()
ITaskInfo
getName
in interface ITaskInfo
public String getPriority()
ITaskInfo
getPriority
in interface ITaskInfo
public String getStatus()
ITaskInfo
getStatus
in interface ITaskInfo
public void setDescription(String description)
ITaskInfo
setDescription
in interface ITaskInfo
description
- the new task descriptionpublic void setName(String name)
ITaskInfo
setName
in interface ITaskInfo
name
- the new task namepublic void setPriority(String priority)
ITaskInfo
setPriority
in interface ITaskInfo
priority
- the new task prioritypublic void setStatus(String status)
ITaskInfo
setStatus
in interface ITaskInfo
status
- the new task statuspublic Date getExpireDate()
ITaskInfo
getExpireDate
in interface ITaskInfo
public void setExpireDate(Date expireDate) throws Exception
ITaskInfo
setExpireDate
in interface ITaskInfo
expireDate
- the new expiration date
Exception
public String getCustomTaskID()
ITaskInfo
getCustomTaskID
in interface ITaskInfo
public void setCustomTaskID(String customTaskID)
ITaskInfo
setCustomTaskID
in interface ITaskInfo
customTaskID
- custom task IDpublic String getProcessInstanceID()
ITaskInfo
getProcessInstanceID
in interface ITaskInfo
public String getStepID()
ITaskInfo
getStepID
in interface ITaskInfo
public int getProcessIteration()
ITaskInfo
getProcessIteration
in interface ITaskInfo
public String getProcessModelID()
ITaskInfo
getProcessModelID
in interface ITaskInfo
public String getProcessModelVersion()
ITaskInfo
getProcessModelVersion
in interface ITaskInfo
public int getStepIteration()
ITaskInfo
getStepIteration
in interface ITaskInfo
public void setAcceptedByList(String[] acceptedBy) throws Exception
ITaskInfo
setAcceptedByList
in interface ITaskInfo
acceptedBy
- new list of users who currently accepted the task
Exception
public void setAssignedToList(String[] assignedTo) throws Exception
ITaskInfo
setAssignedToList
in interface ITaskInfo
assignedTo
- list of principals who this task is assigned to
Exception
public String[] getDelegatedToList()
ITaskInfo
ITaskInfo.getDelegatedFromList()
getDelegatedToList
in interface ITaskInfo
public void setDelegatedToList(String[] assignedTo) throws Exception
ITaskInfo
setDelegatedToList
in interface ITaskInfo
Exception
public String[] getDelegatedByList()
ITaskInfo
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
getDelegatedByList
in interface ITaskInfo
public String[] getDelegatedFromList()
ITaskInfo
ITaskInfo.getDelegatedToList()
getDelegatedFromList
in interface ITaskInfo
public String getDelegatedFrom() throws ContentProviderException
ITaskInfo
getDelegatedFrom
in interface ITaskInfo
ContentProviderException
public void setDelegatedFromList(String[] delegatedFrom) throws Exception
ITaskInfo
setDelegatedFromList
in interface ITaskInfo
Exception
public Map getDelegationMap()
ITaskInfo
getDelegationMap
in interface ITaskInfo
public void setDelegationMap(Map delegationMap) throws Exception
ITaskInfo
setDelegationMap
in interface ITaskInfo
Exception
public Map getChangedProperties()
ITaskExtendedInfo
ITaskConstants
as the key and changed value as the value
getChangedProperties
in interface ITaskExtendedInfo
public int getTaskVersionNumber() throws Exception
ITaskExtendedInfo
getTaskVersionNumber
in interface ITaskExtendedInfo
Exception
public void setTaskVersionNumber(int versionNumber) throws Exception
ITaskExtendedInfo
setTaskVersionNumber
in interface ITaskExtendedInfo
versionNumber
- task version number
Exception
public String getErrorCode()
ITaskInfo
getErrorCode
in interface ITaskInfo
public String getErrorMessage()
ITaskInfo
getErrorMessage
in interface ITaskInfo
public void setErrorCode(String errorCode) throws Exception
ITaskInfo
setErrorCode
in interface ITaskInfo
errorCode
- error code for this task
Exception
public void setErrorMessage(String errorMessage) throws Exception
ITaskInfo
setErrorMessage
in interface ITaskInfo
errorMessage
- error message for this task
Exception
public boolean isCurrentUserAccepted() throws Exception
ITaskInfo
isCurrentUserAccepted
in interface ITaskInfo
Exception
public String getDelegatedBy() throws Exception
Exception
public String getTaskDetailsPageID()
ITaskInfo
getTaskDetailsPageID
in interface ITaskInfo
public String getCollaborationProcessID()
ITaskInfo
getCollaborationProcessID
in interface ITaskInfo
public String getParentTaskID()
ITaskInfo
getParentTaskID
in interface ITaskInfo
public boolean isForProcess() throws Exception
ITaskInfo
isForProcess
in interface ITaskInfo
Exception
public void setCollaborationProcessID(String collaborationProcessID) throws Exception
ITaskInfo
setCollaborationProcessID
in interface ITaskInfo
collaborationProcessID
- ID of collaboration process for this task
Exception
public String getCollaborationStepID()
ITaskInfo
getCollaborationStepID
in interface ITaskInfo
public void setCollaborationStepID(String stepID)
ITaskInfo
setCollaborationStepID
in interface ITaskInfo
stepID
- ID of collaboration process for this taskpublic void setForProcess(boolean forProcess) throws Exception
ITaskInfo
setForProcess
in interface ITaskInfo
forProcess
- should be true if this task needs to be marked to participate
in collaboration process
Exception
public void setParentTaskID(String referenceTaskID) throws Exception
ITaskInfo
setParentTaskID
in interface ITaskInfo
referenceTaskID
- reference task ID for parent task
Exception
public String getReferenceTaskIDForUser(String user)
ITaskInfo
getReferenceTaskIDForUser
in interface ITaskInfo
user
- given user
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |