Uses of Interface
org.apache.jdo.state.StateManagerInternal

Packages that use StateManagerInternal
org.apache.jdo.impl.fostore This package contains the implementation of the File/Object Store JDO Reference Implementation (FOStore, pronounced "foster"). 
org.apache.jdo.impl.pm This package contains classes that are for use across all kinds of implementations of the JDO Reference Implementation. 
org.apache.jdo.impl.sco This package contains implementation of the SCO-related interfaces. 
org.apache.jdo.impl.state   
org.apache.jdo.pm This package contains provides internal interfaces for PersistenceManagerFactory and PersistenceManager extending the ones from javax.jdo. 
org.apache.jdo.store This package contains StoreManager and store-related interfaces plus an abstract StoreManager implementation. 
 

Uses of StateManagerInternal in org.apache.jdo.impl.fostore
 

Fields in org.apache.jdo.impl.fostore declared as StateManagerInternal
protected  StateManagerInternal AbstractRequest.sm
          The state manager which is the subject of this request.
private  StateManagerInternal FieldFetcher.sm
           
 

Methods in org.apache.jdo.impl.fostore that return StateManagerInternal
 StateManagerInternal AbstractRequest.getStateManager()
          Get the StateManager associated with this request, null if none.
 StateManagerInternal Request.getStateManager()
          Get the StateManager associated with this request, null if none.
(package private)  StateManagerInternal FieldFetcher.fetch(OID oid)
          Invoke this if you have an OID for the object that you're fetching.
 

Methods in org.apache.jdo.impl.fostore with parameters of type StateManagerInternal
(package private)  void AID.replaceProvisionalOIDWithReal(OID realOID, FOStorePMF pmf, StateManagerInternal sm)
          Replaces provisional oid with real oid (datastore identity only)
(package private)  void AID.copyKeyFieldsToPC(StateManagerInternal sm, FOStorePMF pmf, java.lang.Class pcClass, int[] pkfields)
          Copy key fields from OID into PC instance.
(package private)  void OID.replaceProvisionalOIDWithReal(OID realOID, FOStorePMF pmf, StateManagerInternal sm)
          Replaces provisional oid with real oid (datastore identity only)
(package private)  void OID.copyKeyFieldsToPC(StateManagerInternal sm, FOStorePMF pmf, java.lang.Class pcClass, int[] pkfields)
          Copy key fields from OID into PC instance.
 CreateOIDRequest RequestFactory.getCreateOIDRequest(StateManagerInternal sm, Message m, FOStorePMF pmf, OID oid, PersistenceManagerInternal pm)
          Creates a request object that will get a datastore OID for a provisional OID.
 InsertRequest RequestFactory.getInsertRequest(StateManagerInternal sm, Message m, FOStorePMF pmf)
          Creates a request object to cause a persistent object to be inserted into the datastore.
 UpdateRequest RequestFactory.getUpdateRequest(StateManagerInternal sm, Message m, FOStorePMF pmf, java.util.BitSet loadedFields, java.util.BitSet dirtyFields, boolean optimistic)
          Creates a request object to cause one or more fields of a persistent object to be updated in the store.
 VerifyRequest RequestFactory.getVerifyRequest(StateManagerInternal sm, Message m, FOStorePMF pmf, boolean verifyFields, java.util.BitSet loadedFields)
          Creates a request object to verify that in-memory data is the same as that in the database.
 FetchRequest RequestFactory.getFetchRequest(StateManagerInternal sm, Message m, FOStorePMF pmf)
          Creates a request object to cause one or more fields of a persistent object to be read from the store.
 DeleteRequest RequestFactory.getDeleteRequest(StateManagerInternal sm, Message m, FOStorePMF pmf)
          Creates a request object to cause a persistent object in the store to be deleted.
 CreateOIDRequest BufferedRequestFactory.getCreateOIDRequest(StateManagerInternal sm, Message m, FOStorePMF pmf, OID oid, PersistenceManagerInternal pm)
           
 InsertRequest BufferedRequestFactory.getInsertRequest(StateManagerInternal sm, Message m, FOStorePMF pmf)
           
 UpdateRequest BufferedRequestFactory.getUpdateRequest(StateManagerInternal sm, Message m, FOStorePMF pmf, java.util.BitSet loadedFields, java.util.BitSet dirtyFields, boolean optimistic)
           
 VerifyRequest BufferedRequestFactory.getVerifyRequest(StateManagerInternal sm, Message m, FOStorePMF pmf, boolean verifyFields, java.util.BitSet fieldsToVerify)
           
 FetchRequest BufferedRequestFactory.getFetchRequest(StateManagerInternal sm, Message m, FOStorePMF pmf)
           
 DeleteRequest BufferedRequestFactory.getDeleteRequest(StateManagerInternal sm, Message m, FOStorePMF pmf)
           
 int FOStoreStoreManager.insert(java.util.BitSet loadedFields, java.util.BitSet dirtyFields, StateManagerInternal sm)
           
 int FOStoreStoreManager.update(java.util.BitSet loadedFields, java.util.BitSet dirtyFields, StateManagerInternal sm)
           
 int FOStoreStoreManager.verifyFields(java.util.BitSet ignoredFields, java.util.BitSet fieldsToVerify, StateManagerInternal sm)
           
 int FOStoreStoreManager.delete(java.util.BitSet loadedFields, java.util.BitSet dirtyFields, StateManagerInternal sm)
           
 void FOStoreStoreManager.fetch(StateManagerInternal sm, int[] fieldNums)
           
 java.lang.Object FOStoreStoreManager.createObjectId(StateManagerInternal sm, PersistenceManagerInternal pm)
          Creates a new object id for the given sm.
 OID FOStoreStoreManager.createInternalObjectId(StateManagerInternal sm, javax.jdo.spi.PersistenceCapable pc, java.lang.Object oid, java.lang.Class cls, PersistenceManagerInternal pm)
          Creates a new object id for the given class.
 void FOStoreStoreManager.copyKeyFieldsFromObjectId(StateManagerInternal sm, java.lang.Class pcClass)
           
