Class TaskCommentQueryImpl

java.lang.Object
pro.taskana.task.internal.TaskCommentQueryImpl
All Implemented Interfaces:
BaseQuery<TaskComment,TaskCommentQueryColumnName>, TaskCommentQuery

public class TaskCommentQueryImpl extends Object implements TaskCommentQuery
TaskCommentQuery for generating dynamic sql.
  • Method Details

    • idIn

      public TaskCommentQuery idIn(String... taskCommentIds)
      Description copied from interface: TaskCommentQuery
      Filter for TaskComments which are containing one of the given taskCommentIds.
      Specified by:
      idIn in interface TaskCommentQuery
      Parameters:
      taskCommentIds - The ids of the searched-for TaskComments.
      Returns:
      the query
    • idNotIn

      public TaskCommentQuery idNotIn(String... taskCommentIds)
      Description copied from interface: TaskCommentQuery
      Filter for TaskComments which are containing non of the given taskCommentIds.
      Specified by:
      idNotIn in interface TaskCommentQuery
      Parameters:
      taskCommentIds - The ids of the searched-for TaskComments.
      Returns:
      the query
    • idLike

      public TaskCommentQuery idLike(String... taskCommentIds)
      Description copied from interface: TaskCommentQuery
      Add your taskCommentIds for pattern matching to your query. It will be compared in SQL with a LIKE. If you use a wildcard like % then it will be transmitted to the database.
      Specified by:
      idLike in interface TaskCommentQuery
      Parameters:
      taskCommentIds - The ids of the searched-for TaskComments.
      Returns:
      the query
    • idNotLike

      public TaskCommentQuery idNotLike(String... taskCommentIds)
      Description copied from interface: TaskCommentQuery
      Add your taskCommentIds for pattern matching to your query, which should not be contained. It will be compared in SQL with a LIKE. If you use a wildcard like % then it will be transmitted to the database.
      Specified by:
      idNotLike in interface TaskCommentQuery
      Parameters:
      taskCommentIds - The ids of the searched-for TaskComments.
      Returns:
      the query
    • taskIdIn

      public TaskCommentQuery taskIdIn(String... taskIds)
      Description copied from interface: TaskCommentQuery
      Add your Task ids to your query.
      Specified by:
      taskIdIn in interface TaskCommentQuery
      Parameters:
      taskIds - the Task ids as Strings
      Returns:
      the query
    • textFieldLike

      public TaskCommentQuery textFieldLike(String... texts)
      Description copied from interface: TaskCommentQuery
      Add your texts for pattern matching to your query. It will be compared in SQL with the LIKE operator. You may use a wildcard like % to specify the pattern. If you specify multiple arguments they are combined with the OR keyword.
      Specified by:
      textFieldLike in interface TaskCommentQuery
      Parameters:
      texts - your texts of the TaskComment
      Returns:
      the query
    • textFieldNotLike

      public TaskCommentQuery textFieldNotLike(String... texts)
      Description copied from interface: TaskCommentQuery
      Add your texts for pattern matching to your query, which should not be contained. It will be compared in SQL with the LIKE operator. You may use a wildcard like % to specify the pattern. If you specify multiple arguments they are combined with the OR keyword.
      Specified by:
      textFieldNotLike in interface TaskCommentQuery
      Parameters:
      texts - your texts of the TaskComment
      Returns:
      the query
    • creatorIn

      public TaskCommentQuery creatorIn(String... creators)
      Description copied from interface: TaskCommentQuery
      Add the UserIds of the creator to your query.
      Specified by:
      creatorIn in interface TaskCommentQuery
      Parameters:
      creators - of the queried TaskComments
      Returns:
      the query
    • creatorNotIn

      public TaskCommentQuery creatorNotIn(String... creators)
      Description copied from interface: TaskCommentQuery
      Add the UserIds of the creator to your query, which should not be contained.
      Specified by:
      creatorNotIn in interface TaskCommentQuery
      Parameters:
      creators - of the queried TaskComments
      Returns:
      the query
    • creatorLike

      public TaskCommentQuery creatorLike(String... creators)
      Description copied from interface: TaskCommentQuery
      Add the UserIds of the creator for pattern matching to your query. It will be compared in SQL with the LIKE operator. You may use a wildcard like % to specify the pattern. If you specify multiple arguments they are combined with the OR keyword.
      Specified by:
      creatorLike in interface TaskCommentQuery
      Parameters:
      creators - of the queried TaskComments
      Returns:
      the query
    • creatorNotLike

      public TaskCommentQuery creatorNotLike(String... creators)
      Description copied from interface: TaskCommentQuery
      Add the UserIds of the creator for pattern matching to your query, which should not be contained. It will be compared in SQL with the LIKE operator. You may use a wildcard like % to specify the pattern. If you specify multiple arguments they are combined with the OR keyword.
      Specified by:
      creatorNotLike in interface TaskCommentQuery
      Parameters:
      creators - of the queried TaskComments
      Returns:
      the query
    • createdWithin

      public TaskCommentQuery createdWithin(TimeInterval... intervals)
      Description copied from interface: TaskCommentQuery
      Add the time intervals within which the TaskComment was created to your query. For each time interval, the database query will search for tasks whose created timestamp is after or at the interval's begin and before or at the interval's end. If more than one interval is specified, the query will connect them with the OR keyword. If either begin or end of an interval are null, these values will not be specified in the query.
      Specified by:
      createdWithin in interface TaskCommentQuery
      Parameters:
      intervals - - the TimeIntervals within which the TaskComment was created
      Returns:
      the query
    • createdNotWithin

      public TaskCommentQuery createdNotWithin(TimeInterval... intervals)
      Description copied from interface: TaskCommentQuery
      Add the time intervals within which the TaskComment was not created to your query. For each time interval, the database query will search for tasks whose created timestamp is after or at the interval's begin and before or at the interval's end. If more than one interval is specified, the query will connect them with the OR keyword. If either begin or end of an interval are null, these values will not be specified in the query.
      Specified by:
      createdNotWithin in interface TaskCommentQuery
      Parameters:
      intervals - - the TimeIntervals within which the TaskComment was created
      Returns:
      the query
    • modifiedWithin

      public TaskCommentQuery modifiedWithin(TimeInterval... intervals)
      Description copied from interface: TaskCommentQuery
      Add the time intervals within which the TaskComment was modified to your query. For each time interval, the database query will search for tasks whose modified timestamp is after or at the interval's begin and before or at the interval's end. If more than one interval is specified, the query will connect them with the OR keyword. If either begin or end of an interval are null, these values will not be specified in the query.
      Specified by:
      modifiedWithin in interface TaskCommentQuery
      Parameters:
      intervals - - the TimeIntervals within which the TaskComment was modified
      Returns:
      the query
    • modifiedNotWithin

      public TaskCommentQuery modifiedNotWithin(TimeInterval... intervals)
      Description copied from interface: TaskCommentQuery
      Add the time intervals within which the TaskComment was not modified to your query. For each time interval, the database query will search for tasks whose modified timestamp is after or at the interval's begin and before or at the interval's end. If more than one interval is specified, the query will connect them with the OR keyword. If either begin or end of an interval are null, these values will not be specified in the query.
      Specified by:
      modifiedNotWithin in interface TaskCommentQuery
      Parameters:
      intervals - - the TimeIntervals within which the TaskComment was modified
      Returns:
      the query
    • list

      public List<TaskComment> list()
      Specified by:
      list in interface BaseQuery<TaskComment,TaskCommentQueryColumnName>
    • list

      public List<TaskComment> list(int offset, int limit)
      Specified by:
      list in interface BaseQuery<TaskComment,TaskCommentQueryColumnName>
    • listValues

      public List<String> listValues(TaskCommentQueryColumnName columnName, BaseQuery.SortDirection sortDirection)
      Specified by:
      listValues in interface BaseQuery<TaskComment,TaskCommentQueryColumnName>
    • single

      public TaskComment single()
      Specified by:
      single in interface BaseQuery<TaskComment,TaskCommentQueryColumnName>
    • count

      public long count()
      Specified by:
      count in interface BaseQuery<TaskComment,TaskCommentQueryColumnName>
    • getQueryColumnName

      public TaskCommentQueryColumnName getQueryColumnName()
    • getIdIn

      public String[] getIdIn()
    • getIdNotIn

      public String[] getIdNotIn()
    • getIdLike

      public String[] getIdLike()
    • getIdNotLike

      public String[] getIdNotLike()
    • getTaskIdIn

      public String[] getTaskIdIn()
    • getCreatorIn

      public String[] getCreatorIn()
    • getCreatorNotIn

      public String[] getCreatorNotIn()
    • getCreatorLike

      public String[] getCreatorLike()
    • getCreatorNotLike

      public String[] getCreatorNotLike()
    • getTextFieldLike

      public String[] getTextFieldLike()
    • getTextFieldNotLike

      public String[] getTextFieldNotLike()
    • getModifiedIn

      public TimeInterval[] getModifiedIn()
    • getModifiedNotIn

      public TimeInterval[] getModifiedNotIn()
    • getCreatedIn

      public TimeInterval[] getCreatedIn()
    • getCreatedNotIn

      public TimeInterval[] getCreatedNotIn()
    • getAccessIdIn

      public String[] getAccessIdIn()
    • isIncludeLongName

      public boolean isIncludeLongName()
    • setIncludeLongName

      public void setIncludeLongName(boolean joinWithUserInfo)
    • orderByCreated

      public TaskCommentQuery orderByCreated(BaseQuery.SortDirection sortDirection)
      Description copied from interface: TaskCommentQuery
      This method sorts the query result according to the created timestamp.
      Specified by:
      orderByCreated in interface TaskCommentQuery
      Parameters:
      sortDirection - Determines whether the result is sorted in ascending or descending order. If sortDirection is null, the result is sorted in ascending order
      Returns:
      the query
    • orderByModified

      public TaskCommentQuery orderByModified(BaseQuery.SortDirection sortDirection)
      Description copied from interface: TaskCommentQuery
      This method sorts the query result according to the modified timestamp.
      Specified by:
      orderByModified in interface TaskCommentQuery
      Parameters:
      sortDirection - Determines whether the result is sorted in ascending or descending order. If sortDirection is null, the result is sorted in ascending order
      Returns:
      the query
    • toString

      public String toString()
      Overrides:
      toString in class Object