Package | Description |
---|---|
org.nuclos.api.businessobject | |
org.nuclos.api.provider | |
org.nuclos.api.service |
Modifier and Type | Method and Description |
---|---|
Query<T> |
Query.and(Attribute element,
java.lang.Boolean ascending) |
Query<T> |
Query.and(SearchExpression elm) |
<P extends BusinessObject> |
Query.exist(Query<P> subQuery,
ForeignKeyAttribute element)
Combining the query with a subquery.
|
<P extends BusinessObject> |
Query.exist(Query<P> subQuery,
ForeignKeyAttribute elementMainQuery,
ForeignKeyAttribute elementSubQuery)
Combining the query with a subquery.
|
Query<T> |
Query.orderBy(Attribute element,
java.lang.Boolean ascending)
Use this method to set the Map of element that must be considered for ordering
Attach for each field a Boolean.TRUE for ascending a boolean.FALSE for descending ordering
|
Query<T> |
Query.setChunkSize(java.lang.Long chunkSize) |
Query<T> |
Query.setOffset(java.lang.Long offset)
Add offset and chunkSize for the search
|
Query<T> |
Query.where(SearchExpression elm)
Add QueryExpressions for the search
|
Modifier and Type | Method and Description |
---|---|
<P extends BusinessObject> |
Query.exist(Query<P> subQuery,
ForeignKeyAttribute element)
Combining the query with a subquery.
|
<P extends BusinessObject> |
Query.exist(Query<P> subQuery,
ForeignKeyAttribute elementMainQuery,
ForeignKeyAttribute elementSubQuery)
Combining the query with a subquery.
|
Modifier and Type | Method and Description |
---|---|
static <PK,T extends BusinessObject<PK>> |
QueryProvider.create(java.lang.Class<T> type)
This methods returns an instance of
Query that is type-specific to the class given
as parameter. |
Modifier and Type | Method and Description |
---|---|
static <PK,T extends BusinessObject<PK>> |
QueryProvider.execute(Query<T> query,
Attribute<?>... attributes)
This methods executes a
Query and returns a list of found BusinessObject of the type
determined by the Query type. |
static <PK,T extends BusinessObject<PK>> |
QueryProvider.executeSingleResult(Query<T> query,
Attribute<?>... attributes)
This methods executes a
Query and returns a single result BusinessObject of the type
determined by the Query type. |
Modifier and Type | Method and Description |
---|---|
<PK,T extends BusinessObject<PK>> |
QueryService.createQuery(java.lang.Class<T> type) |
Modifier and Type | Method and Description |
---|---|
<PK,T extends BusinessObject<PK>> |
QueryService.executeQuery(Query<T> query,
Attribute<?>... attributes) |
<PK,T extends BusinessObject<PK>> |
QueryService.executeQuerySingleResult(Query<T> query,
Attribute<?>... attributes) |
Copyright © 2024. All rights reserved.