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<ProcessVariableKey> processVariableKeys, CloudRuntimeEntitySort sort)
extends Record
implements CloudRuntimeEntityFilterRequest
-
Constructor Summary
ConstructorsConstructorDescriptionTaskSearchRequest(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<ProcessVariableKey> processVariableKeys, CloudRuntimeEntitySort sort) Creates an instance of aTaskSearchRequestrecord class. -
Method Summary
Modifier and TypeMethodDescriptionassignee()Returns the value of theassigneerecord component.Returns the value of thecandidateGroupIdrecord component.Returns the value of thecandidateUserIdrecord component.Returns the value of thecompletedByrecord component.Returns the value of thecompletedFromrecord component.Returns the value of thecompletedTorecord component.Returns the value of thecreatedFromrecord component.Returns the value of thecreatedTorecord component.Returns the value of thedescriptionrecord component.Returns the value of thedueDateFromrecord component.Returns the value of thedueDateTorecord component.final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.id()Returns the value of theidrecord component.Returns the value of thelastClaimedFromrecord component.Returns the value of thelastClaimedTorecord component.Returns the value of thelastModifiedFromrecord component.Returns the value of thelastModifiedTorecord component.name()Returns the value of thenamerecord component.booleanonlyRoot()Returns the value of theonlyRootrecord component.booleanReturns the value of theonlyStandalonerecord component.parentId()Returns the value of theparentIdrecord component.priority()Returns the value of thepriorityrecord component.Returns the value of theprocessDefinitionNamerecord component.Returns the value of theprocessInstanceIdrecord component.Returns the value of theprocessVariableFiltersrecord component.Returns the value of theprocessVariableKeysrecord component.sort()Returns the value of thesortrecord component.Set<org.activiti.api.task.model.Task.TaskStatus> status()Returns the value of thestatusrecord component.Returns the value of thetaskVariableFiltersrecord component.final StringtoString()Returns a string representation of this record class.
-
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<ProcessVariableKey> processVariableKeys, CloudRuntimeEntitySort sort) Creates an instance of aTaskSearchRequestrecord class.- Parameters:
onlyStandalone- the value for theonlyStandalonerecord componentonlyRoot- the value for theonlyRootrecord componentid- the value for theidrecord componentparentId- the value for theparentIdrecord componentprocessInstanceId- the value for theprocessInstanceIdrecord componentname- the value for thenamerecord componentdescription- the value for thedescriptionrecord componentprocessDefinitionName- the value for theprocessDefinitionNamerecord componentpriority- the value for thepriorityrecord componentstatus- the value for thestatusrecord componentcompletedBy- the value for thecompletedByrecord componentassignee- the value for theassigneerecord componentcreatedFrom- the value for thecreatedFromrecord componentcreatedTo- the value for thecreatedTorecord componentlastModifiedFrom- the value for thelastModifiedFromrecord componentlastModifiedTo- the value for thelastModifiedTorecord componentlastClaimedFrom- the value for thelastClaimedFromrecord componentlastClaimedTo- the value for thelastClaimedTorecord componentdueDateFrom- the value for thedueDateFromrecord componentdueDateTo- the value for thedueDateTorecord componentcompletedFrom- the value for thecompletedFromrecord componentcompletedTo- the value for thecompletedTorecord componentcandidateUserId- the value for thecandidateUserIdrecord componentcandidateGroupId- the value for thecandidateGroupIdrecord componenttaskVariableFilters- the value for thetaskVariableFiltersrecord componentprocessVariableFilters- the value for theprocessVariableFiltersrecord componentprocessVariableKeys- the value for theprocessVariableKeysrecord componentsort- the value for thesortrecord component
-
-
Method Details
-
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. -
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. -
equals
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 withObjects::equals(Object,Object); primitive components are compared with '=='. -
onlyStandalone
public boolean onlyStandalone()Returns the value of theonlyStandalonerecord component.- Returns:
- the value of the
onlyStandalonerecord component
-
onlyRoot
public boolean onlyRoot()Returns the value of theonlyRootrecord component.- Returns:
- the value of the
onlyRootrecord component
-
id
Returns the value of theidrecord component.- Specified by:
idin interfaceCloudRuntimeEntityFilterRequest- Returns:
- the value of the
idrecord component
-
parentId
Returns the value of theparentIdrecord component.- Specified by:
parentIdin interfaceCloudRuntimeEntityFilterRequest- Returns:
- the value of the
parentIdrecord component
-
processInstanceId
Returns the value of theprocessInstanceIdrecord component.- Returns:
- the value of the
processInstanceIdrecord component
-
name
Returns the value of thenamerecord component.- Returns:
- the value of the
namerecord component
-
description
Returns the value of thedescriptionrecord component.- Returns:
- the value of the
descriptionrecord component
-
processDefinitionName
Returns the value of theprocessDefinitionNamerecord component.- Returns:
- the value of the
processDefinitionNamerecord component
-
priority
Returns the value of thepriorityrecord component.- Returns:
- the value of the
priorityrecord component
-
status
Returns the value of thestatusrecord component.- Returns:
- the value of the
statusrecord component
-
completedBy
Returns the value of thecompletedByrecord component.- Returns:
- the value of the
completedByrecord component
-
assignee
Returns the value of theassigneerecord component.- Returns:
- the value of the
assigneerecord component
-
createdFrom
Returns the value of thecreatedFromrecord component.- Returns:
- the value of the
createdFromrecord component
-
createdTo
Returns the value of thecreatedTorecord component.- Returns:
- the value of the
createdTorecord component
-
lastModifiedFrom
Returns the value of thelastModifiedFromrecord component.- Returns:
- the value of the
lastModifiedFromrecord component
-
lastModifiedTo
Returns the value of thelastModifiedTorecord component.- Returns:
- the value of the
lastModifiedTorecord component
-
lastClaimedFrom
Returns the value of thelastClaimedFromrecord component.- Returns:
- the value of the
lastClaimedFromrecord component
-
lastClaimedTo
Returns the value of thelastClaimedTorecord component.- Returns:
- the value of the
lastClaimedTorecord component
-
dueDateFrom
Returns the value of thedueDateFromrecord component.- Returns:
- the value of the
dueDateFromrecord component
-
dueDateTo
Returns the value of thedueDateTorecord component.- Returns:
- the value of the
dueDateTorecord component
-
completedFrom
Returns the value of thecompletedFromrecord component.- Returns:
- the value of the
completedFromrecord component
-
completedTo
Returns the value of thecompletedTorecord component.- Returns:
- the value of the
completedTorecord component
-
candidateUserId
Returns the value of thecandidateUserIdrecord component.- Returns:
- the value of the
candidateUserIdrecord component
-
candidateGroupId
Returns the value of thecandidateGroupIdrecord component.- Returns:
- the value of the
candidateGroupIdrecord component
-
taskVariableFilters
Returns the value of thetaskVariableFiltersrecord component.- Returns:
- the value of the
taskVariableFiltersrecord component
-
processVariableFilters
Returns the value of theprocessVariableFiltersrecord component.- Specified by:
processVariableFiltersin interfaceCloudRuntimeEntityFilterRequest- Returns:
- the value of the
processVariableFiltersrecord component
-
processVariableKeys
Returns the value of theprocessVariableKeysrecord component.- Returns:
- the value of the
processVariableKeysrecord component
-
sort
Returns the value of thesortrecord component.- Specified by:
sortin interfaceCloudRuntimeEntityFilterRequest- Returns:
- the value of the
sortrecord component
-