Interface QueryExecutor
- All Known Implementing Classes:
QueryExecutorImpl
public interface QueryExecutor
An implementation of this interface is available to script listeners.
-
Method Summary
Modifier 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) helper method to find a lookup entity by unique iddefault QueryExecutor
unwrap()
make sure that no proxy object is passed to the script (the proxy class would be rejected by the security mechanism)
-
Method Details
-
findEntity
helper method to find an entity by a key -
findAll
helper method to get all entities of a specific class -
findLookupEntity
helper method to find a lookup entity by unique id -
find
helper method to find entities by the provided TQL condition. -
find
helper method to find entities by the provided TQL condition. -
count
helper method to count results found by the provided TQL condition. -
unwrap
make sure that no proxy object is passed to the script (the proxy class would be rejected by the security mechanism)
-