Record Class WorkflowTaskServiceLocal.TaskQuery

java.lang.Object
java.lang.Record
com.priint.pubserverapi.workflow.WorkflowTaskServiceLocal.TaskQuery
Enclosing interface:
WorkflowTaskServiceLocal

public static record WorkflowTaskServiceLocal.TaskQuery(List<PersonId> assignee, String candidateGroup, WorkflowTaskServiceLocal.ObjectReference object, String dueBefore, Boolean unassignedOnly, boolean myTasks, boolean myTeamsTasks, List<TeamId> teams) extends Record
  • 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 a TaskQuery record class.
      Parameters:
      assignee - the value for the assignee record component
      candidateGroup - the value for the candidateGroup record component
      object - the value for the object record component
      dueBefore - the value for the dueBefore record component
      unassignedOnly - the value for the unassignedOnly record component
      myTasks - the value for the myTasks record component
      myTeamsTasks - the value for the myTeamsTasks record component
      teams - the value for the teams record component
    • TaskQuery

      public TaskQuery(List<PersonId> assignee, String candidateGroup, WorkflowTaskServiceLocal.ObjectReference object, String dueBefore, Boolean unassignedOnly)
  • 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.
    • assignee

      public List<PersonId> assignee()
      Returns the value of the assignee record component.
      Returns:
      the value of the assignee record component
    • candidateGroup

      public String candidateGroup()
      Returns the value of the candidateGroup record component.
      Returns:
      the value of the candidateGroup record component
    • object

      Returns the value of the object record component.
      Returns:
      the value of the object record component
    • dueBefore

      public String dueBefore()
      Returns the value of the dueBefore record component.
      Returns:
      the value of the dueBefore record component
    • unassignedOnly

      public Boolean unassignedOnly()
      Returns the value of the unassignedOnly record component.
      Returns:
      the value of the unassignedOnly record component
    • myTasks

      public boolean myTasks()
      Returns the value of the myTasks record component.
      Returns:
      the value of the myTasks record component
    • myTeamsTasks

      public boolean myTeamsTasks()
      Returns the value of the myTeamsTasks record component.
      Returns:
      the value of the myTeamsTasks record component
    • teams

      public List<TeamId> teams()
      Returns the value of the teams record component.
      Returns:
      the value of the teams record component