Class QueryExecutorImpl
java.lang.Object
ch.tocco.nice2.scripting.impl.groovy.variable.QueryExecutorImpl
- All Implemented Interfaces:
- QueryExecutor
- 
Constructor SummaryConstructorsConstructorDescriptionQueryExecutorImpl(PersistenceService persistService, QueryCompiler queryCompiler) 
- 
Method SummaryModifier and TypeMethodDescription<E extends Entity>
 longhelper method to count results found by the provided TQL condition.helper method to find entities by the provided TQL condition.helper method to find entities by the provided TQL condition.helper method to get all entities of a specific class<E extends Entity>
 EfindEntity(Class<E> entityClass, PrimaryKey key) helper method to find an entity by a key<E extends Entity>
 EfindLookupEntity(Class<E> entityClass, String uniqueId) The actual entity class needs to be used, so that static compilation is possible.Methods inherited from class java.lang.Objectclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface ch.tocco.nice2.scripting.api.groovy.variable.QueryExecutorunwrap
- 
Constructor Details- 
QueryExecutorImpl
 
- 
- 
Method Details- 
findEntityDescription copied from interface:QueryExecutorhelper method to find an entity by a key- Specified by:
- findEntityin interface- QueryExecutor
 
- 
findAllDescription copied from interface:QueryExecutorhelper method to get all entities of a specific class- Specified by:
- findAllin interface- QueryExecutor
 
- 
findLookupEntityThe actual entity class needs to be used, so that static compilation is possible. If the method would returnEntitythe compiler would not know the properties of the returned entity.- Specified by:
- findLookupEntityin interface- QueryExecutor
 
- 
findDescription copied from interface:QueryExecutorhelper method to find entities by the provided TQL condition.- Specified by:
- findin interface- QueryExecutor
 
- 
findDescription copied from interface:QueryExecutorhelper method to find entities by the provided TQL condition.- Specified by:
- findin interface- QueryExecutor
 
- 
countDescription copied from interface:QueryExecutorhelper method to count results found by the provided TQL condition.- Specified by:
- countin interface- QueryExecutor
 
 
-