T - specifies the return type of the follwing methodspublic interface BaseQuery<T>
| Modifier and Type | Method and Description |
|---|---|
List<T> |
list()
This method will return a list of defined
T objects. |
List<T> |
list(int offset,
int limit)
This method will return a list of defined
T objects with specified offset and an limit. |
T |
single()
This method will return a single object of
T. |
List<T> list() throws NotAuthorizedException
T objects.NotAuthorizedException - if the user is not authorized to perform this queryList<T> list(int offset, int limit) throws NotAuthorizedException
T objects with specified offset and an limit.offset - index of the first element which should be returned.limit - number of elements which should be returned beginning with offset.NotAuthorizedException - if the user is not authorized to perform this queryT single() throws NotAuthorizedException
T.NotAuthorizedException - if the user is not authorized to perform this queryCopyright © 2018. All rights reserved.