com.force.sdk.jdo
Class ForceJDOPersistenceManager

java.lang.Object
  extended by org.datanucleus.jdo.JDOPersistenceManager
      extended by com.force.sdk.jdo.ForceJDOPersistenceManager
All Implemented Interfaces:
javax.jdo.PersistenceManager

public class ForceJDOPersistenceManager
extends org.datanucleus.jdo.JDOPersistenceManager

Extension of the JDOPersistenceManager to provide our own object manager and fetch plan.

Author:
Fiaz Hossain

Field Summary
 
Fields inherited from class org.datanucleus.jdo.JDOPersistenceManager
fetchPlan, jdotx, LOCALISER, LOCALISER_JDO, LOGGER, objectMgr, pmf
 
Constructor Summary
ForceJDOPersistenceManager(org.datanucleus.jdo.JDOPersistenceManagerFactory apmf, String userName, String password)
          Constructor for instantiating the Force.com object manager.
 
Method Summary
 
Methods inherited from class org.datanucleus.jdo.JDOPersistenceManager
addInstanceLifecycleListener, assertActiveTransaction, assertIsOpen, assertReadable, assertWritable, checkConsistency, close, currentTransaction, deletePersistent, deletePersistentAll, deletePersistentAll, detachCopy, detachCopyAll, detachCopyAll, evict, evictAll, evictAll, evictAll, evictAll, flush, getCopyOnAttach, getDataStoreConnection, getDatastoreReadTimeoutMillis, getDatastoreWriteTimeoutMillis, getDetachAllOnCommit, getExtent, getExtent, getFetchGroup, getFetchPlan, getIgnoreCache, getManagedObjects, getManagedObjects, getManagedObjects, getManagedObjects, getMultithreaded, getObjectById, getObjectById, getObjectById, getObjectId, getObjectIdClass, getObjectManager, getObjectsById, getObjectsById, getObjectsById, getObjectsById, getObjectsById, getPersistenceManagerFactory, getSequence, getServerDate, getTransactionalObjectId, getUserObject, getUserObject, hasPersistenceInformationForClass, internalClose, isClosed, makeNontransactional, makeNontransactionalAll, makeNontransactionalAll, makePersistent, makePersistentAll, makePersistentAll, makeTransactional, makeTransactionalAll, makeTransactionalAll, makeTransient, makeTransient, makeTransientAll, makeTransientAll, makeTransientAll, makeTransientAll, makeTransientAll, newInstance, newNamedQuery, newObjectIdInstance, newQuery, newQuery, newQuery, newQuery, newQuery, newQuery, newQuery, newQuery, newQuery, newQuery, newTypesafeQuery, putUserObject, refresh, refreshAll, refreshAll, refreshAll, refreshAll, removeInstanceLifecycleListener, removeUserObject, retrieve, retrieve, retrieveAll, retrieveAll, retrieveAll, retrieveAll, retrieveAll, setCopyOnAttach, setDatastoreReadTimeoutMillis, setDatastoreWriteTimeoutMillis, setDetachAllOnCommit, setIgnoreCache, setMultithreaded, setTransaction, setUserObject
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ForceJDOPersistenceManager

public ForceJDOPersistenceManager(org.datanucleus.jdo.JDOPersistenceManagerFactory apmf,
                                  String userName,
                                  String password)
Constructor for instantiating the Force.com object manager.

Parameters:
apmf - Persistence Manager Factory
userName - Username for the datastore
password - Password for the datastore


Copyright © 2011. All Rights Reserved.