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 Details

  • Constructor Details

    • Activity

      public Activity()
  • Method Details

    • id

      public Activity id(@Nullable String id)
    • getId

      @Nullable public String getId()
      the activity id
      Returns:
      id
    • setId

      public void setId(@Nullable String id)
    • type

      public Activity type(@Nullable ActivityType type)
    • getType

      @Nullable public ActivityType getType()
      Get type
      Returns:
      type
    • setType

      public void setType(@Nullable ActivityType type)
    • name

      public Activity name(@Nullable String name)
    • getName

      @Nullable public String getName()
      the activity technical name
      Returns:
      name
    • setName

      public void setName(@Nullable String name)
    • displayName

      public Activity displayName(@Nullable String displayName)
    • getDisplayName

      @Nullable public String getDisplayName()
      the human readable activity name
      Returns:
      displayName
    • setDisplayName

      public void setDisplayName(@Nullable String displayName)
    • description

      public Activity description(@Nullable String description)
    • getDescription

      @Nullable public String getDescription()
      the activity description
      Returns:
      description
    • setDescription

      public void setDescription(@Nullable String description)
    • displayDescription

      public Activity displayDescription(@Nullable String displayDescription)
    • getDisplayDescription

      @Nullable public String getDisplayDescription()
      the human readable activity description
      Returns:
      displayDescription
    • setDisplayDescription

      public void setDisplayDescription(@Nullable String displayDescription)
    • state

      public Activity state(@Nullable ActivityState state)
    • getState

      @Nullable public ActivityState getState()
      Get state
      Returns:
      state
    • setState

      public void setState(@Nullable ActivityState state)
    • reachedStateDate

      public Activity reachedStateDate(@Nullable String reachedStateDate)
    • getReachedStateDate

      @Nullable public String 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

      public void setReachedStateDate(@Nullable String reachedStateDate)
    • lastUpdateDate

      public Activity lastUpdateDate(@Nullable String lastUpdateDate)
    • getLastUpdateDate

      @Nullable public String 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

      public void setLastUpdateDate(@Nullable String lastUpdateDate)
    • dueDate

      public Activity dueDate(@Nullable String dueDate)
    • getDueDate

      @Nullable public String 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

      public void setDueDate(@Nullable String dueDate)
    • priority

      public Activity priority(@Nullable ActivityPriority priority)
    • getPriority

      @Nullable public ActivityPriority getPriority()
      Get priority
      Returns:
      priority
    • setPriority

      public void setPriority(@Nullable ActivityPriority priority)
    • processId

      public Activity processId(@Nullable String processId)
    • getProcessId

      @Nullable public String getProcessId()
      the process definition id of the process instance which define this activity
      Returns:
      processId
    • setProcessId

      public void setProcessId(@Nullable String processId)
    • parentCaseId

      public Activity parentCaseId(@Nullable String parentCaseId)
    • getParentCaseId

      @Nullable public String getParentCaseId()
      the immediate containing process instance id (long, a.k.a process instance id)
      Returns:
      parentCaseId
    • setParentCaseId

      public void setParentCaseId(@Nullable String parentCaseId)
    • rootCaseId

      public Activity rootCaseId(@Nullable String rootCaseId)
    • getRootCaseId

      @Nullable public String 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

      public void setRootCaseId(@Nullable String rootCaseId)
    • rootContainerId

      public Activity rootContainerId(@Nullable String rootContainerId)
    • getRootContainerId

      @Nullable public String getRootContainerId()
      same as rootCaseId
      Returns:
      rootContainerId
    • setRootContainerId

      public void setRootContainerId(@Nullable String rootContainerId)
    • executedBy

      public Activity executedBy(@Nullable String executedBy)
    • getExecutedBy

      @Nullable public String 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

      public void setExecutedBy(@Nullable String executedBy)
    • executedBySubstitute

      public Activity executedBySubstitute(@Nullable String executedBySubstitute)
    • getExecutedBySubstitute

      @Nullable public String 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

      public void setExecutedBySubstitute(@Nullable String executedBySubstitute)
    • actorId

      public Activity actorId(@Nullable String actorId)
    • getActorId

      @Nullable public String getActorId()
      the id of the actor that can execute this activity, null otherwise
      Returns:
      actorId
    • setActorId

      public void setActorId(@Nullable String actorId)
    • assignedId

      public Activity assignedId(@Nullable String assignedId)
    • getAssignedId

      @Nullable public String getAssignedId()
      the user id that this activity is assigned to, or 0 if it is unassigned
      Returns:
      assignedId
    • setAssignedId

      public void setAssignedId(@Nullable String assignedId)
    • assignedDate

      public Activity assignedDate(@Nullable String assignedDate)
    • getAssignedDate

      @Nullable public String 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

      public void setAssignedDate(@Nullable String assignedDate)
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object