Uses of Interface
org.jpox.StateManager

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 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.
 

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 Collection.ownerSM
           
protected  StateManager Set.ownerSM
           
 

Methods in org.jpox.sco with parameters of type StateManager
protected static AbstractPropertyMetaData Collection.getFieldMetaData(StateManager ownerSM, java.lang.String fieldName)
           
protected  void Collection.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.
Properties(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).
 

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)
          Constructor for a field manager for detachment.
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 StoreManager.delete(StateManager sm)
          Deletes a persistent object from the database.
 void DatastoreClass.delete(StateManager sm)
          Method to delete an object for this class.
 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 StoreManager.insert(StateManager sm)
          Inserts a persistent object into the database.
 void DatastoreClass.insert(StateManager sm)
          Method to insert an object for this class.
 void StoreManager.locate(StateManager sm)
          Locates this object in the datastore.
 void DatastoreClass.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 ArrayMapping.deleteDependent(StateManager sm)
          Method to delete all dependent objects (the contents of the array).
 void MappingCallbacks.deleteDependent(StateManager sm)
          Clear the collection and delete child dependent elements, values or keys that are tagged as dependent.
 void CollectionMapping.deleteDependent(StateManager sm)
          Method to delete all dependent objects (the contents of the Collection).
 void MapMapping.deleteDependent(StateManager sm)
          Method to delete all dependent objects (the contents of the Collection).
 java.lang.Object JavaTypeMapping.getObject(PersistenceManager pm, java.lang.Object resultSet, int[] exprIndex, StateManager ownerSM, int ownerFieldNumber)
          Obtains a value from resultSet at position specified by exprIndex.
 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 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.
 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.
protected  java.lang.Object AbstractContainerMapping.newWrapper(StateManager ownerSM, java.lang.String fieldName)
          Method to return a SCO wrapper for this container.
 void AbstractContainerMapping.postFetch(StateManager sm)
          Method to be called after any fetch of the owner class element.
 void ArrayMapping.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 ArrayMapping.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.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 ArrayMapping.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.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 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 MappingCallbacks.preDelete(StateManager sm)
          Method called before the delete 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 MapMapping.preDelete(StateManager sm)
          Method to be called before any delete of the owner class element.
 void JavaTypeMapping.setObject(PersistenceManager pm, java.lang.Object preparedStatement, int[] exprIndex, java.lang.Object value, StateManager ownerSM, int ownerFieldNumber)
          Sets a value into preparedStatement at position specified by exprIndex.
 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 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.
 void PersistenceCapableMapping.setObject(PersistenceManager pm, java.lang.Object ps, int[] param, java.lang.Object value, StateManager ownerSM, int ownerFieldNumber)
          Method to set an object in the datastore.
 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 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
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 OracleBitSetMapping.deleteDependent(StateManager sm)
           
 void OracleSerialisedObjectMapping.deleteDependent(StateManager sm)
           
 void OracleStringMapping.deleteDependent(StateManager sm)
           
 void OracleBitSetMapping.postFetch(StateManager sm)
           
 void OracleSerialisedObjectMapping.postFetch(StateManager sm)
           
 void OracleStringMapping.postFetch(StateManager sm)
           
 void OracleArrayMapping.postInsert(StateManager sm)
          Method to be called after the insert of the owner class element.
 void OracleBitSetMapping.postInsert(StateManager sm)
          Method to be called after the insert of the owner class element.
 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 CLOB object
 void OracleStringMapping.postInsert(StateManager sm)
          Retrieve the empty CLOB locator created by the insert statement and write out the current CLOB field value to the Oracle CLOB object
 void OracleArrayMapping.postUpdate(StateManager sm)
          Method to be called after any update of the owner class element.
 void OracleBitSetMapping.postUpdate(StateManager sm)
          Method to be called after any update of the owner class element.
 void OracleSerialisedObjectMapping.postUpdate(StateManager sm)
           
 void OracleStringMapping.postUpdate(StateManager sm)
           
 void OracleBitSetMapping.preDelete(StateManager sm)
           
 void OracleSerialisedObjectMapping.preDelete(StateManager sm)
           
 void OracleStringMapping.preDelete(StateManager sm)
           
 

Uses of StateManager in org.jpox.store.rdbms.request
 

Methods in org.jpox.store.rdbms.request with parameters of type StateManager
 void InsertRequest.execute(StateManager sm)
          Method performing the insertion of the record from the datastore.
abstract  void Request.execute(StateManager sm)
          Method to execute the request - to be implemented by deriving classes.
 void FetchRequest.execute(StateManager sm)
          Method performing the retrieval of the record from the datastore.
 void UpdateRequest.execute(StateManager sm)
          Method performing the update of the record in the datastore.
 void LocateRequest.execute(StateManager sm)
          Method performing the retrieval of the record from the datastore.
 void DeleteRequest.execute(StateManager sm)
          Method performing the deletion of the record from the datastore.
 

Uses of StateManager in org.jpox.store.rdbms.scostore
 

Methods in org.jpox.store.rdbms.scostore with parameters of type StateManager
 boolean FKSetStore.add(StateManager sm, java.lang.Object element)
          Method to add an object to the relationship at the collection end.
 boolean JoinSetStore.add(StateManager sm, java.lang.Object element)
          Adds one element to the association owner vs elements.
 boolean MapEntrySetStore.add(StateManager sm, java.lang.Object element)
          Method to add an entry to the Map.
 boolean MapKeySetStore.add(StateManager sm, java.lang.Object element)
          Method to add an element.
 boolean MapValueSetStore.add(StateManager sm, java.lang.Object element)
          Method to add a value to the Map.
 boolean AbstractArrayStore.add(StateManager sm, java.lang.Object element, int position)
          Adds one element to the association owner vs elements
 boolean FKSetStore.addAll(StateManager sm, java.util.Collection elements)
          Method to add a collection of object to the relationship at the collection end.
 boolean JoinSetStore.addAll(StateManager sm, java.util.Collection elements)
          Adds all elements from a collection to the association container.
 boolean MapEntrySetStore.addAll(StateManager sm, java.util.Collection elements)
          Method to add entries to the Map.
 void AbstractArrayStore.clear(StateManager ownerSM)
          Clear the association from owner to all elements.
 void ElementContainerStore.clear(StateManager ownerSM)
          Clear the association from owner to all elements
 void FKArrayStore.clear(StateManager ownerSM)
          Method to clear the Array.
 void FKListStore.clear(StateManager ownerSM)
          Method to clear the List.
 void FKMapStore.clear(StateManager sm)
          Method to clear the map of all values.
 void FKSetStore.clear(StateManager ownerSM)
          Method to allow the Set relationship to be cleared out.
 void JoinMapStore.clear(StateManager ownerSM)
          Method to clear the map of all values.
 void MapEntrySetStore.clear(StateManager sm)
          Method to clear the Map.
 void MapKeySetStore.clear(StateManager sm)
          Method to clear the collection.
 void MapValueSetStore.clear(StateManager sm)
          Method to clear the map.
 void FKMapStore.clearKeyOfValue(StateManager sm, java.lang.Object key, java.lang.Object oldValue)
          Utility to clear the key of a value from the Map.
 boolean AbstractCollectionStore.contains(StateManager sm, java.lang.Object element)
          Method to verify if the association owner vs elements contains a specific element in the association
 boolean MapEntrySetStore.contains(StateManager sm, java.lang.Object element)
           
 java.util.List AbstractArrayStore.getArray(StateManager ownerSM)
           
protected  QueryExpression FKMapStore.getGetStatement(StateManager ownerSm, java.lang.Object key)
          Accessor for the Get statement to retrieve a value from the Map.
protected  QueryExpression JoinMapStore.getGetStatement(StateManager ownerSm, java.lang.Object key)
          Accessor for the Get statement to retrieve a value from the Map.
protected abstract  QueryExpression AbstractArrayStore.getIteratorStatement(StateManager ownerSM)
          Accessor for the statement for the iterator.
protected  QueryExpression FKArrayStore.getIteratorStatement(StateManager ownerSM)
          Accessor for the iterator statement to retrieve the element(s) for the array.
protected  QueryExpression FKSetStore.getIteratorStatement(StateManager ownerSM)
          Accessor for a QueryStatement to retrieve the elements of the set.
protected  QueryExpression JoinArrayStore.getIteratorStatement(StateManager ownerSM)
          Accessor for the iterator statement to retrieve the element(s) for the array.
protected  QueryExpression JoinSetStore.getIteratorStatement(StateManager ownerSM)
          Accessor for the statement for the iterator.
protected  QueryExpression MapKeySetStore.getIteratorStatement(StateManager ownerSM)
          Method to create an iterator for the map keys.
protected  QueryExpression MapValueSetStore.getIteratorStatement(StateManager ownerSM)
          Accessor for the statement for the iterator.
protected  QueryExpression FKListStore.getIteratorStatement(StateManager ownerSM, int start_index, int end_index)
          Accessor for the iterator statement to retrieve element(s) in a range from the List.
protected  QueryExpression JoinListStore.getIteratorStatement(StateManager ownerSM, int start_index, int end_index)
          Accessor for the iterator statement to retrieve element(s) in a range from the List.
protected  int FKSetStore.getOwnerFieldOwner(StateManager sm)
           
protected  java.lang.String JoinSetStore.getRemoveAllStmt(StateManager ownerSm, java.util.Collection elements)
          Generate statement for removing a collection of items from the Set.
protected  boolean FKListStore.internalAdd(StateManager sm, int startAt, boolean atEnd, java.util.Collection c, boolean initialising)
          Internal method for adding an item to the List.
 java.util.Iterator AbstractArrayStore.iterator(StateManager ownerSM)
          Accessor for an iterator through the array elements.
abstract  java.util.Iterator ElementContainerStore.iterator(StateManager ownerSM)
          Accessor for an iterator through the container elements.
 java.util.Iterator MapEntrySetStore.iterator(StateManager sm)
          Accessor for an iterator for the entries of the Map.
 boolean JoinSetStore.locate(StateManager sm, java.lang.Object element)
          Method to check for the existence in the datastore of an owner-element relation.
 QueryExpression FKListStore.newQueryStatement(StateManager sm, java.lang.String candidateClass)
          Utility method to return a new QueryStatement for retrieval of the elements of this List.
 QueryExpression FKMapStore.newQueryStatement(StateManager sm, java.lang.String candidateClass)
          Utility method to return a new QueryStatement for retrieval of the elements of this Map.
 QueryExpression FKSetStore.newQueryStatement(StateManager sm, java.lang.String candidateClass)
          Utility method to return a new QueryStatement for retrieval of the elements of this Set.
 QueryExpression JoinListStore.newQueryStatement(StateManager sm, java.lang.String candidateClass)
          Utility to return a new QueryStatement.
 QueryExpression JoinMapStore.newQueryStatement(StateManager sm, java.lang.String candidateClass)
          Utility to return a new QueryStatement.
 QueryExpression JoinSetStore.newQueryStatement(StateManager sm, java.lang.String candidateClass)
          Utility method to return a new QueryStatement for retrieval of the elements of this Set.
 QueryExpression MapEntrySetStore.newQueryStatement(StateManager sm, java.lang.String candidateClass)
          Method to return a new QueryStatement.
 QueryExpression MapKeySetStore.newQueryStatement(StateManager sm, java.lang.String candidateClass)
           
 QueryExpression MapValueSetStore.newQueryStatement(StateManager sm, java.lang.String candidateClass)
           
 Query.ResultObjectFactory MapEntrySetStore.newResultObjectFactory(StateManager sm, QueryExpression expr, boolean useFetchPlan)
          Method to return an object factory for processing map entry statements.
 Query.ResultObjectFactory ElementContainerStore.newResultObjectFactory(StateManager sm, QueryExpression stmt, boolean ignoreCache, boolean useFetchPlan)
          Method to generate a new result object factory from which to retrieve element objects.
 Query.ResultObjectFactory MapEntrySetStore.newResultObjectFactory(StateManager sm, QueryExpression stmt, boolean ignoreCache, boolean useFetchPlan)
          Method to return an object factory for processing query statements.
protected  int ElementContainerStore.populateEmbeddedElementFieldsInStatement(StateManager sm, java.lang.Object element, java.sql.PreparedStatement ps, int jdbcPosition, JoinTable joinTable)
          Convenience method to populate the passed PreparedStatement with the field values from the embedded element starting at the specified jdbc position.
 java.lang.Object FKMapStore.put(StateManager sm, java.lang.Object newKey, java.lang.Object newValue)
          Method to put an item in the Map.
 java.lang.Object JoinMapStore.put(StateManager sm, java.lang.Object key, java.lang.Object value)
          Method to put an item in the Map.
 boolean FKListStore.remove(StateManager sm, java.lang.Object element)
          Method to remove an element from the List.
 java.lang.Object FKMapStore.remove(StateManager sm, java.lang.Object key)
          Method to remove an item from the map.
 boolean FKSetStore.remove(StateManager sm, java.lang.Object element)
          Method to remove the link to the collection object specified.
 java.lang.Object JoinMapStore.remove(StateManager sm, java.lang.Object key)
          Method to remove an item from the map.
 boolean MapEntrySetStore.remove(StateManager sm, java.lang.Object element)
          Method to remove an entry from the Map.
 boolean MapKeySetStore.remove(StateManager sm, java.lang.Object element)
          Method to remove an element.
 boolean MapValueSetStore.remove(StateManager sm, java.lang.Object element)
          Method to remove a value from the Map.
 boolean FKSetStore.removeAll(StateManager sm, java.util.Collection elements)
          Method to remove the links to a collection of elements specified.
 boolean JoinSetStore.removeAll(StateManager sm, java.util.Collection elements)
          Remove all elements from a collection from the association owner vs elements.
 boolean MapEntrySetStore.removeAll(StateManager sm, java.util.Collection elements)
          Method to remove entries from the Map.
protected  void FKListStore.removeAt(StateManager sm, int index)
          Internal method to remove an object at a location in the List.
 java.lang.Object FKListStore.set(StateManager sm, int index, java.lang.Object element, boolean allowDependentField)
          Method to set an object in the List at a position.
 boolean AbstractArrayStore.set(StateManager ownerSM, java.lang.Object array)
          Method to set the array for the specified owner to the passed value.
 boolean FKArrayStore.set(StateManager ownerSM, java.lang.Object array)
          Method to set the array for the specified owner to the passed value.
 int ElementContainerStore.size(StateManager sm)
          Method to return the size of the container.
 int MapEntrySetStore.size(StateManager sm)
          Accessor for the size of the Map.
 boolean AbstractCollectionStore.updateEmbeddedElement(StateManager sm, java.lang.Object element, int fieldNumber, java.lang.Object value)
          Method to update a field of an embedded element.
 boolean MapEntrySetStore.updateEmbeddedElement(StateManager sm, java.lang.Object element, int fieldNumber, java.lang.Object value)
          Method to update an embedded element.
protected  boolean ElementContainerStore.validateElementForReading(StateManager sm, java.lang.Object element)
          Method to check if an element is already persistent or is persistent but managed by a different persistence manager.
protected  void ElementContainerStore.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 FKListStore.validateElementForWriting(StateManager sm, java.lang.Object element)
          Method to validate that an element is valid for writing to the datastore.
protected  void FKSetStore.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 FKMapStore.validateKeyForWriting(StateManager sm, java.lang.Object key)
          Method to check if an key is already persistent, or is managed by a different Persistencemanager.
protected  void FKMapStore.validateValueForWriting(StateManager sm, java.lang.Object value)
          Method to check if an value is already persistent, or is managed by a different Persistencemanager.
 

Uses of StateManager in org.jpox.store.rdbms.table
 

Methods in org.jpox.store.rdbms.table with parameters of type StateManager
 void ClassTable.delete(StateManager sm)
          Method to delete an object from this table.
 void ClassView.delete(StateManager sm)
          Method to delete an object from the view.
 void SecondaryTable.delete(StateManager sm)
          Method to delete an object for this class.
 void ClassTable.deleteDependent(StateManager sm, AbstractPropertyMetaData[] fieldMetaData)
          Delete dependent objects of a persistent object.
 void ClassView.deleteDependent(StateManager sm, AbstractPropertyMetaData[] fieldMetaData)
          Method to delete the dependent objects.
 void SecondaryTable.deleteDependent(StateManager sm, AbstractPropertyMetaData[] fields)
          Method to delete all dependent objects.
 void ClassTable.fetch(StateManager sm, AbstractPropertyMetaData[] fieldMetaData)
          Method to fetch an object in this table.
 void ClassView.fetch(StateManager sm, AbstractPropertyMetaData[] fieldMetaData)
          Method to fetch the fields of an object from the View.
 void SecondaryTable.fetch(StateManager sm, AbstractPropertyMetaData[] fieldMetaData)
          Method to fetch an object for this class.
 void ClassTable.insert(StateManager sm)
          Method to fetch an insert into this table.
 void ClassView.insert(StateManager sm)
          Method to insert and object into the View.
 void SecondaryTable.insert(StateManager sm)
          Method to insert an object for this class.
 void ClassTable.locate(StateManager sm)
          Locates this object in the datastore.
 void ClassView.locate(StateManager sm)
          Method to locate an object in the view.
 void SecondaryTable.locate(StateManager sm)
          Locates this object in the datastore.
 void ClassTable.update(StateManager sm, AbstractPropertyMetaData[] fieldMetaData)
          Method to update an object in this table.
 void ClassView.update(StateManager sm, AbstractPropertyMetaData[] fieldMetaData)
          Method to update a view row.
 void SecondaryTable.update(StateManager sm, AbstractPropertyMetaData[] fieldMetaData)
          Method to update an object for this class.
 

Uses of StateManager in org.jpox.store.scostore
 

Methods in org.jpox.store.scostore with parameters of type StateManager
 void ListStore.add(StateManager ownerSM, int index, java.lang.Object element)
          Method to add an element to the List.
 boolean CollectionStore.add(StateManager sm, java.lang.Object element)
          Method to add an element to the collection.
 boolean CollectionStore.addAll(StateManager sm, java.util.Collection elements)
          Method to add a collection of elements to the collection.
 boolean ListStore.addAll(StateManager ownerSM, java.util.Collection c, boolean initialising)
          Method to add a collection of elements to the List.
 boolean ListStore.addAll(StateManager ownerSM, int index, java.util.Collection c)
          Method to add a collection of elements to the List.
 void CollectionStore.clear(StateManager sm)
          Method to clear the collection.
 void MapStore.clear(StateManager ownerSM)
          Method to clear the collection.
 void ArrayStore.clear(StateManager ownerSM)
          Method to clear the array.
 boolean CollectionStore.contains(StateManager sm, java.lang.Object element)
          Method to check if an element exists in the collection.
 boolean MapStore.containsKey(StateManager ownerSM, java.lang.Object key)
          Accessor for whether the Map contains this key.
 boolean MapStore.containsValue(StateManager ownerSM, java.lang.Object value)
          Accessor for whether the Map contains this value.
 java.lang.Object ListStore.get(StateManager ownerSM, int index)
          Method to retrieve an element from a position in the List.
 java.lang.Object MapStore.get(StateManager ownerSM, java.lang.Object key)
          Accessor for a value from the Map.
 java.util.List ArrayStore.getArray(StateManager ownerSM)
          Method to retrieve the elements of the array.
 int ListStore.indexOf(StateManager ownerSM, java.lang.Object element)
          Method to return the position of an element in the List.
 java.util.Iterator CollectionStore.iterator(StateManager sm)
          Accessor for an iterator for the collection.
 java.util.Iterator ArrayStore.iterator(StateManager sm)
          Accessor for an iterator for the array.
 int ListStore.lastIndexOf(StateManager ownerSM, java.lang.Object element)
          Method to return the last position of an element in the List.
 java.util.ListIterator ListStore.listIterator(StateManager ownerSM)
          Accessor for a list iterator for the List.
 java.util.ListIterator ListStore.listIterator(StateManager ownerSM, int index)
          Accessor for a list iterator for the List.
 QueryExpression CollectionStore.newQueryStatement(StateManager sm, java.lang.String candidateClass)
          Method to return a new Query Statement containing the candidate class.
 QueryExpression MapStore.newQueryStatement(StateManager ownerSM, java.lang.String candidateClass)
          Method to create a query statement for a Map with values of the supplied candidate class.
 Query.ResultObjectFactory CollectionStore.newResultObjectFactory(StateManager sm, QueryExpression stmt, boolean ignoreCache, boolean useFetchPlan)
          Method to return an object factory for processing query statements.
 Query.ResultObjectFactory MapStore.newResultObjectFactory(StateManager ownerSM, QueryExpression stmt, boolean ignoreCache, boolean useFetchPlan)
          Utility to create a Result Object Factory to process the results of selects returning values.
 java.lang.Object MapStore.put(StateManager ownerSM, java.lang.Object key, java.lang.Object value)
          Method to add a value to the Map against this key.
 void MapStore.putAll(StateManager ownerSM, java.util.Map m)
          Method to add a map of values to the Map.
 java.lang.Object ListStore.remove(StateManager ownerSM, int index)
          Method to remove an element from the List.
 boolean CollectionStore.remove(StateManager sm, java.lang.Object element)
          Method to remove an element from the collection.
 java.lang.Object MapStore.remove(StateManager ownerSM, java.lang.Object key)
          Method to remove a value from the Map.
 boolean CollectionStore.removeAll(StateManager sm, java.util.Collection elements)
          Method to remove a collection of elements from the collection.
 java.lang.Object ListStore.set(StateManager ownerSM, int index, java.lang.Object element, boolean allowDependentField)
          Method to update an element at a position in the List.
 boolean ArrayStore.set(StateManager ownerSM, java.lang.Object array)
          Method to set the elements in the array.
 int CollectionStore.size(StateManager sm)
          Accessor for the size of the collection.
 int ArrayStore.size(StateManager sm)
          Accessor for the size of the array.
 java.util.List ListStore.subList(StateManager ownerSM, int from, int to)
          Accessor for a sublist of elements between from and to indices.
 boolean CollectionStore.updateEmbeddedElement(StateManager sm, java.lang.Object element, int fieldNumber, java.lang.Object value)
          Method to update en embedded element in the collection.
 boolean MapStore.updateEmbeddedKey(StateManager sm, java.lang.Object key, int fieldNumber, java.lang.Object newValue)
          Method to update en embedded key in the collection.
 boolean MapStore.updateEmbeddedValue(StateManager sm, java.lang.Object value, int fieldNumber, java.lang.Object newValue)
          Method to update en embedded value in the collection.
 



Copyright © -2010 . All Rights Reserved.