Package com.appiancorp.suiteapi.process
Class TaskDetails
java.lang.Object
com.appiancorp.suiteapi.common.Identity
com.appiancorp.suiteapi.process.TaskProperties
com.appiancorp.suiteapi.process.TaskSummary
com.appiancorp.suiteapi.process.TaskDetails
- All Implemented Interfaces:
LocalId
,Serializable
More details about a task (attended activity) than are provided in the
TaskSummary, including the notes and attachments on the task.
-
Field Summary
Fields inherited from class com.appiancorp.suiteapi.process.TaskSummary
SORT_BY_ACCEPTED_TIME, SORT_BY_ACCEPTMODE, SORT_BY_ASSIGNED_TIME, SORT_BY_COMPLETED_TIME, SORT_BY_DESCRIPTION, SORT_BY_ELAPSED, SORT_BY_ELAPSED_MILLISECONDS, SORT_BY_ID, SORT_BY_NAME, SORT_BY_ONE_USER_ASSIGNED, SORT_BY_OWNERS, SORT_BY_PRIORITY_ID, SORT_BY_PRIORITY_NAME, SORT_BY_PROCESS_INITIATOR, SORT_BY_PROCESS_NAME, SORT_BY_PROCESSID, SORT_BY_STATUS, TASK_STATUS_ABORTED, TASK_STATUS_ACCEPTED, TASK_STATUS_ASSIGNED, TASK_STATUS_CANCELLED, TASK_STATUS_COMPLETED, TASK_STATUS_ERROR, TASK_STATUS_NOT_STARTED, TASK_STATUS_PAUSED, TASK_STATUS_PAUSED_BY_EXCEPTION, TASK_STATUS_RUNNING, TASK_STATUS_SKIPPED, TASK_STATUS_SUBMITTED, TASK_STATUS_UNATTENDED
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionDeprecated.Attachments and Notes are now loaded in a separate grid.Returns the task's escalation propertiesint
Gets the type of form used with this task.Note[]
getNotes()
Deprecated.Attachments and Notes are now loaded in a separate grid.Returns the schedule information for the taskvoid
setAttachments
(Attachment[] attachments_) Deprecated.Attachments and Notes are now loaded in a separate grid.void
setEscalationInstances
(EscalationInstance[] instances_) Sets the task's escalation propertiesvoid
setFormType
(int formType) Sets the type of form used in this task.void
Deprecated.Attachments and Notes are now loaded in a separate grid.void
setScheduleInstance
(ScheduleInstance instance_) Sets the schedule information for the taskMethods inherited from class com.appiancorp.suiteapi.process.TaskSummary
getAcceptedTime, getAcceptMode, getAssignedTime, getAssignees, getChildProcessId, getCompletedTime, getElapsed, getElapsedMilliseconds, getException, getFavorite, getFormCapability, getIsAttended, getOwners, getPermissions, getProcessDeadline, getProcessId, getProcessInitiator, getProcessName, getProcessStatus, getStatus, getStatusBy, getStatusTime, getTaskDeadline, getTemplateId, isAllowInlineApproval, isCompleted, isInChain, isMobileEnabled, isMutablePriority, isOneUserAssigned, setAcceptedTime, setAcceptMode, setAllowInlineApproval, setAssignedTime, setAssignees, setChildProcessId, setCompletedTime, setElapsed, setElapsedMilliseconds, setException, setFavorite, setFormCapability, setInChain, setIsAttended, setMobileEnabled, setMutablePriority, setOneUserAssigned, setOwners, setPermissions, setProcessDeadline, setProcessId, setProcessInitiator, setProcessName, setProcessStatus, setStatus, setStatusBy, setStatusTime, setTaskDeadline, setTemplateId
Methods inherited from class com.appiancorp.suiteapi.process.TaskProperties
getDescription, getDisplayName, getPriority, getUuid, setDescription, setDisplayName, setPriority, setUuid, toString
-
Constructor Details
-
TaskDetails
public TaskDetails()
-
-
Method Details
-
getNotes
Deprecated.Attachments and Notes are now loaded in a separate grid.Returns the notes attached to the task- Returns:
- an
Array
of theNote
objects attached to the task
-
setNotes
Deprecated.Attachments and Notes are now loaded in a separate grid.Sets the notes attached to the task- Parameters:
notes_
- the notes to set.
-
getAttachments
Deprecated.Attachments and Notes are now loaded in a separate grid.Returns the task attachments- Returns:
- the attachments
-
setAttachments
Deprecated.Attachments and Notes are now loaded in a separate grid.Sets the task attachments- Parameters:
attachments_
- the attachments
-
getEscalationInstances
Returns the task's escalation properties- Returns:
- an
Array
of the escalation properties
-
setEscalationInstances
Sets the task's escalation properties- Parameters:
instances_
- anArray
of escalation properties
-
getScheduleInstance
Returns the schedule information for the task- Returns:
- the schedule information, or
null
if the task is not scheduled
-
setScheduleInstance
Sets the schedule information for the task- Parameters:
instance_
- the schedule information
-
getFormType
public int getFormType()Gets the type of form used with this task. Should be one of the com.appiancorp.suiteapi.process.forms.FormConfig#FORM_TYPE_XXX constants.- Returns:
- the form type
-
setFormType
public void setFormType(int formType) Sets the type of form used in this task. Should be one of the com.appiancorp.suiteapi.process.forms.FormConfig#FORM_TYPE_XXX constants.
-