|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.jdo.impl.pm.PersistenceManagerImpl
org.apache.jdo.impl.fostore.FOStorePM
Subclass of #PersistenceManagerImpl
implementing
abstract methods newQuery
.
Nested Class Summary |
Nested classes inherited from class org.apache.jdo.impl.pm.PersistenceManagerImpl |
|
Field Summary | |
private org.apache.jdo.jdoql.JDOQLQueryFactory |
jdoqlQueryFactory
The JDOQLQueryFactory. |
Fields inherited from class org.apache.jdo.impl.pm.PersistenceManagerImpl |
msg |
Constructor Summary | |
(package private) |
FOStorePM(FOStorePMF pmf,
java.lang.String username,
java.lang.String password)
Constructs new instance of PersistenceManagerImpl for this PersistenceManagerFactoryInternal and particular combination of username and password. |
Method Summary | |
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. |
Methods inherited from class org.apache.jdo.impl.pm.PersistenceManagerImpl |
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 |
Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
private org.apache.jdo.jdoql.JDOQLQueryFactory jdoqlQueryFactory
Constructor Detail |
FOStorePM(FOStorePMF pmf, java.lang.String username, java.lang.String password)
pmf
- calling PersistenceManagerFactory as
PersistenceManagerFactoryInternalusername
- user name used for accessing Connector or null if none
is provided.password
- user password used for accessing Connector or null if
none is provided.Method Detail |
public javax.jdo.Query newQuery()
public javax.jdo.Query newQuery(java.lang.Object compiled)
compiled
- another Query from the same JDO implementation
public javax.jdo.Query newQuery(java.lang.String query)
query
- the single-string query
Query
public javax.jdo.Query newQuery(java.lang.String language, java.lang.Object query)
language
- the language of the query parameterquery
- the query, which is of a form determined by the language
public javax.jdo.Query newQuery(java.lang.Class cls)
cls
- the Class of the results
public javax.jdo.Query newQuery(javax.jdo.Extent cln)
cln
- the Extent of candidate instances
public javax.jdo.Query newQuery(java.lang.Class cls, java.util.Collection cln)
cls
- the Class of resultscln
- the Collection of candidate instances
public javax.jdo.Query newQuery(java.lang.Class cls, java.lang.String filter)
cls
- the Class of resultsfilter
- the Filter for candidate instances
public javax.jdo.Query newQuery(java.lang.Class cls, java.util.Collection cln, java.lang.String filter)
cls
- the Class of resultscln
- the Collection of candidate instancesfilter
- the Filter for candidate instances
public javax.jdo.Query newQuery(javax.jdo.Extent cln, java.lang.String filter)
cln
- the Extent of candidate instancesfilter
- the Filter for candidate instances
public 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.
cls
- the Class
of candidate instancesqueryName
- the name of the query to look up in metadata
Query
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |