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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description WorkbasketAccessItemQueryaccessIdIn(String... accessId)Add your accessIds to your query.WorkbasketAccessItemQueryaccessIdLike(String... ids)Add keys to your query.WorkbasketAccessItemQueryidIn(String... ids)Add your unique entry id to your query as filter.WorkbasketAccessItemQueryorderByAccessId(BaseQuery.SortDirection sortDirection)Sort the query result by access Id.WorkbasketAccessItemQueryorderById(BaseQuery.SortDirection sortDirection)Sort the query result by Id.WorkbasketAccessItemQueryorderByWorkbasketId(BaseQuery.SortDirection sortDirection)Sort the query result by workbasket id.WorkbasketAccessItemQueryorderByWorkbasketKey(BaseQuery.SortDirection sortDirection)Sort the query result by workbasket key.WorkbasketAccessItemQueryworkbasketIdIn(String... workbasketId)Add your workbasket id to your query.WorkbasketAccessItemQueryworkbasketKeyIn(String... keys)Add your unique entry workbasket key to your query as filter.WorkbasketAccessItemQueryworkbasketKeyLike(String... key)Add keys to your query.-
Methods inherited from interface pro.taskana.common.api.BaseQuery
count, list, list, listPage, listValues, single, toLowerCopy
-
-
-
-
Method Detail
-
idIn
WorkbasketAccessItemQuery idIn(String... ids)
Add your unique entry id to your query as filter.- Parameters:
ids- the unique entry IDs- Returns:
- the query
-
workbasketIdIn
WorkbasketAccessItemQuery workbasketIdIn(String... workbasketId)
Add your workbasket id to your query.- Parameters:
workbasketId- the workbasket Id- Returns:
- the query
-
workbasketKeyIn
WorkbasketAccessItemQuery workbasketKeyIn(String... keys)
Add your unique entry workbasket key to your query as filter.- Parameters:
keys- the unique entry Keys- Returns:
- the query
-
workbasketKeyLike
WorkbasketAccessItemQuery workbasketKeyLike(String... key)
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:
key- the keys as Strings- Returns:
- the query
-
accessIdIn
WorkbasketAccessItemQuery accessIdIn(String... accessId)
Add your accessIds to your query.- Parameters:
accessId- as access Ids- Returns:
- the query
-
accessIdLike
WorkbasketAccessItemQuery accessIdLike(String... ids)
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
WorkbasketAccessItemQuery orderByWorkbasketId(BaseQuery.SortDirection sortDirection)
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
WorkbasketAccessItemQuery orderByWorkbasketKey(BaseQuery.SortDirection sortDirection)
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
WorkbasketAccessItemQuery orderByAccessId(BaseQuery.SortDirection sortDirection)
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
WorkbasketAccessItemQuery orderById(BaseQuery.SortDirection sortDirection)
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
-
-