Uses of Interface
com.sun.jdo.spi.persistence.support.sqlstore.StateManager
-
-
Uses of StateManager in com.sun.jdo.spi.persistence.support.sqlstore
Classes in com.sun.jdo.spi.persistence.support.sqlstore that implement StateManager Modifier and Type Class Description classSQLStateManagerMethods in com.sun.jdo.spi.persistence.support.sqlstore that return StateManager Modifier and Type Method Description StateManagerPersistenceManager. findOrCreateStateManager(Object oid, Class pcClass)Returns StateManager instance for this Object Id.StateManagerVersionConsistencyCache. get(Class pcType, Object oid)Returns an SM, if found, else null.StateManagerPersistenceManager. getStateManager(Object pc)StateManagerPersistenceStore. getStateManager(Class classType)StateManagerSQLStoreManager. getStateManager(Class classType)StateManagerPersistenceCapable. jdoGetStateManager()Returns the associated state manager.StateManagerSCO. makeDirty()Marks object dirtyStateManagerVersionConsistencyCache. put(Class pcType, Object oid, StateManager sm)Puts the given StateManager into a map that is keyed by the given OID.StateManagerVersionConsistencyCache. remove(Class pcType, Object oid)Removes entry based on pc and oid.Methods in com.sun.jdo.spi.persistence.support.sqlstore with parameters of type StateManager Modifier and Type Method Description voidSQLStateManager. addDependency(StateManager sm)This method adds the dependency between this StateManager and the other.voidStateManager. addDependency(StateManager sm)Adds another StateManager to this StateManager dependencies list.voidSCO. applyUpdates(StateManager sm, boolean modified)Apply changes (can be a no-op)voidSQLStateManager. copyFields(StateManager source)voidStateManager. copyFields(StateManager source)Copies field values fromsourceto this StateManager's fields.voidPersistenceManager. deregisterInstance(Object oid, StateManager sm)Deregister an instance with this object Id, only if it holds the same instance.booleanPersistenceManager. initializeFromVersionConsistencyCache(StateManager sm)Looks up the given instance in the Version Consistency cache and if found, populates it from the cached values.ObjectPersistenceCapable. jdoNewInstance(StateManager statemanager)Creates an instance of the same class as this object.voidPersistenceCapable. jdoSetStateManager(StateManager sm)Sets the associated state manager.ObjectPersistenceManager. newInstance(StateManager sm)StateManagerVersionConsistencyCache. put(Class pcType, Object oid, StateManager sm)Puts the given StateManager into a map that is keyed by the given OID.voidPersistenceManager. registerInstance(StateManager sm, Object oid)Called by StateManager to register persistent instance at the rollback if it was removed from the global (weak) cache as the result of the replace operation.voidPersistenceManager. registerInstance(StateManager sm, Object oid, boolean throwDuplicateException, boolean forceRegister)Called by StateManager to register new instance.voidUpdateObjectDesc. setObjectInfo(StateManager biStateManager, StateManager aiStateManager, int action)voidPersistenceManager. setStateManager(Object pc, StateManager sm)voidSQLStateManager. updatePersistent(StateManager next)Stores the associated object in the datastore.voidStateManager. updatePersistent(StateManager next)... -
Uses of StateManager in com.sun.jdo.spi.persistence.support.sqlstore.impl
Methods in com.sun.jdo.spi.persistence.support.sqlstore.impl that return StateManager Modifier and Type Method Description StateManagerPersistenceManagerImpl. findOrCreateStateManager(Object oid, Class pcClass)Called internally byRetrieveDescto lookup an instance in the cache, or prepare new instance to be populated with values from the datastore.StateManagerVersionConsistencyCacheImpl. get(Class pcType, Object oid)StateManagerPersistenceManagerImpl. getStateManager(Object pc)StateManagerVersionConsistencyCacheImpl. put(Class pcType, Object oid, StateManager sm)StateManagerVersionConsistencyCacheImpl. remove(Class pcType, Object oid)Methods in com.sun.jdo.spi.persistence.support.sqlstore.impl with parameters of type StateManager Modifier and Type Method Description voidPersistenceManagerImpl. deregisterInstance(Object oid, StateManager sm)booleanPersistenceManagerImpl. initializeFromVersionConsistencyCache(StateManager sm)ObjectPersistenceManagerImpl. newInstance(StateManager sm)Returns a new instance of the object defined by the given StateManagerStateManagerVersionConsistencyCacheImpl. put(Class pcType, Object oid, StateManager sm)voidPersistenceManagerImpl. registerInstance(StateManager sm, Object oid)Register instance in the weak cache only.voidPersistenceManagerImpl. registerInstance(StateManager sm, Object oid, boolean throwDuplicateException, boolean forceRegister)Register instance in the transactional cachevoidPersistenceManagerImpl. setStateManager(Object pc, StateManager sm) -
Uses of StateManager in com.sun.jdo.spi.persistence.support.sqlstore.model
Methods in com.sun.jdo.spi.persistence.support.sqlstore.model with parameters of type StateManager Modifier and Type Method Description ObjectFieldDesc. convertValue(Object value, StateManager sm)ObjectFieldDesc. createSCO(Object value, StateManager sm)Creates a new SCO instance.ObjectFieldDesc. getValue(StateManager sm)voidLocalFieldDesc. incrementValue(StateManager sm)Increments this field in the instance managed by state managersmby one.voidFieldDesc. setValue(StateManager sm, Object value) -
Uses of StateManager in com.sun.jdo.spi.persistence.support.sqlstore.sco
Methods in com.sun.jdo.spi.persistence.support.sqlstore.sco that return StateManager Modifier and Type Method Description StateManagerArrayList. makeDirty()Marks object dirtyStateManagerDate. makeDirty()Marks object dirtyStateManagerHashSet. makeDirty()Marks object dirtyStateManagerSqlDate. makeDirty()Marks object dirtyStateManagerSqlTime. makeDirty()Marks object dirtyStateManagerSqlTimestamp. makeDirty()Marks object dirtyStateManagerVector. makeDirty()Marks object dirtyMethods in com.sun.jdo.spi.persistence.support.sqlstore.sco with parameters of type StateManager Modifier and Type Method Description voidArrayList. applyUpdates(StateManager sm, boolean modified)Apply changes (can be a no-op)voidDate. applyUpdates(StateManager sm, boolean modified)Apply changes (no-op)voidHashSet. applyUpdates(StateManager sm, boolean modified)Apply changes (can be a no-op)voidSqlDate. applyUpdates(StateManager sm, boolean modified)Apply changes (no-op)voidSqlTime. applyUpdates(StateManager sm, boolean modified)Apply changes (no-op)voidSqlTimestamp. applyUpdates(StateManager sm, boolean modified)Apply changes (no-op)voidVector. applyUpdates(StateManager sm, boolean modified)Apply changes (can be a no-op) -
Uses of StateManager in com.sun.jdo.spi.persistence.support.sqlstore.sql
Methods in com.sun.jdo.spi.persistence.support.sqlstore.sql with parameters of type StateManager Modifier and Type Method Description voidUpdateObjectDescImpl. setObjectInfo(StateManager biStateManager, StateManager aiStateManager, int action)We send the AfterImage for updates and inserts but for updates it will only hold values for updated attributes (unless the class is configured to send the whole AfterImage, also we'll let the concurrency interface affect the sent AfterImage (and the sent BeforeImage)).
-