Package org.bonitasoft.web.client.model
Class AbstractTask
- java.lang.Object
-
- org.bonitasoft.web.client.model.AbstractTask
-
- All Implemented Interfaces:
Serializable
@Generated("org.openapitools.codegen.languages.JavaClientCodegen") public class AbstractTask extends Object implements Serializable
AbstractTask- 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 AbstractTask()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description AbstractTaskactorId(String actorId)AbstractTaskassignedDate(String assignedDate)AbstractTaskassignedId(String assignedId)AbstractTaskdescription(String description)AbstractTaskdisplayDescription(String displayDescription)AbstractTaskdisplayName(String displayName)AbstractTaskdueDate(String dueDate)booleanequals(Object o)AbstractTaskexecutedBy(String executedBy)AbstractTaskexecutedBySubstitute(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()AbstractTaskid(String id)AbstractTaskisTerminal(Boolean isTerminal)AbstractTasklastUpdateDate(String lastUpdateDate)AbstractTaskname(String name)AbstractTaskparentCaseId(String parentCaseId)AbstractTaskparentTaskId(String parentTaskId)AbstractTaskpriority(String priority)AbstractTaskprocessId(String processId)AbstractTaskreachedStateDate(String reachedStateDate)AbstractTaskrootCaseId(String rootCaseId)AbstractTaskrootContainerId(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)AbstractTaskstate(ActivityState state)StringtoString()AbstractTasktype(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 AbstractTask id(String id)
-
setId
public void setId(String id)
-
type
public AbstractTask type(String type)
-
setType
public void setType(String type)
-
name
public AbstractTask name(String name)
-
setName
public void setName(String name)
-
displayName
public AbstractTask displayName(String displayName)
-
getDisplayName
@Nullable public String getDisplayName()
the human readable task name- Returns:
- displayName
-
setDisplayName
public void setDisplayName(String displayName)
-
description
public AbstractTask description(String description)
-
setDescription
public void setDescription(String description)
-
displayDescription
public AbstractTask displayDescription(String displayDescription)
-
getDisplayDescription
@Nullable public String getDisplayDescription()
the human readable task description- Returns:
- displayDescription
-
setDisplayDescription
public void setDisplayDescription(String displayDescription)
-
state
public AbstractTask state(ActivityState state)
-
getState
@Nullable public ActivityState getState()
Get state- Returns:
- state
-
setState
public void setState(ActivityState state)
-
reachedStateDate
public AbstractTask 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 AbstractTask 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 AbstractTask 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 AbstractTask 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 AbstractTask 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 AbstractTask 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 AbstractTask parentTaskId(String parentTaskId)
-
setParentTaskId
public void setParentTaskId(String parentTaskId)
-
rootCaseId
public AbstractTask 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 AbstractTask rootContainerId(String rootContainerId)
-
getRootContainerId
@Nullable public String getRootContainerId()
same as rootCaseId- Returns:
- rootContainerId
-
setRootContainerId
public void setRootContainerId(String rootContainerId)
-
executedBy
public AbstractTask 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 AbstractTask 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 AbstractTask 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 AbstractTask 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 AbstractTask 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 AbstractTask 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)
-
-