コード例 #1
0
 /**
  * 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);
 }
コード例 #2
0
 /**
  * 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);
 }
コード例 #3
0
 /**
  * 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);
 }
コード例 #4
0
 /**
  * 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);
 }
コード例 #5
0
 /**
  * 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);
 }
コード例 #6
0
 /**
  * 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);
 }
コード例 #7
0
 /**
  * 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);
 }
コード例 #8
0
 /**
  * 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);
 }
コード例 #9
0
 /**
  * Accessor for a new query.
  *
  * @param obj object
  * @return The new query
  */
 public Query newQuery(Object obj) {
   checkStatus();
   return pm.newQuery(obj);
 }
コード例 #10
0
 /**
  * Accessor for a new query.
  *
  * @return The query.
  */
 public Query newQuery() {
   checkStatus();
   return pm.newQuery();
 }