|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface Query<T extends Query<?,?>,U>
Describes basic methods for querying.
| Method Summary | |
|---|---|
T |
asc()
Order the results ascending on the given property as defined in this class (needs to come after a call to one of the orderByXxxx methods). |
long |
count()
Executes the query and returns the number of results |
T |
desc()
Order the results descending on the given property as defined in this class (needs to come after a call to one of the orderByXxxx methods). |
List<U> |
list()
Executes the query and get a list of entities as the result. |
List<U> |
listPage(int firstResult,
int maxResults)
Executes the query and get a list of entities as the result. |
U |
singleResult()
Executes the query and returns the resulting entity or null if no entity matches the query criteria. |
| Method Detail |
|---|
T asc()
T desc()
long count()
U singleResult()
ProcessEngineException - when the query results in more than one
entities.List<U> list()
List<U> listPage(int firstResult,
int maxResults)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||