Method Summary |
|
public void | close(Object o) |
public void | closeAll() |
public void | compile() Compiles the query. |
public void | declareImports(String imports) Specifies the classes/packages imported by this query for use in the filter
and ordering expressions. |
public void | declareParameters(String params) Sets the parameters of this query. |
public void | declareVariables(String variables) Declares the variables used in the filter expression of this query. |
public Object | execute() Performs this query. |
public Object | execute(Object o) |
public Object | execute(Object o, Object o1) |
public Object | execute(Object o, Object o1, Object o2) |
public Object | executeWithArray(Object[] objects) |
public Object | executeWithMap(Map map) |
public Expression | getFilterExpression() Returns the filter expression. |
public boolean | getIgnoreCache() Determines whether this query ignores objects in the cache. |
public Collection | getImports() Returns the imports of this query. |
public Collection | getOrderings() Returns the orderings of this query. |
public LocalVariable | getParameter(String name) Returns the parameter of the given name if it exists. |
public Map | getParameters() Returns the parameters of this query. |
public PersistenceManager | getPersistenceManager() Returns the persistence manager that this query uses. |
public Class | getSearchedClass() Returns the class of the searched objects. |
public LocalVariable | getVariable(String name) Returns the variable of the given name if it exists. |
public Map | getVariables() Returns the variables of this query. |
QueryImpl | ojbClone() Creates an uncompiled deep clone of this query. |
public void | setCandidates(Extent extent) |
public void | setCandidates(Collection candidates) |
public void | setClass(Class searchedClass) Sets the class whose objects this query searches for. |
public void | setFilter(String filter) Sets the filter of this query. |
public void | setIgnoreCache(boolean shouldIgnoreCache) Specifies whether the query should ignore any objects in the cache. |
public void | setOrdering(String orderings) Defines the ordering of this query. |