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 SummaryNested classes/interfaces inherited from interface ch.tocco.nice2.persist.core.api.query.QueryQuery.Mode
- 
Method SummaryModifier 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.QueryappendOrder, count, firstResult, firstResultOrNull, getKeys, getKeys, getManager, getOnlyResult, getOnlyResult, getOnlyResultOrNull, getOnlyResultOrNull, getOrdering, hasOrdering, prependOrder, setParameter, toQueryDefinition, uniqueResult, uniqueResultOrNull, withOrder
- 
Method Details- 
getSourceEntity getSource()
- 
getRelationModelRelationModel getRelationModel()
- 
executeRelation execute()Description copied from interface:QueryExecute the query inQuery.Mode.LAZYmode using the default limit.- Specified by:
- executein interface- Query
- Returns:
- The result of the query. To further process it use the EntityListsclass.
 
- 
executeDescription copied from interface:QueryExecute the query in the specifiedQuery.Modeusing the default limit.
- 
executeDeprecated.Description copied from interface:QueryExecute the query using the specified limit inQuery.Mode.LAZYmode.
- 
executeDeprecated.Description copied from interface:QueryExecute the query using the specified limit in the specifiedQuery.Mode.
- 
executeDescription copied from interface:QueryExecute the query using the specified pagination parameters inQuery.Mode.LAZYmode.
- 
executeDescription copied from interface:QueryExecute the query using the specified pagination parameters in the specifiedQuery.Mode.
 
-