Interface RelationQuery
- All Superinterfaces:
Query
- All Known Implementing Classes:
AbstractRelationQueryAdapter,ToManyRelationQueryAdapter,ToOneRelationQueryAdapter
A specialised query variant used by the
Entity.resolve(String) method.-
Nested Class Summary
Nested classes/interfaces inherited from interface ch.tocco.nice2.persist.core.api.query.Query
Query.Mode -
Method Summary
Modifier and TypeMethodDescriptionexecute()Execute the query inQuery.Mode.LAZYmode using the default limit.execute(int limit) Deprecated.execute(int limit, Query.Mode mode) Deprecated.execute(Pagination pagination) Execute the query using the specified pagination parameters inQuery.Mode.LAZYmode.execute(Pagination pagination, Query.Mode mode) Execute the query using the specified pagination parameters in the specifiedQuery.Mode.execute(Query.Mode mode) Execute the query in the specifiedQuery.Modeusing the default limit.Methods inherited from interface ch.tocco.nice2.persist.core.api.query.Query
appendOrder, count, firstResult, firstResultOrNull, getKeys, getKeys, getManager, getOnlyResult, getOnlyResult, getOnlyResultOrNull, getOnlyResultOrNull, getOrdering, hasOrdering, prependOrder, setParameter, toQueryDefinition, uniqueResult, uniqueResultOrNull, withOrder
-
Method Details
-
getSource
Entity getSource() -
getRelationModel
RelationModel getRelationModel() -
execute
Relation execute()Description copied from interface:QueryExecute the query inQuery.Mode.LAZYmode using the default limit.- Specified by:
executein interfaceQuery- Returns:
- The result of the query. To further process it use the
EntityListsclass.
-
execute
Description copied from interface:QueryExecute the query in the specifiedQuery.Modeusing the default limit. -
execute
Deprecated.Description copied from interface:QueryExecute the query using the specified limit inQuery.Mode.LAZYmode. -
execute
Deprecated.Description copied from interface:QueryExecute the query using the specified limit in the specifiedQuery.Mode. -
execute
Description copied from interface:QueryExecute the query using the specified pagination parameters inQuery.Mode.LAZYmode. -
execute
Description copied from interface:QueryExecute the query using the specified pagination parameters in the specifiedQuery.Mode.
-