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