/** * Accessor for a new query. * * @param cln The collection * @param filter The filter to use * @return The new query */ public Query newQuery(Extent cln, String filter) { checkStatus(); return pm.newQuery(cln, filter); }
/** * Accessor for a new query. * * @param cls The candidate class * @param filter The filter to use * @return The new query */ public Query newQuery(Class cls, String filter) { checkStatus(); return pm.newQuery(cls, filter); }
/** * Accessor for a new query. * * @param cls The candidate class * @param cln The collection * @param filter The filter to use * @return The new query */ public Query newQuery(Class cls, Collection cln, String filter) { checkStatus(); return pm.newQuery(cls, cln, filter); }
/** * Accessor for a new query based on the provided extent. * * @param ext The extent to use * @return The new query */ public Query newQuery(Extent ext) { checkStatus(); return pm.newQuery(ext); }
/** * Accessor for a new query. * * @param cls The candidate class. * @param cln The collection to use. * @return The new query */ public Query newQuery(Class cls, Collection cln) { checkStatus(); return pm.newQuery(cls, cln); }
/** * Accessor for a new query using this candidate class. * * @param cls The candidate class to use. * @return The new query */ public Query newQuery(Class cls) { checkStatus(); return pm.newQuery(cls); }
/** * Accessor for a new query in the specified query language etc. * * @param language The query language * @param query The query definition * @return The new query */ public Query newQuery(String language, Object query) { checkStatus(); return pm.newQuery(language, query); }
/** * Accessor for a single-string query. * * @param query The single-string query * @return The Query */ public Query newQuery(String query) { checkStatus(); return pm.newQuery(query); }
/** * Accessor for a new query. * * @param obj object * @return The new query */ public Query newQuery(Object obj) { checkStatus(); return pm.newQuery(obj); }
/** * Accessor for a new query. * * @return The query. */ public Query newQuery() { checkStatus(); return pm.newQuery(); }