Record Class ProcessInstanceSearchRequest

java.lang.Object
java.lang.Record
org.activiti.cloud.services.query.rest.payload.ProcessInstanceSearchRequest
All Implemented Interfaces:
CloudRuntimeEntityFilterRequest

public record ProcessInstanceSearchRequest(Set<String> id, Set<String> parentId, Set<String> name, Set<String> processDefinitionName, Set<String> initiator, Set<String> appVersion, Set<org.activiti.api.process.model.ProcessInstance.ProcessInstanceStatus> status, Date lastModifiedFrom, Date lastModifiedTo, Date startFrom, Date startTo, Date completedFrom, Date completedTo, Date suspendedFrom, Date suspendedTo, Set<VariableFilter> processVariableFilters, Set<ProcessVariableKey> processVariableKeys, CloudRuntimeEntitySort sort) extends Record implements CloudRuntimeEntityFilterRequest
  • Constructor Details

    • ProcessInstanceSearchRequest

      public ProcessInstanceSearchRequest(Set<String> id, Set<String> parentId, Set<String> name, Set<String> processDefinitionName, Set<String> initiator, Set<String> appVersion, Set<org.activiti.api.process.model.ProcessInstance.ProcessInstanceStatus> status, Date lastModifiedFrom, Date lastModifiedTo, Date startFrom, Date startTo, Date completedFrom, Date completedTo, Date suspendedFrom, Date suspendedTo, Set<VariableFilter> processVariableFilters, Set<ProcessVariableKey> processVariableKeys, CloudRuntimeEntitySort sort)
      Creates an instance of a ProcessInstanceSearchRequest record class.
      Parameters:
      id - the value for the id record component
      parentId - the value for the parentId record component
      name - the value for the name record component
      processDefinitionName - the value for the processDefinitionName record component
      initiator - the value for the initiator record component
      appVersion - the value for the appVersion record component
      status - the value for the status record component
      lastModifiedFrom - the value for the lastModifiedFrom record component
      lastModifiedTo - the value for the lastModifiedTo record component
      startFrom - the value for the startFrom record component
      startTo - the value for the startTo record component
      completedFrom - the value for the completedFrom record component
      completedTo - the value for the completedTo record component
      suspendedFrom - the value for the suspendedFrom record component
      suspendedTo - the value for the suspendedTo record component
      processVariableFilters - the value for the processVariableFilters record component
      processVariableKeys - the value for the processVariableKeys record component
      sort - the value for the sort record component
  • Method Details

    • toString

      public final String toString()
      Returns a string representation of this record class. The representation contains the name of the class, followed by the name and value of each of the record components.
      Specified by:
      toString in class Record
      Returns:
      a string representation of this object
    • hashCode

      public final int hashCode()
      Returns a hash code value for this object. The value is derived from the hash code of each of the record components.
      Specified by:
      hashCode in class Record
      Returns:
      a hash code value for this object
    • equals

      public final boolean equals(Object o)
      Indicates whether some other object is "equal to" this one. The objects are equal if the other object is of the same class and if all the record components are equal. All components in this record class are compared with Objects::equals(Object,Object).
      Specified by:
      equals in class Record
      Parameters:
      o - the object with which to compare
      Returns:
      true if this object is the same as the o argument; false otherwise.
    • id

      public Set<String> id()
      Returns the value of the id record component.
      Specified by:
      id in interface CloudRuntimeEntityFilterRequest
      Returns:
      the value of the id record component
    • parentId

      public Set<String> parentId()
      Returns the value of the parentId record component.
      Specified by:
      parentId in interface CloudRuntimeEntityFilterRequest
      Returns:
      the value of the parentId record component
    • name

      public Set<String> name()
      Returns the value of the name record component.
      Returns:
      the value of the name record component
    • processDefinitionName

      public Set<String> processDefinitionName()
      Returns the value of the processDefinitionName record component.
      Returns:
      the value of the processDefinitionName record component
    • initiator

      public Set<String> initiator()
      Returns the value of the initiator record component.
      Returns:
      the value of the initiator record component
    • appVersion

      public Set<String> appVersion()
      Returns the value of the appVersion record component.
      Returns:
      the value of the appVersion record component
    • status

      public Set<org.activiti.api.process.model.ProcessInstance.ProcessInstanceStatus> status()
      Returns the value of the status record component.
      Returns:
      the value of the status record component
    • lastModifiedFrom

      public Date lastModifiedFrom()
      Returns the value of the lastModifiedFrom record component.
      Returns:
      the value of the lastModifiedFrom record component
    • lastModifiedTo

      public Date lastModifiedTo()
      Returns the value of the lastModifiedTo record component.
      Returns:
      the value of the lastModifiedTo record component
    • startFrom

      public Date startFrom()
      Returns the value of the startFrom record component.
      Returns:
      the value of the startFrom record component
    • startTo

      public Date startTo()
      Returns the value of the startTo record component.
      Returns:
      the value of the startTo record component
    • completedFrom

      public Date completedFrom()
      Returns the value of the completedFrom record component.
      Returns:
      the value of the completedFrom record component
    • completedTo

      public Date completedTo()
      Returns the value of the completedTo record component.
      Returns:
      the value of the completedTo record component
    • suspendedFrom

      public Date suspendedFrom()
      Returns the value of the suspendedFrom record component.
      Returns:
      the value of the suspendedFrom record component
    • suspendedTo

      public Date suspendedTo()
      Returns the value of the suspendedTo record component.
      Returns:
      the value of the suspendedTo record component
    • processVariableFilters

      public Set<VariableFilter> processVariableFilters()
      Returns the value of the processVariableFilters record component.
      Specified by:
      processVariableFilters in interface CloudRuntimeEntityFilterRequest
      Returns:
      the value of the processVariableFilters record component
    • processVariableKeys

      public Set<ProcessVariableKey> processVariableKeys()
      Returns the value of the processVariableKeys record component.
      Returns:
      the value of the processVariableKeys record component
    • sort

      public CloudRuntimeEntitySort sort()
      Returns the value of the sort record component.
      Specified by:
      sort in interface CloudRuntimeEntityFilterRequest
      Returns:
      the value of the sort record component