Class TaskInfo
java.lang.Object
com.webmethods.caf.faces.data.task.impl.TaskInfo
- All Implemented Interfaces:
ITaskConstants
,ITaskExtendedInfo
,ITaskInfo
,ITaskConstants
TaskInfo is the concrete implementation of
ITaskInfo
and ITaskExtendedInfo
-
Field Summary
Fields inherited from interface com.webmethods.caf.faces.data.task.ITaskConstants
OPERATION_ACCEPTED, OPERATION_CREATED, OPERATION_DELEGATION_RULE, OPERATION_DIST_FILTER_RULE, OPERATION_DIST_RULE, OPERATION_ERROR, OPERATION_RESUME, OPERATION_REVERTED, OPERATION_SCHEDULE_RULE, OPERATION_SUSPEND, OPERATION_TRIGGER_RULE, OPERATION_UNACCEPTED, OPERATION_UPDATE, PRIORITY_CRITICAL, PRIORITY_HIGH, PRIORITY_LOW, PRIORITY_MEDIUM, PRIORITY_NONE, STATUS_ACTIVE, STATUS_CANCELLED, STATUS_COMPLETED, STATUS_ERROR, STATUS_EXPIRED, STATUS_NEW, STATUS_SCHEDULED, STATUS_SUSPENDED, STATUS_UNDEFINED, TASK_AUDIT_VOTE, TASK_AUDIT_VOTING_FINISHED, TASK_DATA_BINDING, TASK_DATA_BINDING_PREFIX, TASK_DATA_PROPERTY_PREFIX, TASK_FIELD_ACCEPT_BY_CSV, TASK_FIELD_ACCEPT_BY_NAME, TASK_FIELD_ACCEPT_BY_URI, TASK_FIELD_ACCEPTED_BY_CURRENT, TASK_FIELD_ACCEPTED_BY_LIST, TASK_FIELD_ASSIGNED_TO_CSV, TASK_FIELD_ASSIGNED_TO_LIST, TASK_FIELD_ASSIGNED_TO_NAME, TASK_FIELD_ASSIGNED_TO_URI, TASK_FIELD_ATTRIBUTES, TASK_FIELD_AUDIT_CONTEXT, TASK_FIELD_CHILD_TASK_COUNT, TASK_FIELD_COLLABORATION_PROCESS_ID, TASK_FIELD_COLLABORATION_STEP_ID, TASK_FIELD_CREATED_BY, TASK_FIELD_CREATED_BY_NAME, TASK_FIELD_CREATED_BY_URI, TASK_FIELD_CREATED_DATE, TASK_FIELD_CUSTOM_TASK_ID, TASK_FIELD_DELEGATED_FROM_LIST, TASK_FIELD_DELEGATED_TO_LIST, TASK_FIELD_DESCRIPTION, TASK_FIELD_ERROR_CODE, TASK_FIELD_ERROR_MESSAGE, TASK_FIELD_EXPIRE_DATE, TASK_FIELD_FOR_PROCESS, TASK_FIELD_IS_MANDATORY, TASK_FIELD_IS_VOTABLE, TASK_FIELD_LAST_ACCEPTED_BY, TASK_FIELD_LAST_ACCEPTED_BY_NAME, TASK_FIELD_LAST_ACCEPTED_DATE, TASK_FIELD_LAST_MODIFIED_BY, TASK_FIELD_LAST_MODIFIED_BY_NAME, TASK_FIELD_LAST_MODIFIED_BY_URI, TASK_FIELD_LAST_MODIFIED_DATE, TASK_FIELD_NAME, TASK_FIELD_PARENT_TASK_ID, TASK_FIELD_PRIORITY, TASK_FIELD_PRIORITY_NAME, TASK_FIELD_PROCESS_INSTANCE_ID, TASK_FIELD_PROCESS_ITERATION, TASK_FIELD_PROCESS_MODEL_ID, TASK_FIELD_PROCESS_MODEL_VERSION, TASK_FIELD_PROCESSED_RULES_LIST, TASK_FIELD_ROOT_PROCESS_INSTANCE_ID, TASK_FIELD_STATUS, TASK_FIELD_STATUS_NAME, TASK_FIELD_STEP_ID, TASK_FIELD_STEP_ITERATION, TASK_FIELD_TASK_DATA, TASK_FIELD_TASK_ID, TASK_FIELD_TASK_SCHEDULE_DATE, TASK_FIELD_TASK_TYPE_ID, TASK_FIELD_TASK_TYPE_NAME, TASK_FIELD_TASK_TYPE_URI, TASK_FIELD_TASK_URL, TASK_FIELD_UNACCEPT_FROM_NAME, TASK_FIELD_UNACCEPT_FROM_URI, TASK_FIELD_VERSION, TASK_INFO_BINDING, TASK_INFO_BINDING_PREFIX, TASK_OPERATION_ACCEPTED, TASK_OPERATION_ASSIGNMENT_CHANGED, TASK_OPERATION_ATTACHMENT_ADDED, TASK_OPERATION_ATTACHMENT_DELETED, TASK_OPERATION_ATTACHMENT_UPDATED, TASK_OPERATION_CANCEL, TASK_OPERATION_COMMENT_ADDED, TASK_OPERATION_COMMENT_DELETED, TASK_OPERATION_COMMENT_UPDATED, TASK_OPERATION_COMPLETE, TASK_OPERATION_CREATED, TASK_OPERATION_DELEGATION_CHANGED, TASK_OPERATION_DELEGATION_RULE_FIRED, TASK_OPERATION_DISTRIBUTION_RULE_FIRED, TASK_OPERATION_ERROR, TASK_OPERATION_EXPIRE, TASK_OPERATION_NOTIFICATION, TASK_OPERATION_REPLY, TASK_OPERATION_RESUME, TASK_OPERATION_REVERTED, TASK_OPERATION_ROLLEDBACK, TASK_OPERATION_SCHEDULE_RULE_FIRED, TASK_OPERATION_SINK_REQUEST, TASK_OPERATION_START, TASK_OPERATION_STOP, TASK_OPERATION_SUSPEND, TASK_OPERATION_TRIGGER_RULE_FIRED, TASK_OPERATION_UNACCEPTED, TASK_OPERATION_UNHANDLED_ERROR, TASK_OPERATION_UPDATE, TASK_OPERATION_VOTE, TASK_PRIORITY_CRITICAL, TASK_PRIORITY_HIGH, TASK_PRIORITY_LOW, TASK_PRIORITY_MEDIUM, TASK_PRIORITY_NONE, TASK_STATUS_ACTIVE, TASK_STATUS_CANCELLED, TASK_STATUS_COMPLETED, TASK_STATUS_ERROR, TASK_STATUS_EXPIRED, TASK_STATUS_NEW, TASK_STATUS_SCHEDULED, TASK_STATUS_SUSPENDED, TASK_STATUS_UNDEFINED, TASK_TABLE_TASK, TASK_TABLE_TASK_INBOX, TASK_TAGS, TASK_VOTING_STRATEGY_FIXED_NUMBER, TASK_VOTING_STRATEGY_PERCENTAGE
Fields inherited from interface com.webmethods.portal.service.task.ITaskConstants
ACCEPT_OTHERS_RIGHT, ACCEPT_RIGHT, ASSIGN_RIGHT, ATTRIBUTE_CALLBACK_DATA, ATTRIBUTE_CALLBACK_SERVICE, ATTRIBUTE_RULE_SET, CALLBACK_TASK_CALLBACK_DATA, CALLBACK_TASK_COMPLETION_INFO, CALLBACK_TASK_DATA, CONFIG_PORTLET_ALIAS, DELETE_RIGHT, EDA_MASK_TASK_CREATED, EDA_MASK_TASK_DELETED, EDA_MASK_TASK_UPDATED, MODIFY_PERMISSION_RIGHT, MODIFY_TASK_DATA_RIGHT, MODIFY_TASK_INFO_RIGHT, PROCESS_AUDIT_POOL_NAME, PROCESS_PRE_TDE_STEP, PROPERTY_TASK_ID, PRT_STEP_CANCEL, PRT_STEP_COMPLETE, PRT_STEP_EXPIRE, PRT_STEP_FAIL, PRT_TASK_ANALYTICS_ENABLED, PRT_TASK_AUDIT_ENABLED, QUEUE_TASK_RIGHT, ROLLBACK_RIGHT, RULE_ATTR_BUSINESS_RULES, RULE_ATTR_CHECK_TIME, RULE_ATTR_DELEGATION_SOURCE, RULE_ATTR_DO_NOT_FIRE, RULE_ATTR_ERROR_CODE, RULE_ATTR_ERROR_MESSAGE, RULE_ATTR_EXPAND_ROLE_MEMBERS, RULE_ATTR_EXPIRING, RULE_ATTR_FIRE_ONCE, RULE_ATTR_FROM_TIMESTAMP, RULE_ATTR_PRINCIPAL_TYPES, RULE_ATTR_PRINCIPAL_TYPES_DELIM, RULE_ATTR_RESULT_TYPE, RULE_ATTR_RULE_SET, RULE_ATTR_RULE_TYPE, RULE_ATTR_RUNNING, RULE_ATTR_SCHEDULE_DATE_BEAN, RULE_ATTR_START_TIME, RULE_ATTR_TASK_DEF_URI, RULE_ATTR_TO_TIMESTAMP, RULE_ATTR_WORKLOAD_PROVIDER, RULE_ATTR_WORKLOAD_PROVIDER_TYPE, RULE_COMMENTS, RULE_CONTEXT_CHANGE_RULES, RULE_CONTEXT_ROUTING_RULES, RULE_CONTEXT_SYSTEM_OBJECT, RULE_CURRENT_TASK, RULE_CURRENT_TASK_EXTENDED, RULE_FACES_CONTEXT, RULE_NEW_CHILD_TASK, RULE_NEW_TASK, RULE_OLD_TASK, RULE_PARENT_TASK, RULE_PRINCIPAL, RULE_RESULT_CANCEL, RULE_RESULT_COMPLETE, RULE_RESULT_ERROR, RULE_RESULT_EXPIRE, RULE_RESULT_EXPRESSION, RULE_RESULT_LAST_ACCEPTED_BY, RULE_RESULT_PRINCIPALS, RULE_RESULT_REPLY, RULE_RESULT_STOP, RULE_ROLE, RULE_TYPE_CHANGE, RULE_TYPE_DELEGATION, RULE_TYPE_DISTRIBUTION, RULE_TYPE_FILTER, RULE_TYPE_SCHEDULE, RULE_USER, START_STOP_RIGHT, STATUS_OUTDATED, STORAGE_ROOT, STORAGE_TYPE_COLLABORATION_PROCESS, STORAGE_TYPE_NAME_COLLABORATION_PROCESS, STORAGE_TYPE_NAME_PREFIX, STORAGE_TYPE_NAME_PROCESS, STORAGE_TYPE_NAME_PROCESS_RULESET, STORAGE_TYPE_PATTERN, STORAGE_TYPE_PROCESS, STORAGE_TYPE_PROCESS_RULESET, STORAGE_TYPE_TASK, TASK_ATTACHMENTS_FOLDER, TASK_ATTACHMENTS_FOLDER_TYPE, TASK_ATTACHMENTS_RELATION, TASK_AUDIT_DELEGATED_BY, TASK_AUDIT_DIFFERENCE, TASK_AUDIT_PROPERTIES, TASK_COMMENTS_FOLDER, TASK_COMMENTS_FOLDER_TYPE, TASK_COMMENTS_RELATION, TASK_DEFINITION_STORAGE, TASK_DETAILS_PAGE, TASK_DETAILS_PORTLET, TASK_FIELD_CONTRIBUTED_BY_LIST, TASK_GLOBAL_DISTRIBUTION_RULES, TASK_GLOBAL_SCHEDULE_RULES, TASK_GLOBAL_TRIGGER_RULES, TASK_OPERATION_VOTING_STRATEGY_UPDATE, TASK_RULES_STORAGE, TASK_SEARCH_RAW_WHERE_CLAUSE, TASK_SEARCH_RAW_WHERE_CLAUSE_PREFIX, TASK_STATUS_OUTDATED, TASK_STORAGE, VIEW_TASK_AUDIT_RIGHT, VIEW_TASK_DATA_RIGHT, VIEW_TASK_INFO_RIGHT
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionString[]
Returns list of users who currently accepted the taskString[]
Returns list of principals (users, groups, roles) who this task is assigned toReturns map of changed properties with the task field name defined inITaskConstants
as the key and changed value as the valueReturns ID of ad-hoc workflow process for this taskReturns ID of ad-hoc workflow process step for this taskReturns user ID (name) of the user who created the taskReturns task created dateReturns Task custom IDString[]
Returns list of rule IDs which delegated the task.Returns Determines and returns UID of the principal who has delegated current task to the current user.String[]
Returns list of principals (users, groups, roles) who delegated this task.String[]
Returns list of principals (users, groups, roles) whom this task is delegated.Returns Returns a map of delegations for the current task.Returns task descriptionReturns Error code in the case of task be in the 'error' stateReturns Error message in the case of task be in the 'error' stateReturns expiration date for this task if anyReturns If the child task is mandatory or notReturns if the task is votable or notReturns user ID (name) of the user who last accepted the taskReturns task last accepted date if anyReturns user ID of the user who last modified the taskReturns task last modified dategetName()
Returns task nameReturns reference task ID for parent task.Returns task priorityReturns Process instance ID which spawned this taskint
Returns Process Iteration of owning processReturns Process Model ID of owning processReturns Process Model Version of owning processReturns reference taskID specific for a given user (like when task was added to the user through some other task).Root process instance ID whose sub process spawned this taskboolean
Returns task statusReturns Process stepID for this taskint
Returns Step iteration of owning processReturns default task details page aliasReturns the unique ID assigned to the task instanceReturns task schedule start dateReturns the unique task type definition IDReturns url pointer to this taskint
Returns task version number.Returns ID of the task view portlet for this taskReturns the voting table for the task which contains the voting strategy and its configurationboolean
Returns true if current user accepted that taskboolean
Returns true if this task is part of collaboration processvoid
setAcceptedByList
(String[] acceptedBy) Sets list of users who currently accepted the taskvoid
setAssignedToList
(String[] assignedTo) Sets list of principals who this task is assigned tovoid
setCollaborationProcessID
(String collaborationProcessID) Sets ID of ad-hoc workflow process for this taskvoid
setCollaborationStepID
(String stepID) Sets ID of ad-hoc workflow process step for this taskvoid
setCreatedDate
(Date createdDate) Sets created date for this taskvoid
setCustomTaskID
(String customTaskID) Sets custom task IDvoid
setDelegatedFromList
(String[] delegatedFrom) Sets list of principals who this task is delegatedvoid
setDelegatedToList
(String[] assignedTo) Sets list of principals who this task is delegatedvoid
setDelegationMap
(Map<String, String> delegationMap) Returns Set the delegatedToList and delegatedFromList values from the contents of a Map.void
setDescription
(String description) Sets task descriptionvoid
setErrorCode
(String errorCode) Sets error code for this taskvoid
setErrorMessage
(String errorMessage) Sets error message for this taskvoid
setExpireDate
(Date expireDate) Sets expire date for this taskvoid
setForProcess
(boolean forProcess) Marks this task to participate in collaboration processvoid
setIsMandatory
(Integer isMandatory) Sets If the child task is mandatory or notvoid
setIsVotable
(Integer isVotable) Sets if the task is votable or notvoid
Sets task namevoid
setParentTaskID
(String referenceTaskID) Sets reference task ID for parent task.void
setPriority
(String priority) Sets task priorityvoid
setRunning
(boolean running) void
Sets task statusvoid
setTaskScheduleDate
(Date taskScheduleDate) sets the task schedule start datevoid
setTaskVersionNumber
(int versionNumber) Set task version numbervoid
setTaskVotingTable
(String taskVotingTable) Sets the voting table definition for the task
-
Constructor Details
-
TaskInfo
public TaskInfo()
-
-
Method Details
-
getTaskScheduleDate
Description copied from interface:ITaskInfo
Returns task schedule start date- Specified by:
getTaskScheduleDate
in interfaceITaskInfo
-
setTaskScheduleDate
Description copied from interface:ITaskInfo
sets the task schedule start date- Specified by:
setTaskScheduleDate
in interfaceITaskInfo
-
getIsMandatory
Description copied from interface:ITaskInfo
Returns If the child task is mandatory or not- Specified by:
getIsMandatory
in interfaceITaskInfo
-
setIsMandatory
Description copied from interface:ITaskInfo
Sets If the child task is mandatory or not- Specified by:
setIsMandatory
in interfaceITaskInfo
-
getTaskID
Description copied from interface:ITaskInfo
Returns the unique ID assigned to the task instance -
getTaskURL
Description copied from interface:ITaskInfo
Returns url pointer to this task- Specified by:
getTaskURL
in interfaceITaskInfo
-
getTaskViewPortletID
Description copied from interface:ITaskInfo
Returns ID of the task view portlet for this task- Specified by:
getTaskViewPortletID
in interfaceITaskInfo
-
getTaskTypeID
Description copied from interface:ITaskInfo
Returns the unique task type definition ID- Specified by:
getTaskTypeID
in interfaceITaskInfo
-
getAcceptedByList
Description copied from interface:ITaskInfo
Returns list of users who currently accepted the task- Specified by:
getAcceptedByList
in interfaceITaskInfo
-
getAssignedToList
Description copied from interface:ITaskInfo
Returns list of principals (users, groups, roles) who this task is assigned to- Specified by:
getAssignedToList
in interfaceITaskInfo
-
getCreatedBy
Description copied from interface:ITaskInfo
Returns user ID (name) of the user who created the task- Specified by:
getCreatedBy
in interfaceITaskInfo
-
getCreatedDate
Description copied from interface:ITaskInfo
Returns task created date- Specified by:
getCreatedDate
in interfaceITaskInfo
-
getDescription
Description copied from interface:ITaskInfo
Returns task description- Specified by:
getDescription
in interfaceITaskInfo
-
getLastAcceptedBy
Description copied from interface:ITaskInfo
Returns user ID (name) of the user who last accepted the task- Specified by:
getLastAcceptedBy
in interfaceITaskInfo
-
getLastModifiedBy
Description copied from interface:ITaskInfo
Returns user ID of the user who last modified the task- Specified by:
getLastModifiedBy
in interfaceITaskInfo
-
getLastModifiedDate
Description copied from interface:ITaskInfo
Returns task last modified date- Specified by:
getLastModifiedDate
in interfaceITaskInfo
-
getLastAcceptedDate
Description copied from interface:ITaskInfo
Returns task last accepted date if any- Specified by:
getLastAcceptedDate
in interfaceITaskInfo
-
getName
Description copied from interface:ITaskInfo
Returns task name -
getPriority
Description copied from interface:ITaskInfo
Returns task priority- Specified by:
getPriority
in interfaceITaskInfo
-
getRunning
public boolean getRunning() -
getStatus
Description copied from interface:ITaskInfo
Returns task status -
setDescription
Description copied from interface:ITaskInfo
Sets task description- Specified by:
setDescription
in interfaceITaskInfo
- Parameters:
description
- the new task description
-
setName
Description copied from interface:ITaskInfo
Sets task name -
setPriority
Description copied from interface:ITaskInfo
Sets task priority- Specified by:
setPriority
in interfaceITaskInfo
- Parameters:
priority
- the new task priority
-
setRunning
public void setRunning(boolean running) -
setStatus
Description copied from interface:ITaskInfo
Sets task status -
getExpireDate
Description copied from interface:ITaskInfo
Returns expiration date for this task if any- Specified by:
getExpireDate
in interfaceITaskInfo
-
setExpireDate
Description copied from interface:ITaskInfo
Sets expire date for this task- Specified by:
setExpireDate
in interfaceITaskInfo
- Parameters:
expireDate
- the new expiration date- Throws:
Exception
-
setCreatedDate
Description copied from interface:ITaskInfo
Sets created date for this task- Specified by:
setCreatedDate
in interfaceITaskInfo
- Parameters:
createdDate
- the new created date- Throws:
Exception
-
getCustomTaskID
Description copied from interface:ITaskInfo
Returns Task custom ID- Specified by:
getCustomTaskID
in interfaceITaskInfo
-
setCustomTaskID
Description copied from interface:ITaskInfo
Sets custom task ID- Specified by:
setCustomTaskID
in interfaceITaskInfo
- Parameters:
customTaskID
- custom task ID
-
getProcessInstanceID
Description copied from interface:ITaskInfo
Returns Process instance ID which spawned this task- Specified by:
getProcessInstanceID
in interfaceITaskInfo
-
getStepID
Description copied from interface:ITaskInfo
Returns Process stepID for this task -
getProcessIteration
public int getProcessIteration()Description copied from interface:ITaskInfo
Returns Process Iteration of owning process- Specified by:
getProcessIteration
in interfaceITaskInfo
-
getProcessModelID
Description copied from interface:ITaskInfo
Returns Process Model ID of owning process- Specified by:
getProcessModelID
in interfaceITaskInfo
-
getProcessModelVersion
Description copied from interface:ITaskInfo
Returns Process Model Version of owning process- Specified by:
getProcessModelVersion
in interfaceITaskInfo
-
getStepIteration
public int getStepIteration()Description copied from interface:ITaskInfo
Returns Step iteration of owning process- Specified by:
getStepIteration
in interfaceITaskInfo
-
setAcceptedByList
Description copied from interface:ITaskInfo
Sets list of users who currently accepted the task- Specified by:
setAcceptedByList
in interfaceITaskInfo
- Parameters:
acceptedBy
- new list of users who currently accepted the task- Throws:
Exception
-
setAssignedToList
Description copied from interface:ITaskInfo
Sets list of principals who this task is assigned to- Specified by:
setAssignedToList
in interfaceITaskInfo
- Parameters:
assignedTo
- list of principals who this task is assigned to- Throws:
Exception
-
getDelegatedToList
Description copied from interface:ITaskInfo
Returns list of principals (users, groups, roles) whom this task is delegated. The size of this list matches to size ofITaskInfo.getDelegatedFromList()
- Specified by:
getDelegatedToList
in interfaceITaskInfo
-
setDelegatedToList
Description copied from interface:ITaskInfo
Sets list of principals who this task is delegated- Specified by:
setDelegatedToList
in interfaceITaskInfo
- Throws:
Exception
-
getDelegatedByList
Description copied from interface:ITaskInfo
Returns list of rule IDs which delegated the task. The size of the list matches to size ofITaskInfo.getDelegatedToList()
andITaskInfo.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- Specified by:
getDelegatedByList
in interfaceITaskInfo
-
getDelegatedFromList
Description copied from interface:ITaskInfo
Returns list of principals (users, groups, roles) who delegated this task. The size of this list matches to size ofITaskInfo.getDelegatedToList()
- Specified by:
getDelegatedFromList
in interfaceITaskInfo
-
getDelegatedFrom
Description copied from interface:ITaskInfo
Returns Determines and returns UID of the principal who has delegated current task to the current user. Returns null if task is not delegated to the current user- Specified by:
getDelegatedFrom
in interfaceITaskInfo
- Throws:
ContentProviderException
-
setDelegatedFromList
Description copied from interface:ITaskInfo
Sets list of principals who this task is delegated- Specified by:
setDelegatedFromList
in interfaceITaskInfo
- Throws:
Exception
-
getDelegationMap
Description copied from interface:ITaskInfo
Returns Returns a map of delegations for the current task. Both the key and value are user UIDs. The map is calulated from the lists returned by getDelegatedToList and getDelegatedFromList- Specified by:
getDelegationMap
in interfaceITaskInfo
-
setDelegationMap
Description copied from interface:ITaskInfo
Returns Set the delegatedToList and delegatedFromList values from the contents of a Map. The input map is expected to entries where both the key and value are user UIDs.- Specified by:
setDelegationMap
in interfaceITaskInfo
- Throws:
Exception
-
getChangedProperties
Description copied from interface:ITaskExtendedInfo
Returns map of changed properties with the task field name defined inITaskConstants
as the key and changed value as the value- Specified by:
getChangedProperties
in interfaceITaskExtendedInfo
-
getTaskVersionNumber
Description copied from interface:ITaskExtendedInfo
Returns task version number. Task version number is incremented for each task update- Specified by:
getTaskVersionNumber
in interfaceITaskExtendedInfo
- Throws:
Exception
-
setTaskVersionNumber
Description copied from interface:ITaskExtendedInfo
Set task version number- Specified by:
setTaskVersionNumber
in interfaceITaskExtendedInfo
- Parameters:
versionNumber
- task version number- Throws:
Exception
-
getErrorCode
Description copied from interface:ITaskInfo
Returns Error code in the case of task be in the 'error' state- Specified by:
getErrorCode
in interfaceITaskInfo
-
getErrorMessage
Description copied from interface:ITaskInfo
Returns Error message in the case of task be in the 'error' state- Specified by:
getErrorMessage
in interfaceITaskInfo
-
setErrorCode
Description copied from interface:ITaskInfo
Sets error code for this task- Specified by:
setErrorCode
in interfaceITaskInfo
- Parameters:
errorCode
- error code for this task- Throws:
Exception
-
setErrorMessage
Description copied from interface:ITaskInfo
Sets error message for this task- Specified by:
setErrorMessage
in interfaceITaskInfo
- Parameters:
errorMessage
- error message for this task- Throws:
Exception
-
isCurrentUserAccepted
Description copied from interface:ITaskInfo
Returns true if current user accepted that task- Specified by:
isCurrentUserAccepted
in interfaceITaskInfo
- Throws:
Exception
-
getDelegatedBy
- Throws:
Exception
-
getTaskDetailsPageID
Description copied from interface:ITaskInfo
Returns default task details page alias- Specified by:
getTaskDetailsPageID
in interfaceITaskInfo
-
getCollaborationProcessID
Description copied from interface:ITaskInfo
Returns ID of ad-hoc workflow process for this task- Specified by:
getCollaborationProcessID
in interfaceITaskInfo
-
getParentTaskID
Description copied from interface:ITaskInfo
Returns reference task ID for parent task.- Specified by:
getParentTaskID
in interfaceITaskInfo
-
isForProcess
Description copied from interface:ITaskInfo
Returns true if this task is part of collaboration process- Specified by:
isForProcess
in interfaceITaskInfo
- Throws:
Exception
-
setCollaborationProcessID
Description copied from interface:ITaskInfo
Sets ID of ad-hoc workflow process for this task- Specified by:
setCollaborationProcessID
in interfaceITaskInfo
- Parameters:
collaborationProcessID
- ID of collaboration process for this task- Throws:
Exception
-
getCollaborationStepID
Description copied from interface:ITaskInfo
Returns ID of ad-hoc workflow process step for this task- Specified by:
getCollaborationStepID
in interfaceITaskInfo
-
setCollaborationStepID
Description copied from interface:ITaskInfo
Sets ID of ad-hoc workflow process step for this task- Specified by:
setCollaborationStepID
in interfaceITaskInfo
- Parameters:
stepID
- ID of collaboration process for this task
-
setForProcess
Description copied from interface:ITaskInfo
Marks this task to participate in collaboration process- Specified by:
setForProcess
in interfaceITaskInfo
- Parameters:
forProcess
- should be true if this task needs to be marked to participate in collaboration process- Throws:
Exception
-
setParentTaskID
Description copied from interface:ITaskInfo
Sets reference task ID for parent task.- Specified by:
setParentTaskID
in interfaceITaskInfo
- Parameters:
referenceTaskID
- reference task ID for parent task- Throws:
Exception
-
getReferenceTaskIDForUser
Description copied from interface:ITaskInfo
Returns reference taskID specific for a given user (like when task was added to the user through some other task). Returns null if does not have a reference- Specified by:
getReferenceTaskIDForUser
in interfaceITaskInfo
- Parameters:
user
- given user
-
getIsVotable
Description copied from interface:ITaskInfo
Returns if the task is votable or not- Specified by:
getIsVotable
in interfaceITaskInfo
-
setIsVotable
Description copied from interface:ITaskInfo
Sets if the task is votable or not- Specified by:
setIsVotable
in interfaceITaskInfo
-
getTaskVotingTable
Description copied from interface:ITaskInfo
Returns the voting table for the task which contains the voting strategy and its configuration- Specified by:
getTaskVotingTable
in interfaceITaskInfo
-
setTaskVotingTable
Description copied from interface:ITaskInfo
Sets the voting table definition for the task- Specified by:
setTaskVotingTable
in interfaceITaskInfo
-
getRootProcessInstanceID
Description copied from interface:ITaskInfo
Root process instance ID whose sub process spawned this task- Specified by:
getRootProcessInstanceID
in interfaceITaskInfo
-