|
Kodo 4.1.4 generated on June 22 2007 | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectkodo.jdo.PersistenceManagerImpl
kodo.runtime.KodoPersistenceManager
public class KodoPersistenceManager
A Kodo 3.x backwards-compatible interface to persistence managers.
| Field Summary | |
|---|---|
static int |
LOOKUP_CHECK
Deprecated. |
static int |
LOOKUP_HOLLOW
Deprecated. |
| Fields inherited from interface org.apache.openjpa.kernel.ConnectionRetainModes |
|---|
CONN_RETAIN_ALWAYS, CONN_RETAIN_DEMAND, CONN_RETAIN_TRANS |
| Fields inherited from interface org.apache.openjpa.kernel.LockLevels |
|---|
LOCK_NONE, LOCK_READ, LOCK_WRITE |
| Fields inherited from interface org.apache.openjpa.kernel.AutoClear |
|---|
CLEAR_ALL, CLEAR_DATASTORE |
| Fields inherited from interface org.apache.openjpa.event.CallbackModes |
|---|
CALLBACK_FAIL_FAST, CALLBACK_IGNORE, CALLBACK_LOG, CALLBACK_RETHROW, CALLBACK_ROLLBACK |
| Fields inherited from interface org.apache.openjpa.kernel.AutoDetach |
|---|
DETACH_CLOSE, DETACH_COMMIT, DETACH_NONTXREAD, DETACH_ROLLBACK |
| Fields inherited from interface org.apache.openjpa.kernel.OpCallbacks |
|---|
ACT_CASCADE, ACT_NONE, ACT_RUN, OP_ATTACH, OP_DELETE, OP_DETACH, OP_EVICT, OP_LOCK, OP_NONTRANSACTIONAL, OP_PERSIST, OP_REFRESH, OP_RELEASE, OP_RETRIEVE, OP_TRANSACTIONAL |
| Constructor Summary | |
|---|---|
KodoPersistenceManager(KodoPersistenceManagerFactory pmf,
Broker broker)
Deprecated. |
|
| Method Summary | |
|---|---|
Object |
attach(Object pc)
Deprecated. |
Collection |
attachAll(Collection pcs)
Deprecated. |
Object[] |
attachAll(Object[] pcs)
Deprecated. |
Object |
detach(Object pc)
Deprecated. |
Collection |
detachAll(Collection pcs)
Deprecated. |
Object[] |
detachAll(Object[] pcs)
Deprecated. |
boolean |
getAttachFetchFields()
Deprecated. |
int |
getDetachFields()
Deprecated. |
boolean |
getDetachOnClose()
Deprecated. |
Extent |
getExtent(Class type)
Deprecated. |
Extent |
getExtent(Class type,
boolean subclasses)
Deprecated. |
FetchConfiguration |
getFetchConfiguration()
Deprecated. |
Object |
getObjectById(Object oid,
boolean validate)
Deprecated. |
int |
getObjectLookupMode()
Deprecated. |
Collection |
getObjectsById(Collection oids,
boolean validate)
Deprecated. |
Object[] |
getObjectsById(Object[] oids,
boolean validate)
Deprecated. |
PersistenceManagerFactory |
getPersistenceManagerFactory()
Deprecated. |
boolean |
getRetainValuesInOptimistic()
Deprecated. |
boolean |
isPopulateDataCache()
Deprecated. |
protected Query |
newQueryInternal(Query del)
Deprecated. |
void |
registerListener(TransactionListener tl)
Deprecated. |
boolean |
removeListener(TransactionListener tl)
Deprecated. |
void |
setAttachFetchFields(boolean attachFetchFields)
Deprecated. |
void |
setDetachFields(int mode)
Deprecated. |
void |
setDetachOnClose(boolean detach)
Deprecated. |
void |
setObjectLookupMode(int mode)
Deprecated. |
void |
setPopulateDataCache(boolean populate)
Deprecated. |
void |
setRetainValuesInOptimistic(boolean retain)
Deprecated. |
| Methods inherited from class kodo.jdo.PersistenceManagerImpl |
|---|
addInstanceLifecycleListener, addTransactionListener, attachCopy, attachCopyAll, attachCopyAll, begin, beginStore, cancelAll, checkConsistency, close, commit, commitAndResume, createInteraction, currentTransaction, deletePersistent, deletePersistentAll, deletePersistentAll, detachAll, detachCopy, detachCopyAll, detachCopyAll, equals, evict, evictAll, evictAll, evictAll, evictAll, evictAll, flush, getAddedClasses, getAutoClear, getCachedObjectById, getClassLoader, getConfiguration, getConnectionPassword, getConnectionRetainMode, getConnectionUserName, getDataStoreConnection, getDelegate, getDeletedClasses, getDetachAllOnClose, getDetachAllOnCommit, getDetachAllOnNontransactionalRead, getDetachAllOnRollback, getDirtyClasses, getDirtyObjects, getEvictFromDataStoreCache, getFetchPlan, getFieldSequence, getIdentitySequence, getIgnoreCache, getInstanceLifecycleListenerCallbackMode, getLocalTransaction, getManagedObjects, getManagedRuntime, getMetaData, getMultithreaded, getNontransactionalRead, getNontransactionalWrite, getObjectById, getObjectById, getObjectId, getObjectIdClass, getObjectsById, getObjectsById, getOptimistic, getOrderDirtyObjects, getPendingTransactionalObjects, getPersistenceManager, getPopulateDataStoreCache, getRestoreMutableValues, getRestoreValues, getResultSetInfo, getRetainValues, getRollbackOnly, getSequence, getSynchronization, getSyncWithManagedTransactions, getTransactionalObjectId, getTransactionalObjects, getTransactionListenerCallbackMode, getUpdatedClasses, getUserObject, getUserObject, hashCode, isActive, isClosed, isLargeTransaction, isManaged, isStoreActive, lockPersistent, lockPersistent, lockPersistentAll, lockPersistentAll, lockPersistentAll, lockPersistentAll, makeClassDirty, makeNontransactional, makeNontransactionalAll, makeNontransactionalAll, makePersistent, makePersistentAll, makePersistentAll, makeTransactional, makeTransactionalAll, makeTransactionalAll, makeTransient, makeTransient, makeTransientAll, makeTransientAll, makeTransientAll, makeTransientAll, newInstance, newNamedQuery, newObjectIdInstance, newQuery, newQuery, newQuery, newQuery, newQuery, newQuery, newQuery, newQuery, newQuery, newQuery, preFlush, processArgument, processArgument, processReturn, putUserObject, refresh, refreshAll, refreshAll, refreshAll, refreshAll, releaseSavepoint, releaseSavepoint, removeInstanceLifecycleListener, removeTransactionListener, removeUserObject, retrieve, retrieve, retrieveAll, retrieveAll, retrieveAll, retrieveAll, rollback, rollbackAndResume, rollbackToSavepoint, rollbackToSavepoint, setAutoClear, setDetachAllOnClose, setDetachAllOnCommit, setDetachAllOnNontransactionalRead, setDetachAllOnRollback, setEvictFromDataStoreCache, setIgnoreCache, setInstanceLifecycleListenerCallbackMode, setLargeTransaction, setMultithreaded, setNontransactionalRead, setNontransactionalWrite, setOptimistic, setOrderDirtyObjects, setPopulateDataStoreCache, setRestoreMutableValues, setRestoreValues, setRetainValues, setRollbackOnly, setSavepoint, setSynchronization, setSyncWithManagedTransactions, setTransactionListenerCallbackMode, setUserObject |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final int LOOKUP_CHECK
public static final int LOOKUP_HOLLOW
| Constructor Detail |
|---|
public KodoPersistenceManager(KodoPersistenceManagerFactory pmf,
Broker broker)
| Method Detail |
|---|
public PersistenceManagerFactory getPersistenceManagerFactory()
getPersistenceManagerFactory in interface PersistenceManagergetPersistenceManagerFactory in class kodo.jdo.PersistenceManagerImplpublic boolean getRetainValuesInOptimistic()
public void setRetainValuesInOptimistic(boolean retain)
public int getObjectLookupMode()
public void setObjectLookupMode(int mode)
public FetchConfiguration getFetchConfiguration()
public void registerListener(TransactionListener tl)
public boolean removeListener(TransactionListener tl)
public Object getObjectById(Object oid,
boolean validate)
getObjectById in interface PersistenceManagergetObjectById in class kodo.jdo.PersistenceManagerImpl
public Collection getObjectsById(Collection oids,
boolean validate)
getObjectsById in interface PersistenceManagergetObjectsById in class kodo.jdo.PersistenceManagerImpl
public Object[] getObjectsById(Object[] oids,
boolean validate)
getObjectsById in interface PersistenceManagergetObjectsById in class kodo.jdo.PersistenceManagerImplpublic boolean getDetachOnClose()
public void setDetachOnClose(boolean detach)
public void setAttachFetchFields(boolean attachFetchFields)
public boolean getAttachFetchFields()
public int getDetachFields()
public void setDetachFields(int mode)
public Object detach(Object pc)
public Collection detachAll(Collection pcs)
public Object[] detachAll(Object[] pcs)
public Object attach(Object pc)
public Collection attachAll(Collection pcs)
public Object[] attachAll(Object[] pcs)
public boolean isPopulateDataCache()
public void setPopulateDataCache(boolean populate)
public Extent getExtent(Class type)
getExtent in interface PersistenceManagergetExtent in class kodo.jdo.PersistenceManagerImpl
public Extent getExtent(Class type,
boolean subclasses)
getExtent in interface PersistenceManagergetExtent in class kodo.jdo.PersistenceManagerImplprotected Query newQueryInternal(Query del)
newQueryInternal in class kodo.jdo.PersistenceManagerImpl
|
Kodo 4.1.4 generated on June 22 2007 | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||