org.datanucleus.jpa.state
Class JPAStateManagerImpl

java.lang.Object
  extended by org.datanucleus.state.AbstractStateManager
      extended by org.datanucleus.jdo.state.JDOStateManagerImpl
          extended by org.datanucleus.jpa.state.JPAStateManagerImpl
All Implemented Interfaces:
org.datanucleus.StateManager

public class JPAStateManagerImpl
extends org.datanucleus.jdo.state.JDOStateManagerImpl

StateManager for JPA. Currently extends JDO state manager, but in future should handle own capabilities.


Field Summary
 
Fields inherited from class org.datanucleus.jdo.state.JDOStateManagerImpl
objectValGenerators
 
Fields inherited from class org.datanucleus.state.AbstractStateManager
cmd, currFM, dirty, dirtyFields, loadedFields, LOCALISER, lockMode, myFP, myID, myInternalID, myLC, myOM, myPC, myVersion, pcObjectType, readWriteLock, restoreValues, transactionalVersion
 
Constructor Summary
JPAStateManagerImpl(org.datanucleus.ObjectManager om, org.datanucleus.metadata.AbstractClassMetaData cmd)
          Basic constructor.
 
Method Summary
 
Methods inherited from class org.datanucleus.jdo.state.JDOStateManagerImpl
addEmbeddedOwner, addInsertionNotifier, attach, attachCopy, becomingDeleted, cache, changeActivityState, checkInheritance, checkManagedRelations, clearFields, clearLoadedFlags, clearManagedRelations, clearNonPrimaryKeyFields, clearSavedFields, copyFieldsFromObject, deletePersistent, detach, detachCopy, disconnect, disconnectClone, dump, enlistInTransaction, evictFromTransaction, flush, getAssociatedValue, getEmbeddedOwners, getExternalObjectId, getObjectId, getObjectProvider, getObjectValueGenerator, getPersistenceManager, getReferencedPC, getRelationshipManager, getTransactionalObjectId, initialiseForCachedPC, initialiseForDetached, initialiseForEmbedded, initialiseForHollow, initialiseForHollowAppId, initialiseForHollowPreConstructed, initialiseForPersistentClean, initialiseForPersistentNew, initialiseForPNewToBeDeleted, initialiseForTransactionalTransient, isDeleting, isDetaching, isInserting, isLoaded, isUpdatingFieldForPostInsert, isWaitingToBeFlushedToDatastore, loadField, loadFieldFromDatastore, loadFieldsInFetchPlan, loadFieldValues, loadSpecifiedFields, loadUnloadedFields, loadUnloadedFieldsInFetchPlan, loadUnloadedFieldsInFetchPlanAndVersion, loadUnloadedFieldsOfClassInFetchPlan, locate, makeDirty, makeDirty, makePersistent, makeTransactional, makeTransient, markForInheritanceValidation, markPKFieldsAsLoaded, nullifyFields, postStateChange, preSerialize, preStateChange, processManagedRelations, provideField, provideFields, refreshFieldsInFetchPlan, refreshLoadedFields, registerTransactional, removeEmbeddedOwner, replaceAllLoadedSCOFieldsWithValues, replaceAllLoadedSCOFieldsWithWrappers, replaceField, replaceFields, replaceFields, replaceFieldValue, replaceManagedPC, replaceNonLoadedFields, replacingDetachedState, replacingFlags, replacingStateManager, resetDetachState, restoreFields, retrieveDetachState, runReachability, saveFields, setAssociatedValue, setBooleanField, setByteField, setCharField, setDoubleField, setFloatField, setIntField, setLongField, setObjectField, setPostStoreNewObjectId, setShortField, setStoringPC, setStringField, unloadField, unloadNonFetchPlanFields, unsetStoringPC, unwrapSCOField, updateFieldAfterInsert, validate, wrapSCOField
 
Methods inherited from class org.datanucleus.state.AbstractStateManager
clearDirtyFlags, clearDirtyFlags, clearFlags, clearFlags, equals, evict, getAllFieldNumbers, getAllFieldsLoaded, getBooleanField, getByteField, getCallbackHandler, getCharField, getClassMetaData, getDirtyFieldNames, getDirtyFieldNumbers, getDirtyFields, getDoubleField, getFlagsSetTo, getFlagsSetTo, getFloatField, getHighestFieldNumber, getInternalObjectId, getIntField, getLifecycleState, getLoadedFieldNames, getLoadedFieldNumbers, getLoadedFields, getLockMode, getLongField, getMetaDataManager, getNonPrimaryKeyFieldNumbers, getNonPrimaryKeyFields, getObject, getObjectField, getObjectManager, getPcObjectType, getSecondClassMutableFieldNumbers, getSecondClassMutableFields, getShortField, getStoreManager, getStringField, getTransactionalVersion, getVersion, initialiseFieldInformation, isDefaultFetchGroupLoaded, isDeleted, isDirty, isEmbedded, isFetchPlanLoaded, isFieldLoaded, isNew, isPersistent, isRestoreValues, isTransactional, lock, makeNontransactional, makePersistentTransactionalTransient, peekField, postCommit, preBegin, preRollback, providedBooleanField, providedByteField, providedCharField, providedDoubleField, providedFloatField, providedIntField, providedLongField, providedObjectField, providedShortField, providedStringField, refresh, replacingBooleanField, replacingByteField, replacingCharField, replacingDoubleField, replacingFloatField, replacingIntField, replacingLongField, replacingObjectField, replacingShortField, replacingStringField, retrieve, retrieve, setPcObjectType, setRestoreValues, setTransactionalVersion, setVersion, toString, transitionReadField, transitionWriteField, unlock
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface javax.jdo.spi.StateManager
getBooleanField, getByteField, getCharField, getDoubleField, getFloatField, getIntField, getLongField, getObjectField, getShortField, getStringField, getVersion, isDeleted, isDirty, isNew, isPersistent, isTransactional, providedBooleanField, providedByteField, providedCharField, providedDoubleField, providedFloatField, providedIntField, providedLongField, providedObjectField, providedShortField, providedStringField, replacingBooleanField, replacingByteField, replacingCharField, replacingDoubleField, replacingFloatField, replacingIntField, replacingLongField, replacingObjectField, replacingShortField, replacingStringField
 

Constructor Detail

JPAStateManagerImpl

public JPAStateManagerImpl(org.datanucleus.ObjectManager om,
                           org.datanucleus.metadata.AbstractClassMetaData cmd)
Basic constructor. Delegates to the superclass.

Parameters:
om - The ObjectManager
cmd - the metadata for the class.


Copyright © 2011. All Rights Reserved.