private  boolean FOStoreStoreManager.verify(StateManagerInternal sm, boolean verifyFields, java.util.BitSet fieldsToVerify)
          Verifies existence or values of a state manager's object in the database.
(package private)  void FieldFetcher.fetch(StateManagerInternal sm, OID oid)
          Invoke this if you have a StateManagerInternal for the object that you're fetching.
 

Constructors in org.apache.jdo.impl.fostore with parameters of type StateManagerInternal
CreateOIDRequest(StateManagerInternal sm, Message m, FOStorePMF pmf, OID oid, PersistenceManagerInternal pm)
           
AbstractRequest(StateManagerInternal sm, Message m, FOStorePMF pmf)
           
InsertRequest(StateManagerInternal sm, Message m, FOStorePMF pmf)
           
AbstractFieldRequest(StateManagerInternal sm, Message m, FOStorePMF pmf)
           
UpdateRequest(StateManagerInternal sm, Message m, FOStorePMF pmf, java.util.BitSet loadedFields, java.util.BitSet dirtyFields, boolean optimistic)
           
VerifyRequest(StateManagerInternal sm, Message m, FOStorePMF pmf, boolean verifyFields, java.util.BitSet fieldsToVerify)
           
FetchRequest(StateManagerInternal sm, Message m, FOStorePMF pmf)
           
DeleteRequest(StateManagerInternal sm, Message m, FOStorePMF pmf)
           
 

Uses of StateManagerInternal in org.apache.jdo.impl.pm
 

Fields in org.apache.jdo.impl.pm declared as StateManagerInternal
private  StateManagerInternal PersistenceManagerImpl.lookingFor
          Helper objects to identify StateManager associated with the given PersistenceCapable instance
 

Methods in org.apache.jdo.impl.pm that return StateManagerInternal
 StateManagerInternal PersistenceManagerImpl.getStateManager(java.lang.Object oid, java.lang.Class pcClass)
           
 StateManagerInternal PersistenceManagerImpl.findStateManager(javax.jdo.spi.PersistenceCapable pc)
          A helper method to find the StateManager associated with this PC instance
protected  StateManagerInternal CacheManagerImpl.getStateManager(java.lang.Object oid, java.lang.Class pcClass)
          Returns StateManager instance associated with this instance of ObjectId Creates a Hollow instance of a PersistenceCapable object, if it cannot be found in the cache
private  StateManagerInternal CacheManagerImpl.getStateManager(java.lang.Object oid, boolean validate)
          Returns StateManager instance associated with this instance of ObjectId
private  StateManagerInternal CacheManagerImpl.createNewSM(java.lang.Object UserOid, java.lang.Object internalOid, java.lang.Class candidateClassType)
          Creates new StateManager instance associated with this instance of ObjectId.
 

Methods in org.apache.jdo.impl.pm with parameters of type StateManagerInternal
 void PersistenceManagerImpl.register(StateManagerInternal sm, java.lang.Object oid, boolean transactional, boolean throwDuplicateException)
           
 void PersistenceManagerImpl.registerTransient(StateManagerInternal sm)
           
 void PersistenceManagerImpl.deregisterTransient(StateManagerInternal sm)
           
 void PersistenceManagerImpl.markAsFlushed(StateManagerInternal sm)
           
 void PersistenceManagerImpl.hereIsStateManager(StateManagerInternal sm, javax.jdo.spi.PersistenceCapable pc)
          A helper method called from the StateManager inside getPersistenceManager() to identify StateManager associated with this PC instance
protected  void CacheManagerImpl.registerTransient(StateManagerInternal sm)
          Register transient instance in the transient cache
protected  void CacheManagerImpl.register(StateManagerInternal sm, java.lang.Object oid, boolean transactional, boolean throwDuplicateException)
          Register persistent instance in the transactional cache
protected  void CacheManagerImpl.markAsFlushed(StateManagerInternal sm)
           
 

Uses of StateManagerInternal in org.apache.jdo.impl.sco
 

