Package pro.taskana.workbasket.api
Interface WorkbasketAccessItemQuery
- All Superinterfaces:
BaseQuery<WorkbasketAccessItem,AccessItemQueryColumnName>
- All Known Implementing Classes:
WorkbasketAccessItemQueryImpl
public interface WorkbasketAccessItemQuery
extends BaseQuery<WorkbasketAccessItem,AccessItemQueryColumnName>
WorkbasketAccessItemQuery for generating dynamic SQL.
-
Nested Class Summary
Nested classes/interfaces inherited from interface pro.taskana.common.api.BaseQuery
BaseQuery.SortDirection -
Method Summary
Modifier and TypeMethodDescriptionaccessIdIn(String... accessIds) Add your accessIds to your query.accessIdLike(String... ids) Add keys to your query.Add your unique entry id to your query as filter.orderByAccessId(BaseQuery.SortDirection sortDirection) Sort the query result by access Id.orderById(BaseQuery.SortDirection sortDirection) Sort the query result by Id.orderByWorkbasketId(BaseQuery.SortDirection sortDirection) Sort the query result by workbasket id.orderByWorkbasketKey(BaseQuery.SortDirection sortDirection) Sort the query result by workbasket key.workbasketIdIn(String... workbasketIds) Add your workbasket id to your query.workbasketKeyIn(String... keys) Add your unique entry workbasket key to your query as filter.workbasketKeyLike(String... keys) Add keys to your query.
-
Method Details
-
idIn
Add your unique entry id to your query as filter.- Parameters:
ids- the unique entry IDs- Returns:
- the query
-
workbasketIdIn
Add your workbasket id to your query.- Parameters:
workbasketIds- the workbasket Id- Returns:
- the query
-
workbasketKeyIn
Add your unique entry workbasket key to your query as filter.- Parameters:
keys- the unique entry Keys- Returns:
- the query
-
workbasketKeyLike
Add keys to your query. The keys are compared case-insensitively to the keys of access items with the SQL LIKE operator. You may add a wildcard like '%' to search generically. If you specify multiple keys they are connected with an OR operator, this is, the query searches access items workbaskets whose keys are like key1 or like key2, etc.- Parameters:
keys- the keys as Strings- Returns:
- the query
-
accessIdIn
Add your accessIds to your query.- Parameters:
accessIds- as access Ids- Returns:
- the query
-
accessIdLike
Add keys to your query. The keys are compared case-insensitively to the keys of access items with the SQL LIKE operator. You may add a wildcard like '%' to search generically. If you specify multiple keys they are connected with an OR operator, this is, the query searches access items whose ids are like id1 or like id2, etc.- Parameters:
ids- the ids as Strings- Returns:
- the query
-
orderByWorkbasketId
Sort the query result by workbasket id.- 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
-
orderByWorkbasketKey
Sort the query result by workbasket key.- 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
-
orderByAccessId
Sort the query result by access Id.- 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
-
orderById
Sort the query result by Id.- 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
-