Uses of Interface
org.nuclos.api.businessobject.Query
Packages that use Query
-
Uses of Query in org.nuclos.api.businessobject
Methods in org.nuclos.api.businessobject that return QueryModifier 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 searchMethods in org.nuclos.api.businessobject with parameters of type QueryModifier 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
Methods in org.nuclos.api.provider that return QueryModifier 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.Methods in org.nuclos.api.provider with parameters of type QueryModifier 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
Methods in org.nuclos.api.service that return QueryModifier and TypeMethodDescription<PK,
T extends BusinessObject<PK>>
Query<T>QueryService.createQuery
(Class<T> type) Methods in org.nuclos.api.service with parameters of type QueryModifier 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)