Fields in org.apache.jdo.impl.sco declared as StateManagerInternal
private  StateManagerInternal Date.owner
           
private  StateManagerInternal SqlDate.owner
           
private  StateManagerInternal ArrayList.owner
           
private  StateManagerInternal Vector.owner
           
private  StateManagerInternal HashSet.owner
           
private  StateManagerInternal TreeSet.owner
           
private  StateManagerInternal LinkedList.owner
           
private  StateManagerInternal HashMap.owner
           
private  StateManagerInternal Hashtable.owner
           
private  StateManagerInternal TreeMap.owner
           
private  StateManagerInternal SqlTime.owner
           
private  StateManagerInternal SqlTimestamp.owner
           
 

Methods in org.apache.jdo.impl.sco with parameters of type StateManagerInternal
static java.util.Map.Entry[] Freezer.thaw(SCOMap map, StateManagerInternal owner, java.util.Map.Entry[] frozenEntries)
          Thaw the frozen elements of a map.
static java.lang.Object[] Freezer.thaw(SCOCollection sco, StateManagerInternal owner, java.lang.Object[] frozenElements)
          Thaw the frozen elements of a collection.
protected static java.lang.Object SCOHelper.getOwner(StateManagerInternal owner)
          Returns the owner object of the SCO instance
protected static java.lang.String SCOHelper.getFieldName(StateManagerInternal owner, int fieldNumber)
          Returns the field name
 

Uses of StateManagerInternal in org.apache.jdo.impl.state
 

Classes in org.apache.jdo.impl.state that implement StateManagerInternal
(package private)  class StateManagerImpl
          This is the StoreManager independent implemetation of javax.jdo.spi.StateManager interface.
 

Methods in org.apache.jdo.impl.state that return StateManagerInternal
static StateManagerInternal StateManagerFactory.newInstance(javax.jdo.spi.PersistenceCapable pc, PersistenceManagerInternal pm)
          Returns a new instance of a StateManagerInternal
static StateManagerInternal StateManagerFactory.newInstance(java.lang.Object userOid, java.lang.Object internalOid, PersistenceManagerInternal pm, java.lang.Class clazz)
          Returns a new instance of a StateManagerInternal.
 

Uses of StateManagerInternal in org.apache.jdo.pm
 

Methods in org.apache.jdo.pm that return StateManagerInternal
 StateManagerInternal PersistenceManagerInternal.getStateManager(java.lang.Object oid, java.lang.Class pcClass)
          Provides a StateManagerInternal for the given Object Id.
 StateManagerInternal PersistenceManagerInternal.findStateManager(javax.jdo.spi.PersistenceCapable pc)
          Finds a StateManagerInternal for the given PersistenceCapable object.
 

Methods in org.apache.jdo.pm with parameters of type StateManagerInternal
 void PersistenceManagerInternal.register(StateManagerInternal sm, java.lang.Object oid, boolean transactional, boolean throwDuplicateException)
          Adds persistent object to the cache.
 void PersistenceManagerInternal.registerTransient(StateManagerInternal sm)
          Adds transient object to the transient cache.
 void PersistenceManagerInternal.deregisterTransient(StateManagerInternal sm)
          Removes transient object from the transient cache.
 void PersistenceManagerInternal.hereIsStateManager(StateManagerInternal sm, javax.jdo.spi.PersistenceCapable pc)
          A helper method called from the StateManager inside getPersistenceManager() to identify StateManager associated with this PC instance
 void PersistenceManagerInternal.markAsFlushed(StateManagerInternal sm)
          Called by StateManagerInternal#markAsFlushed() to adjust transactional cache(s) if necessary after successful flush to the data store.
 

Uses of StateManagerInternal in org.apache.jdo.store
 

Methods in org.apache.jdo.store with parameters of type StateManagerInternal
 int StoreManager.insert(java.util.BitSet loadedFields, java.util.BitSet dirtyFields, StateManagerInternal sm)
          Causes the object managed by the given state manager's object to be inserted into the database.
 int StoreManager.update(java.util.BitSet loadedFields, java.util.BitSet dirtyFields, StateManagerInternal sm)
          Causes the object managed by the given state manager to be updated in the database.
 int StoreManager.verifyFields(java.util.BitSet loadedFields, java.util.BitSet dirtyFields, StateManagerInternal sm)
          Causes the object managed by the given state manager to be verified in the database.
 int StoreManager.delete(java.util.BitSet loadedFields, java.util.BitSet dirtyFields, StateManagerInternal sm)
          Causes the object managed by the given state manager to be deleted in the database.
 void StoreManager.fetch(StateManagerInternal sm, int[] fieldNums)
          Causes values for fields required by the state manager's object to be retrieved from the store and supplied to the state manager.
 java.lang.Object StoreManager.createObjectId(StateManagerInternal sm, PersistenceManagerInternal pm)
          Creates a new Object Id for the given StateManagerInternal.
 void StoreManager.copyKeyFieldsFromObjectId(StateManagerInternal sm, java.lang.Class pcClass)
          This method copies PK field values from internal Object Id into the Hollow instance.