|
||||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||
| Packages that use StateManager | |
|---|---|
| org.jpox | This package provides classes that are typically client-facing. |
| org.jpox.resource | A JCA resource adapter for JPOX. |
| org.jpox.sco | Provides implementations of the wrappers for the mutable Second Class Objects (SCO's) supported by JPOX. |
| org.jpox.sco.exceptions | Provides exceptions that can be thrown when handling Second Class Objects (SCO's). |
| org.jpox.state | Provides classes relating to the life cycle state of a persistable object. |
| org.jpox.store | Definition of the storage of the classes. |
| org.jpox.store.mapping | Package providing mappings for all supported Java types in JPOX. |
| org.jpox.store.rdbms.fieldmanager | Provides field-managers to populate JDBC Statements, and to extract from JDBC ResultSets. |
| org.jpox.store.rdbms.mapping.oracle | Package containing mappings for Oracle datastores, extending on the mappings found in packages org.jpox.store.mapping and org.jpox.store.rdbms.mapping. |
| org.jpox.store.rdbms.request | Provides the mechanism of communicating with the database using JDBC. |
| org.jpox.store.rdbms.scostore | This package provides classes defining the (SCO) backing store for various container classes (Collections/Maps) within JPOX. |
| org.jpox.store.rdbms.table | Provides a series of classes modelling tables and views, firstly in RDBMS, and then extending this to JDO representations. |
| org.jpox.store.scostore | Package providing backing store definitions for SCO stores. |
| Uses of StateManager in org.jpox |
|---|
| Methods in org.jpox that return StateManager | |
|---|---|
StateManager |
AbstractPersistenceManager.findStateManager(javax.jdo.spi.PersistenceCapable pc)
Method to find the StateManager for an object. |
StateManager |
PersistenceManager.findStateManager(javax.jdo.spi.PersistenceCapable pc)
Method to find the StateManager for the passed PersistenceCapable object when it is managed by this PM. |
StateManager |
AbstractPersistenceManager.getStateManagerById(java.lang.Object id)
Accessor for the StateManager of an object given the object id. |
StateManager |
PersistenceManager.getStateManagerById(java.lang.Object myID)
Accessor for the StateManager of an object given the object id. |
| Methods in org.jpox with parameters of type StateManager | |
|---|---|
void |
StateManager.addEmbeddedOwner(StateManager ownerSM,
int ownerFieldNumber)
Method to register an owner StateManager with this embedded/serialised object. |
void |
AbstractPersistenceManager.addStateManager(StateManager sm)
Method to add the object managed by the specified StateManager to the cache. |
void |
PersistenceManager.addStateManager(StateManager sm)
Method to add the object managed by the specified StateManager to the cache. |
void |
AbstractPersistenceManager.clearDirty(StateManager sm)
Method to mark an object (StateManager) as dirty. |
void |
PersistenceManager.clearDirty(StateManager sm)
Mark the specified StateManager as clean. |
void |
AbstractPersistenceManager.enlistInTransaction(StateManager sm)
Method to enlist the specified StateManager in the current transaction. |
void |
PersistenceManager.enlistInTransaction(StateManager sm)
Method to enlist the specified StateManager in the current transaction. |
void |
AbstractPersistenceManager.evictFromTransaction(StateManager sm)
Method to evict the specified StateManager from the current transaction. |
void |
PersistenceManager.evictFromTransaction(StateManager sm)
Method to evict the specified StateManager from the current transaction. |
void |
AbstractPersistenceManager.hereIsStateManager(StateManager sm,
javax.jdo.spi.PersistenceCapable pc)
Method to add the StateManager for an object to this PersistenceManager's list. |
void |
PersistenceManager.hereIsStateManager(StateManager sm,
javax.jdo.spi.PersistenceCapable pc)
Method to add the StateManager for an object to this PersistenceManager's list. |
void |
AbstractPersistenceManager.markDirty(StateManager sm)
Method to mark an object (StateManager) as dirty. |
void |
PersistenceManager.markDirty(StateManager sm)
Mark the specified StateManager as dirty |
void |
AbstractPersistenceManager.putObjectIntoCache(StateManager sm,
boolean level1,
boolean level2)
Convenience method to add an object to the cache(s). |
void |
PersistenceManager.putObjectIntoCache(StateManager sm,
boolean level1,
boolean level2)
Method to put a PersistenceCapable object associated to the StateManager into the respective cache(s). |
void |
AbstractPersistenceManager.removeStateManager(StateManager sm)
Method to remove the object managed by the specified StateManager from the cache. |
void |
PersistenceManager.removeStateManager(StateManager sm)
Method to remove the object managed by the specified StateManager from the cache. |
void |
StateManager.retrieveDetachState(StateManager sm)
Convenience method to retrieve the detach state from the passed State Manager's object |
| Uses of StateManager in org.jpox.resource |
|---|
| Methods in org.jpox.resource that return StateManager | |
|---|---|
StateManager |
PersistenceManagerImpl.findStateManager(javax.jdo.spi.PersistenceCapable pc)
|
StateManager |
PersistenceManagerImpl.getStateManagerById(java.lang.Object myID)
|
| Methods in org.jpox.resource with parameters of type StateManager | |
|---|---|
void |
PersistenceManagerImpl.addStateManager(StateManager sm)
|
void |
PersistenceManagerImpl.clearDirty(StateManager sm)
|
void |
PersistenceManagerImpl.enlistInTransaction(StateManager sm)
|
void |
PersistenceManagerImpl.evictFromTransaction(StateManager sm)
|
void |
PersistenceManagerImpl.hereIsStateManager(StateManager sm,
javax.jdo.spi.PersistenceCapable pc)
|
void |
PersistenceManagerImpl.markDirty(StateManager sm)
|
void |
PersistenceManagerImpl.putObjectIntoCache(StateManager sm,
boolean level1,
boolean level2)
Method to put an object into the respective cache. |
void |
PersistenceManagerImpl.removeStateManager(StateManager sm)
|
| Uses of StateManager in org.jpox.sco |
|---|
| Fields in org.jpox.sco declared as StateManager | |
|---|---|
protected StateManager |
Set.ownerSM
|
protected StateManager |
Queue.ownerSM
|
protected StateManager |
Collection.ownerSM
|
protected StateManager |
PriorityQueue.ownerSM
|
| Methods in org.jpox.sco with parameters of type StateManager | |
|---|---|
protected static AbstractPropertyMetaData |
Collection.getFieldMetaData(StateManager ownerSM,
java.lang.String fieldName)
|
protected void |
Queue.init(StateManager ownerSM,
java.lang.String fieldName,
boolean allowNulls,
CollectionStore backingStore)
Initialisation method. |
protected void |
Collection.init(StateManager ownerSM,
java.lang.String fieldName,
boolean allowNulls,
CollectionStore backingStore)
Initialisation method. |
protected void |
PriorityQueue.init(StateManager ownerSM,
java.lang.String fieldName,
boolean allowNulls,
CollectionStore backingStore)
Initialisation method. |
protected void |
Set.init(StateManager ownerSM,
java.lang.String fieldName,
boolean allowNulls,
SetStore backingStore)
Initialisation method. |
static void |
SCOUtils.populateMapDelegateWithStoreData(java.util.Map delegate,
MapStore store,
StateManager ownerSM)
Convenience method to populate the passed delegate Map with the keys/values from the associated Store. |
static java.lang.Object[] |
SCOUtils.toArray(CollectionStore backingStore,
StateManager sm)
Returns true if this collection contains the specified element. |
static java.lang.Object[] |
SCOUtils.toArray(CollectionStore backingStore,
StateManager sm,
java.lang.Object[] a)
Returns an array containing all of the elements in this collection; |
static void |
SCOUtils.updateStoreWithCollection(CollectionStore store,
StateManager ownerSM,
java.util.Collection newColl)
Convenience method to update a Store collection to contain the elements in another collection. |
static boolean |
SCOUtils.useCachedLazyLoading(StateManager ownerSM,
java.lang.String fieldName,
AbstractClassMetaData cmd)
Accessor for whether the use lazy loading when caching the collection. |
static boolean |
SCOUtils.useContainerCache(StateManager ownerSM,
java.lang.String fieldName,
AbstractClassMetaData cmd)
Utility to return whether or not to use the container cache for the collection/map for the passed StateManager SCO. |
| Constructors in org.jpox.sco with parameters of type StateManager | |
|---|---|
ArrayList(StateManager ownerSM,
java.lang.String fieldName)
Constructor, using the StateManager of the "owner" and the field name. |
|
BitSet(StateManager ownerSM,
java.lang.String fieldName)
Creates a BitSet object. |
|
BitSetJDK14(StateManager ownerSM,
java.lang.String fieldName)
Creates a BitSet object. |
|
Collection(StateManager ownerSM,
java.lang.String fieldName)
Constructor. |
|
Collection(StateManager ownerSM,
java.lang.String fieldName,
boolean allowNulls,
SetStore setStore)
Constructor. |
|
Date(StateManager ownerSM,
java.lang.String fieldName)
Creates a Date object that represents the time at which it was allocated. |
|
GregorianCalendar(StateManager ownerSM,
java.lang.String fieldName)
Creates a GregorianCalendar object that represents the time at which it was allocated. |
|
GregorianCalendarJDK14(StateManager ownerSM,
java.lang.String fieldName)
Creates a GregorianCalendar object that represents the time at which it was allocated. |
|
HashMap(StateManager ownerSM,
java.lang.String fieldName)
Constructor |
|
HashSet(StateManager ownerSM,
java.lang.String fieldName)
Constructor, using the StateManager of the "owner" and the field name. |
|
Hashtable(StateManager ownerSM,
java.lang.String fieldName)
Constructor |
|
LinkedHashMap(StateManager ownerSM,
java.lang.String fieldName)
Constructor |
|
LinkedHashSet(StateManager ownerSM,
java.lang.String fieldName)
Constructor, using the StateManager of the "owner" and the field name. |
|
LinkedList(StateManager ownerSM,
java.lang.String fieldName)
Constructor, using the StateManager of the "owner" and the field name. |
|
List(StateManager ownerSM,
java.lang.String fieldName)
Constructor, using the StateManager of the "owner" and the field name. |
|
Map(StateManager ownerSM,
java.lang.String fieldName)
Constructor, using the StateManager of the "owner" and the field name. |
|
Point(StateManager ownerSM,
java.lang.String fieldName)
Creates a Point object. |
|
PriorityQueue(StateManager ownerSM,
java.lang.String fieldName)
Constructor. |
|
Properties(StateManager ownerSM,
java.lang.String fieldName)
Constructor |
|
Queue(StateManager ownerSM,
java.lang.String fieldName)
Constructor. |
|
SCOCollectionIterator(java.util.Collection sco,
StateManager sm,
java.util.Collection theDelegate,
CollectionStore backingStore,
boolean useDelegate)
Constructor taking the delegate, backing store. |
|
SCOListIterator(java.util.List sco,
StateManager sm,
java.util.List theDelegate,
ListStore theStore,
boolean useDelegate,
int startIndex)
Constructor taking the delegate, backing store and any start index. |
|
Set(StateManager ownerSM,
java.lang.String fieldName)
Constructor. |
|
Set(StateManager ownerSM,
java.lang.String fieldName,
boolean allowsNulls,
SetStore backingStore)
Constructor. |
|
SortedMap(StateManager ownerSM,
java.lang.String fieldName)
Constructor |
|
SortedSet(StateManager ownerSM,
java.lang.String fieldName)
Constructor, using the StateManager of the "owner" and the field name. |
|
SqlDate(StateManager ownerSM,
java.lang.String fieldName)
Creates a SqlDate object that represents the time at which it was allocated. |
|
SqlTime(StateManager ownerSM,
java.lang.String fieldName)
Creates a SqlTime object that represents the time at which it was allocated. |
|
SqlTimestamp(StateManager ownerSM,
java.lang.String fieldName)
Creates a SqlTimestamp object that represents the time at
which it was allocated. |
|
Stack(StateManager ownerSM,
java.lang.String fieldName)
Constructor, using the StateManager of the "owner" and the field name. |
|
TreeMap(StateManager ownerSM,
java.lang.String fieldName)
Constructor |
|
TreeSet(StateManager ownerSM,
java.lang.String fieldName)
Constructor, using the StateManager of the "owner" and the field name. |
|
Vector(StateManager ownerSM,
java.lang.String fieldName)
Constructor, using the StateManager of the "owner" and the field name. |
|
| Uses of StateManager in org.jpox.sco.exceptions |
|---|
| Constructors in org.jpox.sco.exceptions with parameters of type StateManager | |
|---|---|
IncompatibleElementTypeException(StateManager ownerSM,
java.lang.String fieldName,
java.lang.String requiredTypeName,
java.lang.String requestedTypeName)
Constructs an incompatible element type exception. |
|
IncompatibleFieldTypeException(StateManager ownerSM,
java.lang.String fieldName,
java.lang.String requiredTypeName,
java.lang.String requestedTypeName)
Constructs an incompatible field type exception. |
|
IncompatibleKeyTypeException(StateManager ownerSM,
java.lang.String fieldName,
java.lang.String requiredTypeName,
java.lang.String requestedTypeName)
Constructs an incompatible key type exception. |
|
IncompatibleTypeException(StateManager ownerSM,
java.lang.String fieldName,
java.lang.String parameterName,
java.lang.String requiredTypeName,
java.lang.String requestedTypeName)
Constructs an incompatible type exception. |
|
IncompatibleValueTypeException(StateManager ownerSM,
java.lang.String fieldName,
java.lang.String requiredTypeName,
java.lang.String requestedTypeName)
Constructs an incompatible value type exception. |
|
NullsNotAllowedException(StateManager ownerSM,
java.lang.String fieldName)
Constructs a nulls-not-allowed exception. |
|
SCOException(StateManager ownerSM,
java.lang.String fieldName,
java.lang.String message)
Constructs an SCO parameter exception. |
|
| Uses of StateManager in org.jpox.state |
|---|
| Fields in org.jpox.state declared as StateManager | |
|---|---|
protected StateManager |
AbstractFetchFieldManager.sm
StateManager of the instance being fetched (detached or made transient). |
| Methods in org.jpox.state that return StateManager | |
|---|---|
static StateManager |
StateManagerFactory.newStateManager(javax.jdo.spi.PersistenceCapable pc,
PersistenceManager pm,
boolean copyPc)
Constructs a state manager to manage a PersistenceCapable instance that will be EMBEDDED/SERIALISED into another PersistenceCapable object. |
static StateManager |
StateManagerFactory.newStateManager(PersistenceManager pm,
ApiAdapter apiAdapter,
javax.jdo.spi.PersistenceCapable pc,
AbstractClassMetaData cmd,
java.lang.Object id,
java.lang.Object version)
Constructor for creating SM instances to manage PersistenceCapable objects in detached state |
static StateManager |
StateManagerFactory.newStateManager(PersistenceManager pm,
java.lang.Class pcClass,
FieldValues fv)
Constructs a state manager to manage a hollow or pclean instance having the given FieldValues. |
static StateManager |
StateManagerFactory.newStateManager(PersistenceManager pm,
java.lang.Class pcClass,
java.lang.Object id)
Constructs a state manager to manage a hollow instance having the given object ID. |
static StateManager |
StateManagerFactory.newStateManager(PersistenceManager pm,
java.lang.Class pcClass,
java.lang.Object id,
FieldValues fv)
Constructs a state manager to manage a recently populated hollow instance having the given object ID and the given field values. |
static StateManager |
StateManagerFactory.newStateManager(PersistenceManager pm,
java.lang.Object id,
javax.jdo.spi.PersistenceCapable pc,
boolean[] loaded)
Constructor to create a StateManager for a PersistenceCapable object, assigning the specified id to the object. |
static StateManager |
StateManagerFactory.newStateManager(PersistenceManager pm,
javax.jdo.spi.PersistenceCapable pc)
Constructs a state manager to manage a Transactional Transient instance. |
static StateManager |
StateManagerFactory.newStateManager(PersistenceManager pm,
javax.jdo.spi.PersistenceCapable pc,
FieldValues preInsertChanges)
Constructs a state manager to manage a transient instance that is becoming newly persistent. |
| Methods in org.jpox.state with parameters of type StateManager | |
|---|---|
protected LifeCycleState |
LifeCycleState.changeState(StateManager sm,
int newStateType)
Utility to change state to a new state. |
protected LifeCycleState |
LifeCycleState.changeTransientState(StateManager sm,
int newStateType)
Utility to change state to a new state. |
LifeCycleState |
LifeCycleState.transitionCommit(StateManager sm,
javax.jdo.Transaction tx)
Method to transition to commit state. |
LifeCycleState |
LifeCycleState.transitionDeletePersistent(StateManager sm)
Method to transition to delete persistent state. |
LifeCycleState |
LifeCycleState.transitionDetach(StateManager sm)
Method to transition to detached-clean. |
LifeCycleState |
LifeCycleState.transitionEvict(StateManager sm)
Method to transition to evict state. |
LifeCycleState |
LifeCycleState.transitionMakeNontransactional(StateManager sm)
Method to transition to nontransactional state. |
LifeCycleState |
LifeCycleState.transitionMakePersistent(StateManager sm)
Method to transition to persistent state. |
LifeCycleState |
LifeCycleState.transitionMakeTransactional(StateManager sm)
Method to transition to transactional state. |
LifeCycleState |
LifeCycleState.transitionMakeTransient(StateManager sm,
boolean useFetchPlan)
Method to transition to transient state. |
LifeCycleState |
LifeCycleState.transitionReadField(StateManager sm,
boolean isLoaded)
Method to transition to read-field state. |
LifeCycleState |
LifeCycleState.transitionRefresh(StateManager sm)
Method to transition to refresh state. |
LifeCycleState |
LifeCycleState.transitionRetrieve(StateManager sm,
boolean fgOnly)
Method to transition to retrieve state. |
LifeCycleState |
LifeCycleState.transitionRetrieve(StateManager sm,
javax.jdo.FetchPlan fetchPlan)
Method to transition to retrieve state. |
LifeCycleState |
LifeCycleState.transitionRollback(StateManager sm,
javax.jdo.Transaction tx)
Method to transition to rollback state. |
LifeCycleState |
LifeCycleState.transitionSerialize(StateManager sm)
Method to transition when serialised. |
LifeCycleState |
LifeCycleState.transitionWriteField(StateManager sm)
Method to transition to write-field state. |
| Constructors in org.jpox.state with parameters of type StateManager | |
|---|---|
AbstractFetchFieldManager(StateManager sm,
boolean[] secondClassMutableFields,
FetchPlanImpl.FetchPlanForClass fpClass,
FetchPlanState state)
Constructor for a field manager for fetch plan processing. |
|
AttachFieldManager(StateManager smAttached,
boolean[] secondClassMutableFields,
boolean[] dirtyFields,
boolean persistent,
boolean cascadeAttach)
Constructor. |
|
DetachFieldManager(StateManager sm,
boolean[] secondClassMutableFields,
FetchPlanImpl.FetchPlanForClass fpClass,
FetchPlanState state,
boolean copy)
Constructor for a field manager for detachment. |
|
IllegalStateTransitionException(LifeCycleState state,
java.lang.String transition,
StateManager sm)
Constructs an illegal state transition exception. |
|
LoadFieldManager(StateManager sm,
boolean[] secondClassMutableFields,
FetchPlanImpl.FetchPlanForClass fpClass,
FetchPlanState state)
Constructor for a field manager for make transient process. |
|
MakeTransientFieldManager(StateManager sm,
boolean[] secondClassMutableFields,
FetchPlanImpl.FetchPlanForClass fpClass,
FetchPlanState state)
Constructor for a field manager for make transient process. |
|
| Uses of StateManager in org.jpox.store |
|---|
| Methods in org.jpox.store with parameters of type StateManager | |
|---|---|
void |
DatastoreClass.delete(StateManager sm)
Method to delete an object for this class. |
void |
StoreManager.delete(StateManager sm)
Deletes a persistent object from the database. |
void |
DatastoreClass.deleteDependent(StateManager sm,
AbstractPropertyMetaData[] fieldMetaData)
Delete dependent objects of a persistent object. |
void |
StoreManager.deleteDependent(StateManager sm,
int[] fieldNumbers)
Delete dependent objects of a persistent object. |
void |
DatastoreClass.fetch(StateManager sm,
AbstractPropertyMetaData[] fieldMetaData)
Method to fetch an object for this class. |
void |
StoreManager.fetch(StateManager sm,
int[] fieldNumbers)
Fetches a persistent object from the database. |
void |
FieldValues.fetchFields(StateManager sm)
Method to retrieve the fields and store them in the object managed by the passed StateManager. |
void |
FieldValues.fetchNonLoadedFields(StateManager sm)
Method to retrieve the unloaded fields and store them in the object managed by the passed StateManager. |
void |
DatastoreClass.insert(StateManager sm)
Method to insert an object for this class. |
void |
StoreManager.insert(StateManager sm)
Inserts a persistent object into the database. |
void |
DatastoreClass.locate(StateManager sm)
Locates this object in the datastore. |
void |
StoreManager.locate(StateManager sm)
Locates this object in the datastore. |
void |
DatastoreClass.update(StateManager sm,
AbstractPropertyMetaData[] fieldMetaData)
Method to update an object for this class. |
void |
StoreManager.update(StateManager sm,
int[] fieldNumbers)
Updates a persistent object in the database. |
| Uses of StateManager in org.jpox.store.mapping |
|---|
| Methods in org.jpox.store.mapping with parameters of type StateManager | |
|---|---|
void |
CollectionMapping.deleteDependent(StateManager sm)
Method to delete all dependent objects (the contents of the Collection). |
void |
PersistenceCapableMapping.deleteDependent(StateManager sm)
Method to handle deletion of any dependent fields (before deleting this object) |
void |
ArrayMapping.deleteDependent(StateManager sm)
Method to delete all dependent objects (the contents of the array). |
void |
MapMapping.deleteDependent(StateManager sm)
Method to delete all dependent objects (the contents of the Collection). |
void |
MappingCallbacks.deleteDependent(StateManager sm)
Clear the collection and delete child dependent elements, values or keys that are tagged as dependent. |
void |
ReferenceMapping.deleteDependent(StateManager sm)
Method to handle deletion of any dependent fields (before deleting this object) |
java.lang.Object |
EmbeddedMapping.getObject(PersistenceManager pm,
java.lang.Object rs,
int[] param,
StateManager ownerSM,
int ownerFieldNumber)
Accessor for the embedded object from the result set |
java.lang.Object |
SerialisedReferenceMapping.getObject(PersistenceManager pm,
java.lang.Object resultSet,
int[] exprIndex,
StateManager ownerSM,
int fieldNumber)
Method to extract the value of the PersistenceCapable from a ResultSet. |
java.lang.Object |
JavaTypeMapping.getObject(PersistenceManager pm,
java.lang.Object datastoreResults,
int[] exprIndex,
StateManager ownerSM,
int ownerFieldNumber)
Obtains a value from datastoreResults
at position specified by exprIndex. |
java.lang.Object |
SerialisedPCMapping.getObject(PersistenceManager pm,
java.lang.Object resultSet,
int[] exprIndex,
StateManager ownerSM,
int fieldNumber)
Method to extract the value of the PersistenceCapable from a ResultSet. |
protected java.lang.Object |
AbstractContainerMapping.newWrapper(StateManager ownerSM,
java.lang.String fieldName)
Method to return a SCO wrapper for this container. |
void |
ArrayMapping.postFetch(StateManager sm)
Method to be called after any fetch of the owner class element. |
void |
AbstractContainerMapping.postFetch(StateManager sm)
Method to be called after any fetch of the owner class element. |
void |
MappingCallbacks.postFetch(StateManager sm)
Method called after the retrieval of objects, so that additional operations can be performed if necessary. |
void |
CollectionMapping.postInsert(StateManager sm)
Method to be called after the insert of the owner class element. |
void |
ArrayMapping.postInsert(StateManager sm)
Method to be called after the insert of the owner class element. |
void |
MapMapping.postInsert(StateManager sm)
Method to be called after the insert of the owner class element. |
void |
MappingCallbacks.postInsert(StateManager sm)
Method called after the insert of objects so that additional operations can be performed if necessary. |
void |
CollectionMapping.postUpdate(StateManager sm)
Method to be called after any update of the owner class element. |
void |
ArrayMapping.postUpdate(StateManager sm)
Method to be called after any update of the owner class element. |
void |
MapMapping.postUpdate(StateManager sm)
Method to be called after any update of the owner class element. |
void |
MappingCallbacks.postUpdate(StateManager sm)
Method called after the update of objects, so that additional operations can be performed if necessary. |
void |
CollectionMapping.preDelete(StateManager sm)
Method to be called before any delete of the owner class element. |
void |
ArrayMapping.preDelete(StateManager sm)
Method to be called before any delete of the owner class element, if the field in the owner is dependent |
void |
MapMapping.preDelete(StateManager sm)
Method to be called before any delete of the owner class element. |
void |
MappingCallbacks.preDelete(StateManager sm)
Method called before the delete of objects, so that additional operations can be performed if necessary. |
void |
EmbeddedMapping.setObject(PersistenceManager pm,
java.lang.Object ps,
int[] param,
java.lang.Object value,
StateManager ownerSM,
int ownerFieldNumber)
Mutator for the embedded object in the datastore. |
void |
PersistenceCapableMapping.setObject(PersistenceManager pm,
java.lang.Object ps,
int[] param,
java.lang.Object value,
StateManager ownerSM,
int ownerFieldNumber)
Method to set an object reference (FK) in the datastore. |
void |
SerialisedReferenceMapping.setObject(PersistenceManager pm,
java.lang.Object preparedStatement,
int[] exprIndex,
java.lang.Object value,
StateManager ownerSM,
int fieldNumber)
Method to populate parameter positions in a PreparedStatement with this object |
void |
JavaTypeMapping.setObject(PersistenceManager pm,
java.lang.Object datastoreStatement,
int[] exprIndex,
java.lang.Object value,
StateManager ownerSM,
int ownerFieldNumber)
Sets a value into datastoreStatement
at position specified by exprIndex. |
void |
SerialisedPCMapping.setObject(PersistenceManager pm,
java.lang.Object preparedStatement,
int[] exprIndex,
java.lang.Object value,
StateManager ownerSM,
int fieldNumber)
Method to populate parameter positions in a PreparedStatement with this object |
void |
MultiMapping.setObject(PersistenceManager pm,
java.lang.Object ps,
int[] pos,
java.lang.Object value,
StateManager ownerSM,
int ownerFieldNumber)
Sets a value into preparedStatement
at position specified by exprIndex. |
protected void |
AbstractContainerMapping.validateElementForWriting(StateManager sm,
java.lang.Object element)
Method to check if an element is already persistent, or is managed by a different Persistencemanager. |
protected void |
AbstractContainerMapping.validateElementsForWriting(StateManager sm,
java.lang.Object elements)
Method to check if an element is already persistent, or is managed by a different Persistencemanager. |
| Uses of StateManager in org.jpox.store.rdbms.fieldmanager |
|---|
| Constructors in org.jpox.store.rdbms.fieldmanager with parameters of type StateManager | |
|---|---|
ParameterSetter(StateManager sm,
java.sql.PreparedStatement ps,
StatementExpressionIndex[] statementExpressionIndex,
boolean checkNonNullable)
Constructor. |
|
ResultSetGetter(StateManager sm,
java.sql.ResultSet rs,
StatementExpressionIndex[] statementExpressionIndex)
Constructor |
|
| Uses of StateManager in org.jpox.store.rdbms.mapping.oracle |
|---|
| Methods in org.jpox.store.rdbms.mapping.oracle with parameters of type StateManager | |
|---|---|
void |
OracleSerialisedObjectMapping.deleteDependent(StateManager sm)
|
void |
OracleBitSetMapping.deleteDependent(StateManager sm)
|
void |
OracleStringMapping.deleteDependent(StateManager sm)
|
void |
OracleSerialisedPCMapping.deleteDependent(StateManager sm)
|
void |
OracleSerialisedObjectMapping.postFetch(StateManager sm)
|
void |
OracleBitSetMapping.postFetch(StateManager sm)
|
void |
OracleStringMapping.postFetch(StateManager sm)
|
void |
OracleSerialisedPCMapping.postFetch(StateManager sm)
|
void |
OracleSerialisedObjectMapping.postInsert(StateManager sm)
Retrieve the empty BLOB created by the insert statement and write out the current BLOB field value to the Oracle BLOB object |
void |
OracleMapMapping.postInsert(StateManager sm)
Retrieve the empty BLOB created by the insert statement and write out the current BLOB field value to the Oracle CLOB object. |
void |
OracleBitSetMapping.postInsert(StateManager sm)
Method to be called after the insert of the owner class element. |
void |
OracleStringMapping.postInsert(StateManager sm)
Retrieve the empty BLOB/CLOB locator created by the insert statement and write out the current BLOB/CLOB field value to the Oracle BLOB/CLOB object |
void |
OracleSerialisedPCMapping.postInsert(StateManager ownerSM)
Retrieve the empty BLOB created by the insert statement and write out the current BLOB field value to the Oracle BLOB object |
void |
OracleCollectionMapping.postInsert(StateManager sm)
Retrieve the empty BLOB created by the insert statement and write out the current BLOB field value to the Oracle BLOB object. |
void |
OracleArrayMapping.postInsert(StateManager sm)
Method to be called after the insert of the owner class element. |