public class WorkbasketAccessItemQueryImpl extends Object implements WorkbasketAccessItemQuery
BaseQuery.SortDirection| Modifier and Type | Method and Description |
|---|---|
WorkbasketAccessItemQuery |
accessIdIn(String... accessId)
Add your accessIds to your query.
|
long |
count()
Counting the amount of rows/results for the current query.
|
String[] |
getAccessIdIn() |
List<String> |
getOrderBy() |
String[] |
getWorkbasketKeyIn() |
List<WorkbasketAccessItem> |
list()
This method will return a list of defined
T objects. |
List<WorkbasketAccessItem> |
list(int offset,
int limit)
This method will return a list of defined
T objects with specified offset and an limit. |
WorkbasketAccessItemQuery |
orderByAccessId(BaseQuery.SortDirection sortDirection)
Sort the query result by access Id.
|
WorkbasketAccessItemQuery |
orderByWorkbasketKey(BaseQuery.SortDirection sortDirection)
Sort the query result by workbasket key.
|
WorkbasketAccessItem |
single()
This method will return a single object of
T. |
String |
toString() |
WorkbasketAccessItemQuery |
workbasketKeyIn(String... key)
Add your workbasket key to your query.
|
public WorkbasketAccessItemQuery workbasketKeyIn(String... key)
WorkbasketAccessItemQueryworkbasketKeyIn in interface WorkbasketAccessItemQuerykey - the workbasket keypublic WorkbasketAccessItemQuery accessIdIn(String... accessId)
WorkbasketAccessItemQueryaccessIdIn in interface WorkbasketAccessItemQueryaccessId - as access Idspublic WorkbasketAccessItemQuery orderByWorkbasketKey(BaseQuery.SortDirection sortDirection)
WorkbasketAccessItemQueryorderByWorkbasketKey in interface WorkbasketAccessItemQuerysortDirection - Determines whether the result is sorted in ascending or descending order. If sortDirection is null,
the result is sorted in ascending orderpublic WorkbasketAccessItemQuery orderByAccessId(BaseQuery.SortDirection sortDirection)
WorkbasketAccessItemQueryorderByAccessId in interface WorkbasketAccessItemQuerysortDirection - Determines whether the result is sorted in ascending or descending order. If sortDirection is null,
the result is sorted in ascending orderpublic List<WorkbasketAccessItem> list()
BaseQueryT objects. In case of a TaskQuery, this method can throw a
NotAuthorizedToQueryWorkbasketException.list in interface BaseQuery<WorkbasketAccessItem>public List<WorkbasketAccessItem> list(int offset, int limit)
BaseQueryT objects with specified offset and an limit. In case of a
TaskQuery, this method can throw a NotAuthorizedToQueryWorkbasketException.list in interface BaseQuery<WorkbasketAccessItem>offset - index of the first element which should be returned.limit - number of elements which should be returned beginning with offset.public WorkbasketAccessItem single()
BaseQueryT. In case of a TaskQuery, this method can throw a
NotAuthorizedToQueryWorkbasketException.single in interface BaseQuery<WorkbasketAccessItem>public long count()
BaseQuerycount in interface BaseQuery<WorkbasketAccessItem>public String[] getAccessIdIn()
public String[] getWorkbasketKeyIn()
Copyright © 2018. All rights reserved.