Record Class TaskSearchRequest

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

public record TaskSearchRequest(boolean onlyStandalone, boolean onlyRoot, Set<String> id, Set<String> parentId, Set<String> processInstanceId, Set<String> name, Set<String> description, Set<String> processDefinitionName, Set<Integer> priority, Set<org.activiti.api.task.model.Task.TaskStatus> status, Set<String> completedBy, Set<String> assignee, Date createdFrom, Date createdTo, Date lastModifiedFrom, Date lastModifiedTo, Date lastClaimedFrom, Date lastClaimedTo, Date dueDateFrom, Date dueDateTo, Date completedFrom, Date completedTo, Set<String> candidateUserId, Set<String> candidateGroupId, Set<VariableFilter> taskVariableFilters, Set<VariableFilter> processVariableFilters, Set<org.activiti.cloud.services.query.model.ProcessVariableKey> processVariableKeys, CloudRuntimeEntitySort sort) extends Record implements CloudRuntimeEntityFilterRequest
  • Constructor Details

    • TaskSearchRequest

      public TaskSearchRequest(boolean onlyStandalone, boolean onlyRoot, Set<String> id, Set<String> parentId, Set<String> processInstanceId, Set<String> name, Set<String> description, Set<String> processDefinitionName, Set<Integer> priority, Set<org.activiti.api.task.model.Task.TaskStatus> status, Set<String> completedBy, Set<String> assignee, Date createdFrom, Date createdTo, Date lastModifiedFrom, Date lastModifiedTo, Date lastClaimedFrom, Date lastClaimedTo, Date dueDateFrom, Date dueDateTo, Date completedFrom, Date completedTo, Set<String> candidateUserId, Set<String> candidateGroupId, Set<VariableFilter> taskVariableFilters, Set<VariableFilter> processVariableFilters, Set<org.activiti.cloud.services.query.model.ProcessVariableKey> processVariableKeys, CloudRuntimeEntitySort sort)
      Creates an instance of a TaskSearchRequest record class.
      Parameters:
      onlyStandalone - the value for the onlyStandalone record component
      onlyRoot - the value for the onlyRoot record component
      id - the value for the id record component
      parentId - the value for the parentId record component
      processInstanceId - the value for the processInstanceId record component
      name - the value for the name record component
      description - the value for the description record component
      processDefinitionName - the value for the processDefinitionName record component
      priority - the value for the priority record component
      status - the value for the status record component
      completedBy - the value for the completedBy record component
      assignee - the value for the assignee record component
      createdFrom - the value for the createdFrom record component
      createdTo - the value for the createdTo record component
      lastModifiedFrom - the value for the lastModifiedFrom record component
      lastModifiedTo - the value for the lastModifiedTo record component
      lastClaimedFrom - the value for the lastClaimedFrom record component
      lastClaimedTo - the value for the lastClaimedTo record component
      dueDateFrom - the value for the dueDateFrom record component
      dueDateTo - the value for the dueDateTo record component
      completedFrom - the value for the completedFrom record component
      completedTo - the value for the completedTo record component
      candidateUserId - the value for the candidateUserId record component
      candidateGroupId - the value for the candidateGroupId record component
      taskVariableFilters - the value for the taskVariableFilters 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. Reference components are compared with Objects::equals(Object,Object); primitive components are compared with '=='.
      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.
    • onlyStandalone

      public boolean onlyStandalone()
      Returns the value of the onlyStandalone record component.
      Returns:
      the value of the onlyStandalone record component
    • onlyRoot

      public boolean onlyRoot()
      Returns the value of the onlyRoot record component.
      Returns:
      the value of the onlyRoot record component
    • 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
    • processInstanceId

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

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

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

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

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

      public Set<org.activiti.api.task.model.Task.TaskStatus> status()
      Returns the value of the status record component.
      Returns:
      the value of the status record component
    • completedBy

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

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

      public Date createdFrom()
      Returns the value of the createdFrom record component.
      Returns:
      the value of the createdFrom record component
    • createdTo

      public Date createdTo()
      Returns the value of the createdTo record component.
      Returns:
      the value of the createdTo 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
    • lastClaimedFrom

      public Date lastClaimedFrom()
      Returns the value of the lastClaimedFrom record component.
      Returns:
      the value of the lastClaimedFrom record component
    • lastClaimedTo

      public Date lastClaimedTo()
      Returns the value of the lastClaimedTo record component.
      Returns:
      the value of the lastClaimedTo record component
    • dueDateFrom

      public Date dueDateFrom()
      Returns the value of the dueDateFrom record component.
      Returns:
      the value of the dueDateFrom record component
    • dueDateTo

      public Date dueDateTo()
      Returns the value of the dueDateTo record component.
      Returns:
      the value of the dueDateTo 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
    • candidateUserId

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

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

      public Set<VariableFilter> taskVariableFilters()
      Returns the value of the taskVariableFilters record component.
      Returns:
      the value of the taskVariableFilters 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<org.activiti.cloud.services.query.model.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