Package pro.taskana.task.api
Interface TaskCommentQuery
- All Superinterfaces:
BaseQuery<TaskComment,TaskCommentQueryColumnName>
- All Known Implementing Classes:
TaskCommentQueryImpl
TaskCommentQuery for generating dynamic sql.
-
Nested Class Summary
Nested classes/interfaces inherited from interface pro.taskana.common.api.BaseQuery
BaseQuery.SortDirection -
Method Summary
Modifier and TypeMethodDescriptioncreatedNotWithin(TimeInterval... intervals) Add the time intervals within which the TaskComment was not created to your query.createdWithin(TimeInterval... intervals) Add the time intervals within which the TaskComment was created to your query.Add the UserIds of the creator to your query.creatorLike(String... creators) Add the UserIds of the creator for pattern matching to your query.creatorNotIn(String... creators) Add the UserIds of the creator to your query, which should not be contained.creatorNotLike(String... creators) Add the UserIds of the creator for pattern matching to your query, which should not be contained.Filter for TaskComments which are containing one of the given taskCommentIds.Add your taskCommentIds for pattern matching to your query.Filter for TaskComments which are containing non of the given taskCommentIds.Add your taskCommentIds for pattern matching to your query, which should not be contained.modifiedNotWithin(TimeInterval... intervals) Add the time intervals within which the TaskComment was not modified to your query.modifiedWithin(TimeInterval... intervals) Add the time intervals within which the TaskComment was modified to your query.orderByCreated(BaseQuery.SortDirection sortDirection) This method sorts the query result according to the created timestamp.orderByModified(BaseQuery.SortDirection sortDirection) This method sorts the query result according to the modified timestamp.Add your Task ids to your query.textFieldLike(String... texts) Add your texts for pattern matching to your query.textFieldNotLike(String... texts) Add your texts for pattern matching to your query, which should not be contained.
-
Method Details
-
idIn
Filter for TaskComments which are containing one of the given taskCommentIds.- Parameters:
taskCommentIds- The ids of the searched-for TaskComments.- Returns:
- the query
-
idNotIn
Filter for TaskComments which are containing non of the given taskCommentIds.- Parameters:
taskCommentIds- The ids of the searched-for TaskComments.- Returns:
- the query
-
idLike
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.- Parameters:
taskCommentIds- The ids of the searched-for TaskComments.- Returns:
- the query
-
idNotLike
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.- Parameters:
taskCommentIds- The ids of the searched-for TaskComments.- Returns:
- the query
-
taskIdIn
Add your Task ids to your query.- Parameters:
taskIds- the Task ids as Strings- Returns:
- the query
-
textFieldLike
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.- Parameters:
texts- your texts of the TaskComment- Returns:
- the query
-
textFieldNotLike
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.- Parameters:
texts- your texts of the TaskComment- Returns:
- the query
-
creatorIn
Add the UserIds of the creator to your query.- Parameters:
creators- of the queried TaskComments- Returns:
- the query
-
creatorNotIn
Add the UserIds of the creator to your query, which should not be contained.- Parameters:
creators- of the queried TaskComments- Returns:
- the query
-
creatorLike
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.- Parameters:
creators- of the queried TaskComments- Returns:
- the query
-
creatorNotLike
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.- Parameters:
creators- of the queried TaskComments- Returns:
- the query
-
createdWithin
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.- Parameters:
intervals- - the TimeIntervals within which the TaskComment was created- Returns:
- the query
-
createdNotWithin
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.- Parameters:
intervals- - the TimeIntervals within which the TaskComment was created- Returns:
- the query
-
modifiedWithin
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.- Parameters:
intervals- - the TimeIntervals within which the TaskComment was modified- Returns:
- the query
-
modifiedNotWithin
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.- Parameters:
intervals- - the TimeIntervals within which the TaskComment was modified- Returns:
- the query
-
orderByCreated
This method sorts the query result according to the created timestamp.- 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
This method sorts the query result according to the modified timestamp.- 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
-