Package org.bonitasoft.web.client.model
Class Activity
java.lang.Object
org.bonitasoft.web.client.model.Activity
- All Implemented Interfaces:
Serializable
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
comments="Generator version: 7.12.0")
public class Activity
extends Object
implements Serializable
Use this resource to retrieve activities (human or service tasks), call activities, and subprocesses currently running on the platform. It enables you to
perform maintenance tasks like skipping or replaying a failed task and modifying variables.
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final String -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionassignedDate(String assignedDate) assignedId(String assignedId) description(String description) displayDescription(String displayDescription) displayName(String displayName) booleanexecutedBy(String executedBy) executedBySubstitute(String executedBySubstitute) the id of the actor that can execute this activity, null otherwisethe date ('yyyy-MM-dd HH:mm:ss.SSS') when the current activity was assigned, for example '2014-10-17 16:05:42.626'the user id that this activity is assigned to, or 0 if it is unassignedthe activity descriptionthe human readable activity descriptionthe human readable activity namethe date ('yyyy-MM-dd HH:mm:ss.SSS') when this activity is due, for example '2014-10-17 16:05:42.626'the id of the user who performed this activity.the id of the user who did actually performed the activity when it has been done in the name of someone else.getId()the activity idthe date ('yyyy-MM-dd HH:mm:ss.SSS') when this activity was last updated, for example '2014-10-17 16:05:42.626)getName()the activity technical namethe immediate containing process instance id (long, a.k.a process instance id)Get prioritythe process definition id of the process instance which define this activitythe date ('yyyy-MM-dd HH:mm:ss.SSS') when this activity reached the current state, for example '2014-10-17 16:05:42.626'the top/root process instance id (long, a.k.a case id).same as rootCaseIdgetState()Get stategetType()Get typeinthashCode()lastUpdateDate(String lastUpdateDate) parentCaseId(String parentCaseId) priority(ActivityPriority priority) reachedStateDate(String reachedStateDate) rootCaseId(String rootCaseId) rootContainerId(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) voidvoidsetLastUpdateDate(String lastUpdateDate) voidvoidsetParentCaseId(String parentCaseId) voidsetPriority(ActivityPriority priority) voidsetProcessId(String processId) voidsetReachedStateDate(String reachedStateDate) voidsetRootCaseId(String rootCaseId) voidsetRootContainerId(String rootContainerId) voidsetState(ActivityState state) voidsetType(ActivityType type) state(ActivityState state) toString()type(ActivityType type)
-
Field Details
-
JSON_PROPERTY_ID
- See Also:
-
JSON_PROPERTY_TYPE
- See Also:
-
JSON_PROPERTY_NAME
- See Also:
-
JSON_PROPERTY_DISPLAY_NAME
- See Also:
-
JSON_PROPERTY_DESCRIPTION
- See Also:
-
JSON_PROPERTY_DISPLAY_DESCRIPTION
- See Also:
-
JSON_PROPERTY_STATE
- See Also:
-
JSON_PROPERTY_REACHED_STATE_DATE
- See Also:
-
JSON_PROPERTY_LAST_UPDATE_DATE
- See Also:
-
JSON_PROPERTY_DUE_DATE
- See Also:
-
JSON_PROPERTY_PRIORITY
- See Also:
-
JSON_PROPERTY_PROCESS_ID
- See Also:
-
JSON_PROPERTY_PARENT_CASE_ID
- See Also:
-
JSON_PROPERTY_ROOT_CASE_ID
- See Also:
-
JSON_PROPERTY_ROOT_CONTAINER_ID
- See Also:
-
JSON_PROPERTY_EXECUTED_BY
- See Also:
-
JSON_PROPERTY_EXECUTED_BY_SUBSTITUTE
- See Also:
-
JSON_PROPERTY_ACTOR_ID
- See Also:
-
JSON_PROPERTY_ASSIGNED_ID
- See Also:
-
JSON_PROPERTY_ASSIGNED_DATE
- See Also:
-
-
Constructor Details
-
Activity
public Activity()
-
-
Method Details
-
id
-
getId
the activity id- Returns:
- id
-
setId
-
type
-
getType
Get type- Returns:
- type
-
setType
-
name
-
getName
the activity technical name- Returns:
- name
-
setName
-
displayName
-
getDisplayName
the human readable activity name- Returns:
- displayName
-
setDisplayName
-
description
-
getDescription
the activity description- Returns:
- description
-
setDescription
-
displayDescription
-
getDisplayDescription
the human readable activity description- Returns:
- displayDescription
-
setDisplayDescription
-
state
-
getState
Get state- Returns:
- state
-
setState
-
reachedStateDate
-
getReachedStateDate
the date ('yyyy-MM-dd HH:mm:ss.SSS') when this activity reached the current state, for example '2014-10-17 16:05:42.626'- Returns:
- reachedStateDate
-
setReachedStateDate
-
lastUpdateDate
-
getLastUpdateDate
the date ('yyyy-MM-dd HH:mm:ss.SSS') when this activity was last updated, for example '2014-10-17 16:05:42.626)- Returns:
- lastUpdateDate
-
setLastUpdateDate
-
dueDate
-
getDueDate
the date ('yyyy-MM-dd HH:mm:ss.SSS') when this activity is due, for example '2014-10-17 16:05:42.626'- Returns:
- dueDate
-
setDueDate
-
priority
-
getPriority
Get priority- Returns:
- priority
-
setPriority
-
processId
-
getProcessId
the process definition id of the process instance which define this activity- Returns:
- processId
-
setProcessId
-
parentCaseId
-
getParentCaseId
the immediate containing process instance id (long, a.k.a process instance id)- Returns:
- parentCaseId
-
setParentCaseId
-
rootCaseId
-
getRootCaseId
the top/root process instance id (long, a.k.a 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
-
rootContainerId
-
getRootContainerId
same as rootCaseId- Returns:
- rootContainerId
-
setRootContainerId
-
executedBy
-
getExecutedBy
the id of the user who performed this activity. The activity has to be a human task otherwise its value will be 0- Returns:
- executedBy
-
setExecutedBy
-
executedBySubstitute
-
getExecutedBySubstitute
the id of the user who did actually performed the activity when it has been done in the name of someone else. Value is 0 otherwise- Returns:
- executedBySubstitute
-
setExecutedBySubstitute
-
actorId
-
getActorId
the id of the actor that can execute this activity, null otherwise- Returns:
- actorId
-
setActorId
-
assignedId
-
getAssignedId
the user id that this activity is assigned to, or 0 if it is unassigned- Returns:
- assignedId
-
setAssignedId
-
assignedDate
-
getAssignedDate
the date ('yyyy-MM-dd HH:mm:ss.SSS') when the current activity was assigned, for example '2014-10-17 16:05:42.626'- Returns:
- assignedDate
-
setAssignedDate
-
equals
-
hashCode
public int hashCode() -
toString
-