Package com.priint.pubserverapi.workflow
Record Class WorkflowTaskServiceLocal.TaskQuery
java.lang.Object
java.lang.Record
com.priint.pubserverapi.workflow.WorkflowTaskServiceLocal.TaskQuery
- Enclosing interface:
WorkflowTaskServiceLocal
-
Constructor Summary
ConstructorsConstructorDescriptionTaskQuery(List<PersonId> assignee, String candidateGroup, WorkflowTaskServiceLocal.ObjectReference object, String dueBefore, Boolean unassignedOnly) TaskQuery(List<PersonId> assignee, String candidateGroup, WorkflowTaskServiceLocal.ObjectReference object, String dueBefore, Boolean unassignedOnly, boolean myTasks, boolean myTeamsTasks, List<TeamId> teams) Creates an instance of aTaskQueryrecord class. -
Method Summary
Modifier and TypeMethodDescriptionassignee()Returns the value of theassigneerecord component.Returns the value of thecandidateGrouprecord component.Returns the value of thedueBeforerecord component.final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.booleanmyTasks()Returns the value of themyTasksrecord component.booleanReturns the value of themyTeamsTasksrecord component.object()Returns the value of theobjectrecord component.teams()Returns the value of theteamsrecord component.final StringtoString()Returns a string representation of this record class.Returns the value of theunassignedOnlyrecord component.
-
Constructor Details
-
TaskQuery
public TaskQuery(List<PersonId> assignee, String candidateGroup, WorkflowTaskServiceLocal.ObjectReference object, String dueBefore, Boolean unassignedOnly, boolean myTasks, boolean myTeamsTasks, List<TeamId> teams) Creates an instance of aTaskQueryrecord class.- Parameters:
assignee- the value for theassigneerecord componentcandidateGroup- the value for thecandidateGrouprecord componentobject- the value for theobjectrecord componentdueBefore- the value for thedueBeforerecord componentunassignedOnly- the value for theunassignedOnlyrecord componentmyTasks- the value for themyTasksrecord componentmyTeamsTasks- the value for themyTeamsTasksrecord componentteams- the value for theteamsrecord component
-
TaskQuery
-
-
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 '=='. -
assignee
Returns the value of theassigneerecord component.- Returns:
- the value of the
assigneerecord component
-
candidateGroup
Returns the value of thecandidateGrouprecord component.- Returns:
- the value of the
candidateGrouprecord component
-
object
Returns the value of theobjectrecord component.- Returns:
- the value of the
objectrecord component
-
dueBefore
Returns the value of thedueBeforerecord component.- Returns:
- the value of the
dueBeforerecord component
-
unassignedOnly
Returns the value of theunassignedOnlyrecord component.- Returns:
- the value of the
unassignedOnlyrecord component
-
myTasks
public boolean myTasks()Returns the value of themyTasksrecord component.- Returns:
- the value of the
myTasksrecord component
-
myTeamsTasks
public boolean myTeamsTasks()Returns the value of themyTeamsTasksrecord component.- Returns:
- the value of the
myTeamsTasksrecord component
-
teams
Returns the value of theteamsrecord component.- Returns:
- the value of the
teamsrecord component
-