public class FOStorePM
extends org.apache.jdo.impl.pm.PersistenceManagerImpl
#PersistenceManagerImpl
implementing
abstract methods newQuery
.Modifier and Type | Method and Description |
---|---|
javax.jdo.Query |
newNamedQuery(java.lang.Class cls,
java.lang.String queryName)
Create a new
Query with the given candidate class
from a named query. |
javax.jdo.Query |
newQuery()
Create a new Query with no elements.
|
javax.jdo.Query |
newQuery(java.lang.Class cls)
Create a new Query specifying the Class of the results.
|
javax.jdo.Query |
newQuery(java.lang.Class cls,
java.util.Collection cln)
Create a new Query with the Class of the results and candidate
Collection.
|
javax.jdo.Query |
newQuery(java.lang.Class cls,
java.util.Collection cln,
java.lang.String filter)
Create a new Query with the Class of the results, candidate Collection,
and Filter.
|
javax.jdo.Query |
newQuery(java.lang.Class cls,
java.lang.String filter)
Create a new Query with the Class of the results and Filter.
|
javax.jdo.Query |
newQuery(javax.jdo.Extent cln)
Create a new Query with the candidate Extent; the class is taken
from the Extent.
|
javax.jdo.Query |
newQuery(javax.jdo.Extent cln,
java.lang.String filter)
Create a new Query with the candidate Extent and Filter.
|
javax.jdo.Query |
newQuery(java.lang.Object compiled)
Create a new Query using elements from another Query.
|
javax.jdo.Query |
newQuery(java.lang.String query)
Create a Construct a new query instance using the specified String
as the single-string representation of the query.
|
javax.jdo.Query |
newQuery(java.lang.String language,
java.lang.Object query)
Create a new Query using the specified language.
|
addInstanceLifecycleListener, afterCompletion, assertIsOpen, assertReadAllowed, attachCopy, attachCopyAll, attachCopyAll, checkConsistency, close, currentTransaction, deletePersistent, deletePersistentAll, deletePersistentAll, deregister, deregisterJTA, deregisterTransient, detachCopy, detachCopyAll, detachCopyAll, equals, evict, evictAll, evictAll, evictAll, findStateManager, flush, flushInstances, forceClose, getContextClassLoaderPrivileged, getCurrentWrapper, getDataStoreConnection, getDetachAllOnCommit, getExtent, getExtent, getFetchPlan, getIgnoreCache, getInsertedInstances, getInternalObjectId, getMultithreaded, getObjectById, getObjectById, getObjectById, getObjectId, getObjectIdClass, getObjectsById, getObjectsById, getObjectsById, getObjectsById, getPersistenceManagerFactory, getProperties, getSequence, getStateManager, getStoreManager, getTransactionalObjectId, getUserObject, getUserObject, hashCode, hereIsStateManager, insideCommit, isClosed, isSupportedSCOType, loadClass, loadPCClassForObjectIdClass, makeNontransactional, makeNontransactionalAll, makeNontransactionalAll, makePersistent, makePersistentAll, makePersistentAll, makeTransactional, makeTransactionalAll, makeTransactionalAll, makeTransient, makeTransient, makeTransientAll, makeTransientAll, makeTransientAll, makeTransientAll, markAsFlushed, newCollectionInstanceInternal, newInstance, newMapInstanceInternal, newObjectIdInstance, newSCOInstanceInternal, notifyOptimistic, notifyStatusChange, popCurrentWrapper, pushCurrentWrapper, putUserObject, refresh, refreshAll, refreshAll, refreshAll, refreshAll, register, registerTransient, removeInstanceLifecycleListener, removeUserObject, replaceObjectId, retrieve, retrieve, retrieveAll, retrieveAll, retrieveAll, retrieveAll, setDetachAllOnCommit, setIgnoreCache, setJTATransaction, setMultithreaded, setStoreManager, setUserObject, verify
public javax.jdo.Query newQuery()
newQuery
in interface javax.jdo.PersistenceManager
newQuery
in class org.apache.jdo.impl.pm.PersistenceManagerImpl
public javax.jdo.Query newQuery(java.lang.Object compiled)
newQuery
in interface javax.jdo.PersistenceManager
newQuery
in class org.apache.jdo.impl.pm.PersistenceManagerImpl
compiled
- another Query from the same JDO implementationpublic javax.jdo.Query newQuery(java.lang.String query)
newQuery
in interface javax.jdo.PersistenceManager
newQuery
in class org.apache.jdo.impl.pm.PersistenceManagerImpl
query
- the single-string queryQuery
public javax.jdo.Query newQuery(java.lang.String language, java.lang.Object query)
newQuery
in interface javax.jdo.PersistenceManager
newQuery
in class org.apache.jdo.impl.pm.PersistenceManagerImpl
language
- the language of the query parameterquery
- the query, which is of a form determined by the languagepublic javax.jdo.Query newQuery(java.lang.Class cls)
newQuery
in interface javax.jdo.PersistenceManager
newQuery
in class org.apache.jdo.impl.pm.PersistenceManagerImpl
cls
- the Class of the resultspublic javax.jdo.Query newQuery(javax.jdo.Extent cln)
newQuery
in interface javax.jdo.PersistenceManager
newQuery
in class org.apache.jdo.impl.pm.PersistenceManagerImpl
cln
- the Extent of candidate instancespublic javax.jdo.Query newQuery(java.lang.Class cls, java.util.Collection cln)
newQuery
in interface javax.jdo.PersistenceManager
newQuery
in class org.apache.jdo.impl.pm.PersistenceManagerImpl
cls
- the Class of resultscln
- the Collection of candidate instancespublic javax.jdo.Query newQuery(java.lang.Class cls, java.lang.String filter)
newQuery
in interface javax.jdo.PersistenceManager
newQuery
in class org.apache.jdo.impl.pm.PersistenceManagerImpl
cls
- the Class of resultsfilter
- the Filter for candidate instancespublic javax.jdo.Query newQuery(java.lang.Class cls, java.util.Collection cln, java.lang.String filter)
newQuery
in interface javax.jdo.PersistenceManager
newQuery
in class org.apache.jdo.impl.pm.PersistenceManagerImpl
cls
- the Class of resultscln
- the Collection of candidate instancesfilter
- the Filter for candidate instancespublic javax.jdo.Query newQuery(javax.jdo.Extent cln, java.lang.String filter)
newQuery
in interface javax.jdo.PersistenceManager
newQuery
in class org.apache.jdo.impl.pm.PersistenceManagerImpl
cln
- the Extent of candidate instancesfilter
- the Filter for candidate instancespublic javax.jdo.Query newNamedQuery(java.lang.Class cls, java.lang.String queryName)
Query
with the given candidate class
from a named query. The query name given must be the name of a
query defined in metadata.newNamedQuery
in interface javax.jdo.PersistenceManager
newNamedQuery
in class org.apache.jdo.impl.pm.PersistenceManagerImpl
cls
- the Class
of candidate instancesqueryName
- the name of the query to look up in metadataQuery
Copyright © 2005-2012 Apache Software Foundation. All Rights Reserved.