Package org.bonitasoft.web.client.model
Class ManualTask
- java.lang.Object
-
- org.bonitasoft.web.client.model.ManualTask
-
- All Implemented Interfaces:
Serializable
@Generated("org.openapitools.codegen.languages.JavaClientCodegen") public class ManualTask extends Object implements Serializable
ManualTask- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description static StringJSON_PROPERTY_ACTOR_IDstatic StringJSON_PROPERTY_ASSIGNED_DATEstatic StringJSON_PROPERTY_ASSIGNED_IDstatic StringJSON_PROPERTY_DESCRIPTIONstatic StringJSON_PROPERTY_DISPLAY_DESCRIPTIONstatic StringJSON_PROPERTY_DISPLAY_NAMEstatic StringJSON_PROPERTY_DUE_DATEstatic StringJSON_PROPERTY_EXECUTED_BYstatic StringJSON_PROPERTY_EXECUTED_BY_SUBSTITUTEstatic StringJSON_PROPERTY_IDstatic StringJSON_PROPERTY_IS_TERMINALstatic StringJSON_PROPERTY_LAST_UPDATE_DATEstatic StringJSON_PROPERTY_NAMEstatic StringJSON_PROPERTY_PARENT_CASE_IDstatic StringJSON_PROPERTY_PARENT_TASK_IDstatic StringJSON_PROPERTY_PRIORITYstatic StringJSON_PROPERTY_PROCESS_IDstatic StringJSON_PROPERTY_REACHED_STATE_DATEstatic StringJSON_PROPERTY_ROOT_CASE_IDstatic StringJSON_PROPERTY_ROOT_CONTAINER_IDstatic StringJSON_PROPERTY_STATEstatic StringJSON_PROPERTY_TYPE
-
Constructor Summary
Constructors Constructor Description ManualTask()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ManualTaskactorId(String actorId)ManualTaskassignedDate(String assignedDate)ManualTaskassignedId(String assignedId)ManualTaskdescription(String description)ManualTaskdisplayDescription(String displayDescription)ManualTaskdisplayName(String displayName)ManualTaskdueDate(String dueDate)booleanequals(Object o)ManualTaskexecutedBy(String executedBy)ManualTaskexecutedBySubstitute(String executedBySubstitute)StringgetActorId()the id of the actor that can execute this task null otherwiseStringgetAssignedDate()the date ('yyyy-MM-dd HH:mm:ss.SSS') when the current task was assigned for example '2014-10-17 16:05:42.626'StringgetAssignedId()the user id that this task is assigned to or 0 if it is unassignedStringgetDescription()the task descriptionStringgetDisplayDescription()the human readable task descriptionStringgetDisplayName()the human readable task nameStringgetDueDate()the date ('yyyy-MM-dd HH:mm:ss.SSS') when this task is due for example '2014-10-17 16:05:42.626'StringgetExecutedBy()the id of the user who performed this task.StringgetExecutedBySubstitute()the id of the user who did actually performed the task when it has been done in the name of someone else.StringgetId()the task idBooleangetIsTerminal()True if the task is the last one in a flowStringgetLastUpdateDate()the date ('yyyy-MM-dd HH:mm:ss.SSS') when this task was last updated for example '2014-10-17 16:05:42.626)StringgetName()the task technical nameStringgetParentCaseId()the immediate containing process instance id (case id)StringgetParentTaskId()the parent Task idStringgetPriority()the priority (string) of the current taskStringgetProcessId()the process definition id of the process instance which define this taskStringgetReachedStateDate()the date ('yyyy-MM-dd HH:mm:ss.SSS') when this task reached the current state for example '2014-10-17 16:05:42.626'StringgetRootCaseId()the top/root process instance id (case id).StringgetRootContainerId()same as rootCaseIdActivityStategetState()Get stateStringgetType()the task typeinthashCode()ManualTaskid(String id)ManualTaskisTerminal(Boolean isTerminal)ManualTasklastUpdateDate(String lastUpdateDate)ManualTaskname(String name)ManualTaskparentCaseId(String parentCaseId)ManualTaskparentTaskId(String parentTaskId)ManualTaskpriority(String priority)ManualTaskprocessId(String processId)ManualTaskreachedStateDate(String reachedStateDate)ManualTaskrootCaseId(String rootCaseId)ManualTaskrootContainerId(String rootContainerId)voidsetActorId(String actorId)voidsetAssignedDate(String assignedDate)voidsetAssignedId(String assignedId)voidsetDescription(String description)voidsetDisplayDescription(String displayDescription)voidsetDisplayName(String displayName)voidsetDueDate(String dueDate)voidsetExecutedBy(String executedBy)voidsetExecutedBySubstitute(String executedBySubstitute)voidsetId(String id)voidsetIsTerminal(Boolean isTerminal)voidsetLastUpdateDate(String lastUpdateDate)voidsetName(String name)voidsetParentCaseId(String parentCaseId)voidsetParentTaskId(String parentTaskId)voidsetPriority(String priority)voidsetProcessId(String processId)voidsetReachedStateDate(String reachedStateDate)voidsetRootCaseId(String rootCaseId)voidsetRootContainerId(String rootContainerId)voidsetState(ActivityState state)voidsetType(String type)ManualTaskstate(ActivityState state)StringtoString()ManualTasktype(String type)
-
-
-
Field Detail
-
JSON_PROPERTY_ID
public static final String JSON_PROPERTY_ID
- See Also:
- Constant Field Values
-
JSON_PROPERTY_TYPE
public static final String JSON_PROPERTY_TYPE
- See Also:
- Constant Field Values
-
JSON_PROPERTY_NAME
public static final String JSON_PROPERTY_NAME
- See Also:
- Constant Field Values
-
JSON_PROPERTY_DISPLAY_NAME
public static final String JSON_PROPERTY_DISPLAY_NAME
- See Also:
- Constant Field Values
-
JSON_PROPERTY_DESCRIPTION
public static final String JSON_PROPERTY_DESCRIPTION
- See Also:
- Constant Field Values
-
JSON_PROPERTY_DISPLAY_DESCRIPTION
public static final String JSON_PROPERTY_DISPLAY_DESCRIPTION
- See Also:
- Constant Field Values
-
JSON_PROPERTY_STATE
public static final String JSON_PROPERTY_STATE
- See Also:
- Constant Field Values
-
JSON_PROPERTY_REACHED_STATE_DATE
public static final String JSON_PROPERTY_REACHED_STATE_DATE
- See Also:
- Constant Field Values
-
JSON_PROPERTY_LAST_UPDATE_DATE
public static final String JSON_PROPERTY_LAST_UPDATE_DATE
- See Also:
- Constant Field Values
-
JSON_PROPERTY_DUE_DATE
public static final String JSON_PROPERTY_DUE_DATE
- See Also:
- Constant Field Values
-
JSON_PROPERTY_PRIORITY
public static final String JSON_PROPERTY_PRIORITY
- See Also:
- Constant Field Values
-
JSON_PROPERTY_PROCESS_ID
public static final String JSON_PROPERTY_PROCESS_ID
- See Also:
- Constant Field Values
-
JSON_PROPERTY_PARENT_CASE_ID
public static final String JSON_PROPERTY_PARENT_CASE_ID
- See Also:
- Constant Field Values
-
JSON_PROPERTY_PARENT_TASK_ID
public static final String JSON_PROPERTY_PARENT_TASK_ID
- See Also:
- Constant Field Values
-
JSON_PROPERTY_ROOT_CASE_ID
public static final String JSON_PROPERTY_ROOT_CASE_ID
- See Also:
- Constant Field Values
-
JSON_PROPERTY_ROOT_CONTAINER_ID
public static final String JSON_PROPERTY_ROOT_CONTAINER_ID
- See Also:
- Constant Field Values
-
JSON_PROPERTY_EXECUTED_BY
public static final String JSON_PROPERTY_EXECUTED_BY
- See Also:
- Constant Field Values
-
JSON_PROPERTY_EXECUTED_BY_SUBSTITUTE
public static final String JSON_PROPERTY_EXECUTED_BY_SUBSTITUTE
- See Also:
- Constant Field Values
-
JSON_PROPERTY_ACTOR_ID
public static final String JSON_PROPERTY_ACTOR_ID
- See Also:
- Constant Field Values
-
JSON_PROPERTY_ASSIGNED_ID
public static final String JSON_PROPERTY_ASSIGNED_ID
- See Also:
- Constant Field Values
-
JSON_PROPERTY_ASSIGNED_DATE
public static final String JSON_PROPERTY_ASSIGNED_DATE
- See Also:
- Constant Field Values
-
JSON_PROPERTY_IS_TERMINAL
public static final String JSON_PROPERTY_IS_TERMINAL
- See Also:
- Constant Field Values
-
-
Method Detail
-
id
public ManualTask id(String id)
-
setId
public void setId(String id)
-
type
public ManualTask type(String type)
-
setType
public void setType(String type)
-
name
public ManualTask name(String name)
-
setName
public void setName(String name)
-
displayName
public ManualTask displayName(String displayName)
-
getDisplayName
@Nullable public String getDisplayName()
the human readable task name- Returns:
- displayName
-
setDisplayName
public void setDisplayName(String displayName)
-
description
public ManualTask description(String description)
-
setDescription
public void setDescription(String description)
-
displayDescription
public ManualTask displayDescription(String displayDescription)
-
getDisplayDescription
@Nullable public String getDisplayDescription()
the human readable task description- Returns:
- displayDescription
-
setDisplayDescription
public void setDisplayDescription(String displayDescription)
-
state
public ManualTask state(ActivityState state)
-
getState
@Nullable public ActivityState getState()
Get state- Returns:
- state
-
setState
public void setState(ActivityState state)
-
reachedStateDate
public ManualTask reachedStateDate(String reachedStateDate)
-
getReachedStateDate
@Nullable public String getReachedStateDate()
the date ('yyyy-MM-dd HH:mm:ss.SSS') when this task reached the current state for example '2014-10-17 16:05:42.626'- Returns:
- reachedStateDate
-
setReachedStateDate
public void setReachedStateDate(String reachedStateDate)
-
lastUpdateDate
public ManualTask lastUpdateDate(String lastUpdateDate)
-
getLastUpdateDate
@Nullable public String getLastUpdateDate()
the date ('yyyy-MM-dd HH:mm:ss.SSS') when this task was last updated for example '2014-10-17 16:05:42.626)- Returns:
- lastUpdateDate
-
setLastUpdateDate
public void setLastUpdateDate(String lastUpdateDate)
-
dueDate
public ManualTask dueDate(String dueDate)
-
getDueDate
@Nullable public String getDueDate()
the date ('yyyy-MM-dd HH:mm:ss.SSS') when this task is due for example '2014-10-17 16:05:42.626'- Returns:
- dueDate
-
setDueDate
public void setDueDate(String dueDate)
-
priority
public ManualTask priority(String priority)
-
getPriority
@Nullable public String getPriority()
the priority (string) of the current task- Returns:
- priority
-
setPriority
public void setPriority(String priority)
-
processId
public ManualTask processId(String processId)
-
getProcessId
@Nullable public String getProcessId()
the process definition id of the process instance which define this task- Returns:
- processId
-
setProcessId
public void setProcessId(String processId)
-
parentCaseId
public ManualTask parentCaseId(String parentCaseId)
-
getParentCaseId
@Nullable public String getParentCaseId()
the immediate containing process instance id (case id)- Returns:
- parentCaseId
-
setParentCaseId
public void setParentCaseId(String parentCaseId)
-
parentTaskId
public ManualTask parentTaskId(String parentTaskId)
-
setParentTaskId
public void setParentTaskId(String parentTaskId)
-
rootCaseId
public ManualTask rootCaseId(String rootCaseId)
-
getRootCaseId
@Nullable public String getRootCaseId()
the top/root process instance id (case id). In case of an \"event sub process\" `parentCaseId` will the id of the process instance called while `rootCaseId` will be the one from the caller process instance- Returns:
- rootCaseId
-
setRootCaseId
public void setRootCaseId(String rootCaseId)
-
rootContainerId
public ManualTask rootContainerId(String rootContainerId)
-
getRootContainerId
@Nullable public String getRootContainerId()
same as rootCaseId- Returns:
- rootContainerId
-
setRootContainerId
public void setRootContainerId(String rootContainerId)
-
executedBy
public ManualTask executedBy(String executedBy)
-
getExecutedBy
@Nullable public String getExecutedBy()
the id of the user who performed this task. The task has to be a human task otherwise its value will be 0- Returns:
- executedBy
-
setExecutedBy
public void setExecutedBy(String executedBy)
-
executedBySubstitute
public ManualTask executedBySubstitute(String executedBySubstitute)
-
getExecutedBySubstitute
@Nullable public String getExecutedBySubstitute()
the id of the user who did actually performed the task when it has been done in the name of someone else. Value is 0 otherwise- Returns:
- executedBySubstitute
-
setExecutedBySubstitute
public void setExecutedBySubstitute(String executedBySubstitute)
-
actorId
public ManualTask actorId(String actorId)
-
getActorId
@Nullable public String getActorId()
the id of the actor that can execute this task null otherwise- Returns:
- actorId
-
setActorId
public void setActorId(String actorId)
-
assignedId
public ManualTask assignedId(String assignedId)
-
getAssignedId
@Nullable public String getAssignedId()
the user id that this task is assigned to or 0 if it is unassigned- Returns:
- assignedId
-
setAssignedId
public void setAssignedId(String assignedId)
-
assignedDate
public ManualTask assignedDate(String assignedDate)
-
getAssignedDate
@Nullable public String getAssignedDate()
the date ('yyyy-MM-dd HH:mm:ss.SSS') when the current task was assigned for example '2014-10-17 16:05:42.626'- Returns:
- assignedDate
-
setAssignedDate
public void setAssignedDate(String assignedDate)
-
isTerminal
public ManualTask isTerminal(Boolean isTerminal)
-
getIsTerminal
@Nullable public Boolean getIsTerminal()
True if the task is the last one in a flow- Returns:
- isTerminal
-
setIsTerminal
public void setIsTerminal(Boolean isTerminal)
-
-