org.apache.jdo.impl.fostore
Class FOStorePM

java.lang.Object
  extended by org.apache.jdo.impl.pm.PersistenceManagerImpl
      extended by org.apache.jdo.impl.fostore.FOStorePM
All Implemented Interfaces:
javax.jdo.PersistenceManager, PersistenceManagerInternal

public class FOStorePM
extends PersistenceManagerImpl

Subclass of #PersistenceManagerImpl implementing abstract methods newQuery.

Author:
Michael Watzek

Field Summary
 
Fields inherited from class org.apache.jdo.impl.pm.PersistenceManagerImpl
msg
 
Method Summary
 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 language, java.lang.Object query)
          Create a new Query using the specified language.
 
Methods inherited from class org.apache.jdo.impl.pm.PersistenceManagerImpl
afterCompletion, assertIsOpen, assertReadAllowed, close, currentTransaction, deletePersistent, deletePersistentAll, deletePersistentAll, deregister, deregisterJTA, deregisterTransient, equals, evict, evictAll, evictAll, evictAll, findStateManager, flush, flushInstances, forceClose, getContextClassLoaderPrivileged, getCurrentWrapper, getExtent, getIgnoreCache, getInsertedInstances, getInternalObjectId, getMultithreaded, getObjectById, getObjectId, getObjectIdClass, getPersistenceManagerFactory, getProperties, getStateManager, getStoreManager, getTransactionalObjectId, getUserObject, hashCode, hereIsStateManager, insideCommit, isClosed, isSupportedSCOType, loadClass, loadPCClassForObjectIdClass, makeNontransactional, makeNontransactionalAll, makeNontransactionalAll, makePersistent, makePersistentAll, makePersistentAll, makeTransactional, makeTransactionalAll, makeTransactionalAll, makeTransient, makeTransientAll, makeTransientAll, markAsFlushed, newCollectionInstanceInternal, newMapInstanceInternal, newObjectIdInstance, newSCOInstanceInternal, notifyOptimistic, notifyStatusChange, popCurrentWrapper, pushCurrentWrapper, refresh, refreshAll, refreshAll, refreshAll, register, registerTransient, replaceObjectId, retrieve, retrieveAll, retrieveAll, retrieveAll, retrieveAll, setIgnoreCache, setJTATransaction, setMultithreaded, setUserObject, verify
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

newQuery

public javax.jdo.Query newQuery()
Create a new Query with no elements.

Specified by:
newQuery in interface javax.jdo.PersistenceManager
Specified by:
newQuery in class PersistenceManagerImpl
Returns:
a new Query instance with no elements.

newQuery

public javax.jdo.Query newQuery(java.lang.Object compiled)
Create a new Query using elements from another Query. The other Query must have been created by the same JDO implementation. It might be active in a different PersistenceManager or might have been serialized and restored.

Specified by:
newQuery in interface javax.jdo.PersistenceManager
Specified by:
newQuery in class PersistenceManagerImpl
Parameters:
compiled - another Query from the same JDO implementation
Returns:
the new Query

newQuery

public javax.jdo.Query newQuery(java.lang.String language,
                                java.lang.Object query)
Create a new Query using the specified language.

Specified by:
newQuery in interface javax.jdo.PersistenceManager
Specified by:
newQuery in class PersistenceManagerImpl
Parameters:
language - the language of the query parameter
query - the query, which is of a form determined by the language
Returns:
the new Query

newQuery

public javax.jdo.Query newQuery(java.lang.Class cls)
Create a new Query specifying the Class of the results.

Specified by:
newQuery in interface javax.jdo.PersistenceManager
Specified by:
newQuery in class PersistenceManagerImpl
Parameters:
cls - the Class of the results
Returns:
the new Query

newQuery

public javax.jdo.Query newQuery(javax.jdo.Extent cln)
Create a new Query with the candidate Extent; the class is taken from the Extent.

Specified by:
newQuery in interface javax.jdo.PersistenceManager
Specified by:
newQuery in class PersistenceManagerImpl
Parameters:
cln - the Extent of candidate instances
Returns:
the new Query

newQuery

public 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.

Specified by:
newQuery in interface javax.jdo.PersistenceManager
Specified by:
newQuery in class PersistenceManagerImpl
Parameters:
cls - the Class of results
cln - the Collection of candidate instances
Returns:
the new Query

newQuery

public javax.jdo.Query newQuery(java.lang.Class cls,
                                java.lang.String filter)
Create a new Query with the Class of the results and Filter.

Specified by:
newQuery in interface javax.jdo.PersistenceManager
Specified by:
newQuery in class PersistenceManagerImpl
Parameters:
cls - the Class of results
filter - the Filter for candidate instances
Returns:
the new Query

newQuery

public 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.

Specified by:
newQuery in interface javax.jdo.PersistenceManager
Specified by:
newQuery in class PersistenceManagerImpl
Parameters:
cls - the Class of results
cln - the Collection of candidate instances
filter - the Filter for candidate instances
Returns:
the new Query

newQuery

public javax.jdo.Query newQuery(javax.jdo.Extent cln,
                                java.lang.String filter)
Create a new Query with the candidate Extent and Filter. The class is taken from the Extent.

Specified by:
newQuery in interface javax.jdo.PersistenceManager
Specified by:
newQuery in class PersistenceManagerImpl
Parameters:
cln - the Extent of candidate instances
filter - the Filter for candidate instances
Returns:
the new Query


Copyright © 2005-2009 Apache Software Foundation. All Rights Reserved.