Uses of Interface
org.nuclos.api.businessobject.Query
-
Uses of Query in org.nuclos.api.businessobject
Modifier and TypeMethodDescriptionQuery.and
(SearchExpression elm) <P extends BusinessObject>
Query<T>Query.exist
(Query<P> subQuery, ForeignKeyAttribute element) Combining the query with a subquery.<P extends BusinessObject>
Query<T>Query.exist
(Query<P> subQuery, ForeignKeyAttribute elementMainQuery, ForeignKeyAttribute elementSubQuery) Combining the query with a subquery.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 orderingQuery.setChunkSize
(Long chunkSize) Add offset and chunkSize for the searchQuery.where
(SearchExpression elm) Add QueryExpressions for the searchModifier and TypeMethodDescription<P extends BusinessObject>
Query<T>Query.exist
(Query<P> subQuery, ForeignKeyAttribute element) Combining the query with a subquery.<P extends BusinessObject>
Query<T>Query.exist
(Query<P> subQuery, ForeignKeyAttribute elementMainQuery, ForeignKeyAttribute elementSubQuery) Combining the query with a subquery. -
Uses of Query in org.nuclos.api.provider
Modifier and TypeMethodDescriptionstatic <PK,
T extends BusinessObject<PK>>
Query<T>This methods returns an instance ofQuery
that is type-specific to the class given as parameter.Modifier and TypeMethodDescriptionstatic <PK,
T extends BusinessObject<PK>>
List<T>This methods executes aQuery
and returns a list of foundBusinessObject
of the type determined by theQuery
type.static <PK,
T extends BusinessObject<PK>>
TQueryProvider.executeSingleResult
(Query<T> query, Attribute<?>... attributes) This methods executes aQuery
and returns a single resultBusinessObject
of the type determined by theQuery
type. -
Uses of Query in org.nuclos.api.service
Modifier and TypeMethodDescription<PK,
T extends BusinessObject<PK>>
Query<T>QueryService.createQuery
(Class<T> type) Modifier and TypeMethodDescription<PK,
T extends BusinessObject<PK>>
List<T>QueryService.executeQuery
(Query<T> query, Attribute<?>... attributes) <PK,
T extends BusinessObject<PK>>
TQueryService.executeQuerySingleResult
(Query<T> query, Attribute<?>... attributes)