Class ArchivedActivity

java.lang.Object
org.bonitasoft.web.client.model.ArchivedActivity
All Implemented Interfaces:
Serializable

@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen", comments="Generator version: 7.12.0") public class ArchivedActivity extends Object implements Serializable
Use this resource to retrieve finished activities (human or service tasks), call activities, and subprocesses.
See Also:
  • Field Details

  • Constructor Details

    • ArchivedActivity

      public ArchivedActivity()
  • Method Details

    • id

      public ArchivedActivity id(@Nullable String id)
    • getId

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

      public void setId(@Nullable String id)
    • type

      public ArchivedActivity type(@Nullable ActivityType type)
    • getType

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

      public void setType(@Nullable ActivityType type)
    • name

      public ArchivedActivity name(@Nullable String name)
    • getName

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

      public void setName(@Nullable String name)
    • displayName

      public ArchivedActivity displayName(@Nullable String displayName)
    • getDisplayName

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

      public void setDisplayName(@Nullable String displayName)
    • description

      public ArchivedActivity description(@Nullable String description)
    • getDescription

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

      public void setDescription(@Nullable String description)
    • displayDescription

      public ArchivedActivity displayDescription(@Nullable String displayDescription)
    • getDisplayDescription

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

      public void setDisplayDescription(@Nullable String displayDescription)
    • state

      public ArchivedActivity state(@Nullable ActivityState state)
    • getState

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

      public void setState(@Nullable ActivityState state)
    • reachedStateDate

      public ArchivedActivity reachedStateDate(@Nullable String reachedStateDate)
    • getReachedStateDate

      @Nullable public String getReachedStateDate()
      the date ('yyyy-MM-dd HH:mm:ss.SSS') when this archived 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 ArchivedActivity lastUpdateDate(@Nullable String lastUpdateDate)
    • getLastUpdateDate

      @Nullable public String getLastUpdateDate()
      the date ('yyyy-MM-dd HH:mm:ss.SSS') when this archived activity was last updated, for example '2014-10-17 16:05:42.626)
      Returns:
      lastUpdateDate
    • setLastUpdateDate

      public void setLastUpdateDate(@Nullable String lastUpdateDate)
    • dueDate

      public ArchivedActivity dueDate(@Nullable String dueDate)
    • getDueDate

      @Nullable public String getDueDate()
      the date ('yyyy-MM-dd HH:mm:ss.SSS') when this archived activity is due, for example '2014-10-17 16:05:42.626'
      Returns:
      dueDate
    • setDueDate

      public void setDueDate(@Nullable String dueDate)
    • priority

      public ArchivedActivity priority(@Nullable ActivityPriority priority)
    • getPriority

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

      public void setPriority(@Nullable ActivityPriority priority)
    • processId

      public ArchivedActivity processId(@Nullable String processId)
    • getProcessId

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

      public void setProcessId(@Nullable String processId)
    • parentCaseId

      public ArchivedActivity parentCaseId(@Nullable String parentCaseId)
    • getParentCaseId

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

      public void setParentCaseId(@Nullable String parentCaseId)
    • rootCaseId

      public ArchivedActivity rootCaseId(@Nullable String rootCaseId)
    • getRootCaseId

      @Nullable public String getRootCaseId()
      the top/root process instance id (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 case
      Returns:
      rootCaseId
    • setRootCaseId

      public void setRootCaseId(@Nullable String rootCaseId)
    • rootContainerId

      public ArchivedActivity rootContainerId(@Nullable String rootContainerId)
    • getRootContainerId

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

      public void setRootContainerId(@Nullable String rootContainerId)
    • executedBy

      public ArchivedActivity executedBy(@Nullable String executedBy)
    • getExecutedBy

      @Nullable public String getExecutedBy()
      the id of the user who performed this archived activity. The archived activity has to be a human task otherwise its value will be 0
      Returns:
      executedBy
    • setExecutedBy

      public void setExecutedBy(@Nullable String executedBy)
    • executedBySubstitute

      public ArchivedActivity executedBySubstitute(@Nullable String executedBySubstitute)
    • getExecutedBySubstitute

      @Nullable public String getExecutedBySubstitute()
      the id of the user who did actually performed the archived 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 ArchivedActivity actorId(@Nullable String actorId)
    • getActorId

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

      public void setActorId(@Nullable String actorId)
    • assignedId

      public ArchivedActivity assignedId(@Nullable String assignedId)
    • getAssignedId

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

      public void setAssignedId(@Nullable String assignedId)
    • assignedDate

      public ArchivedActivity assignedDate(@Nullable String assignedDate)
    • getAssignedDate

      @Nullable public String getAssignedDate()
      the date ('yyyy-MM-dd HH:mm:ss.SSS') when the current archived activity was assigned, for example '2014-10-17 16:05:42.626'
      Returns:
      assignedDate
    • setAssignedDate

      public void setAssignedDate(@Nullable String assignedDate)
    • sourceObjectId

      public ArchivedActivity sourceObjectId(@Nullable String sourceObjectId)
    • getSourceObjectId

      @Nullable public String getSourceObjectId()
      the original id of the archived activity before it was archived
      Returns:
      sourceObjectId
    • setSourceObjectId

      public void setSourceObjectId(@Nullable String sourceObjectId)
    • archivedDate

      public ArchivedActivity archivedDate(@Nullable String archivedDate)
    • getArchivedDate

      @Nullable public String getArchivedDate()
      the date (('yyyy-MM-dd HH:mm:ss.SSS')) when this archived activity was archived, for example '2014-10-17 16:05:42.626'
      Returns:
      archivedDate
    • setArchivedDate

      public void setArchivedDate(@Nullable String archivedDate)
    • 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