Uses of Class
org.exolab.castor.persist.spi.Identity

Packages that use Identity
org.castor.cpa.persistence.sql.engine   
org.castor.cpa.persistence.sql.engine.info   
org.castor.cpa.persistence.sql.keygen   
org.castor.persist   
org.castor.persist.proxy   
org.castor.persist.resolver   
org.exolab.castor.jdo The Java Data Objects API Version: $Revision: 6216 $ $Date: 2005-04-21 14:21:10 -0600 (Thu, 21 Apr 2005) $ Author: Assaf Arkin The class JDOManager provides the Castor JDO engine used for obtaining a database connection. 
org.exolab.castor.jdo.engine Implementation of the Castor JDO engine. 
org.exolab.castor.persist The Castor persistence engine handles object persistence, object caching, transaction concurrency and locking. 
org.exolab.castor.persist.spi Defines the interfaces for persistence engine service providers. 
 

Uses of Identity in org.castor.cpa.persistence.sql.engine
 

Methods in org.castor.cpa.persistence.sql.engine with parameters of type Identity
 void SQLStatementDelete.executeStatement(CastorConnection conn, Identity identity)
          Execute statement to remove entity with given identity from database using given JDBC connection.
 Object SQLStatementUpdate.executeStatement(CastorConnection conn, Identity identity, ProposedEntity newentity, ProposedEntity oldentity)
          Stores the identity to the database using JDBC Connection.
 Object SQLStatementInsert.executeStatement(Database database, CastorConnection conn, Identity identity, ProposedEntity entity)
          Executes the SQL statement after preparing the PreparedStatement.
 void SQLStatementInsertCheck.insertDuplicateKeyCheck(CastorConnection conn, Identity identity)
          Performs check for Duplicate primary key.
 void SQLStatementUpdateCheck.updateFailureCheck(CastorConnection conn, Identity identity)
          This function checks whether the object specified in the statement has been previously removed from the persistent storage or has been modified.
 

Uses of Identity in org.castor.cpa.persistence.sql.engine.info
 

Methods in org.castor.cpa.persistence.sql.engine.info with parameters of type Identity
 List<ColumnValue> TableInfo.toSQL(Identity input)
          Method appending values from passed identity to corresponding columns.
 

Uses of Identity in org.castor.cpa.persistence.sql.keygen
 

Methods in org.castor.cpa.persistence.sql.keygen with parameters of type Identity
 void NoKeyGenerator.bindIdentity(Identity internalIdentity, CastorStatement stmt)
          Binds the identity values.
 void AbstractBeforeKeyGenerator.bindIdentity(Identity internalIdentity, CastorStatement stmt)
          Binds the identity values.
 Object SequenceDuringKeyGenerator.executeStatement(Database database, CastorConnection conn, Identity identity, ProposedEntity entity)
          Executes the SQL statement after preparing the PreparedStatement.
 Object NoKeyGenerator.executeStatement(Database database, CastorConnection conn, Identity identity, ProposedEntity entity)
          Executes the SQL statement after preparing the PreparedStatement.
 Object KeyGenerator.executeStatement(Database database, CastorConnection conn, Identity identity, ProposedEntity entity)
          Executes the SQL statement after preparing the PreparedStatement.
 Object AbstractBeforeKeyGenerator.executeStatement(Database database, CastorConnection conn, Identity identity, ProposedEntity entity)
          Executes the SQL statement after preparing the PreparedStatement.
 Object AbstractAfterKeyGenerator.executeStatement(Database database, CastorConnection conn, Identity identity, ProposedEntity entity)
          Executes the SQL statement after preparing the PreparedStatement.
 

Uses of Identity in org.castor.persist
 

Methods in org.castor.persist with parameters of type Identity
 void TransactionContext.expireCache(ClassMolder molder, Identity identity)
          Expire object from the cache.
 void AbstractTransactionContext.expireCache(ClassMolder molder, Identity identity)
          Expire object from the cache.
 Object TransactionContext.fetch(ClassMolder molder, Identity identity, AccessMode suggestedAccessMode)
           
 Object AbstractTransactionContext.fetch(ClassMolder molder, Identity identity, AccessMode suggestedAccessMode)
          
 boolean TransactionContext.isCached(ClassMolder molder, Class cls, Identity identity)
           
 boolean AbstractTransactionContext.isCached(ClassMolder molder, Class cls, Identity identity)
          
 boolean TransactionContext.isLocked(Class cls, Identity identity, LockEngine lockEngine)
          Returns true if the object given is locked.
 boolean AbstractTransactionContext.isLocked(Class cls, Identity identity, LockEngine lockEngine)
          Returns true if the object given is locked.
 Object TransactionContext.load(Identity identity, ProposedEntity proposedObject, AccessMode suggestedAccessMode)
          Load an object for use within the transaction.
 Object AbstractTransactionContext.load(Identity identity, ProposedEntity proposedObject, AccessMode suggestedAccessMode)
          Load an object for use within the transaction.
 Object TransactionContext.load(Identity identity, ProposedEntity proposedObject, AccessMode suggestedAccessMode, QueryResults results)
          Load an object for use within the transaction.
 Object AbstractTransactionContext.load(Identity identity, ProposedEntity proposedObject, AccessMode suggestedAccessMode, QueryResults results)
          Load an object for use within the transaction.
 

Uses of Identity in org.castor.persist.proxy
 

Methods in org.castor.persist.proxy that return Identity
 Identity LazyCGLIB.interceptedIdentity()
          Returns the identity of the object (class) intercepted.
 

Methods in org.castor.persist.proxy that return types with arguments of type Identity
 List<Identity> LazyHashSet.getIdsList()
           
 List<Identity> LazyCollection.getIdsList()
           
 List<Identity> LazyHashSet.getRemovedIdsList()
           
 List<Identity> LazyCollection.getRemovedIdsList()
           
 

Methods in org.castor.persist.proxy with parameters of type Identity
abstract  void CollectionProxy.add(Identity key, Object value)
           
static Object SingleProxy.getProxy(TransactionContext tx, ClassMolder classMolder, Identity identity, Object object, AccessMode accessMode)
          Factory method to create SingleProxy instance.
 

Constructor parameters in org.castor.persist.proxy with type arguments of type Identity
LazyHashSet(TransactionContext tx, ClassMolder molder, List<Identity> ids)
          Creates an instance of LazyHashSet.
 

Uses of Identity in org.castor.persist.resolver
 

Methods in org.castor.persist.resolver with parameters of type Identity
 Object SerializableResolver.postCreate(TransactionContext tx, OID oid, Object object, Object field, Identity createdId)
           
 Object ResolverStrategy.postCreate(TransactionContext tx, OID oid, Object object, Object field, Identity createdId)
          Called after successful creation of an object of the base class.
 Object PrimitiveResolver.postCreate(TransactionContext tx, OID oid, Object object, Object field, Identity createdId)
           
 Object PersistanceCapableRelationResolver.postCreate(TransactionContext tx, OID oid, Object object, Object field, Identity createdId)
           
 Object OneToManyRelationResolver.postCreate(TransactionContext tx, OID oid, Object object, Object field, Identity createdId)
           
 Object ManyToManyRelationResolver.postCreate(TransactionContext tx, OID oid, Object object, Object field, Identity createdId)
           
abstract  Object ManyRelationResolver.postCreate(TransactionContext tx, OID oid, Object object, Object field, Identity createdId)
           
 

Uses of Identity in org.exolab.castor.jdo
 

Methods in org.exolab.castor.jdo that return Identity
 Identity Database.getIdentity(Object object)
          Returns the object's identity.
 

Uses of Identity in org.exolab.castor.jdo.engine
 

Methods in org.exolab.castor.jdo.engine that return Identity
 Identity SQLEngine.create(Database database, Object conn, ProposedEntity entity, Identity identity)
           
 Identity AbstractDatabaseImpl.getIdentity(Object object)
          Returns the object's identity.
 Identity SQLQuery.nextIdentity(Identity identity)
           
 

Methods in org.exolab.castor.jdo.engine with parameters of type Identity
 Identity SQLEngine.create(Database database, Object conn, ProposedEntity entity, Identity identity)
           
 void SQLEngine.delete(Object conn, Identity identity)
           
 void SQLStatementLoad.executeStatement(CastorConnection conn, Identity identity, ProposedEntity entity, AccessMode accessMode)
          Execute statement to load entity with given identity from database using given JDBC connection.
 void SQLEngine.load(Object conn, ProposedEntity entity, Identity identity, AccessMode accessMode)
          Loads the object from persistence storage.
 Identity SQLQuery.nextIdentity(Identity identity)
           
 void SQLEngine.store(Object conn, Identity identity, ProposedEntity newentity, ProposedEntity oldentity)
           
 

Uses of Identity in org.exolab.castor.persist
 

Methods in org.exolab.castor.persist that return Identity
 Identity ClassMolder.create(TransactionContext tx, OID oid, DepositBox locker, Object object)
          Create an object of the base class with specified identity into the persistence storage.
 Identity ClassMolder.getActualIdentity(ClassLoader loader, Object o)
          Get the identity from a object of the base type.
 Identity ClassMolder.getActualIdentity(TransactionContext tx, Object o)
          Get the identity from a object of the base type.
 Identity OID.getIdentity()
          Return the object's identity, if known.
 Identity ClassMolder.getIdentity(TransactionContext tx, Object o)
          Get the identity from a object of the base type.
 

Methods in org.exolab.castor.persist that return types with arguments of type Identity
static List<Identity> ClassMolderHelper.getIdsList(TransactionContext tx, ClassMolder molder, Object col)
          Return all the object identity of a Collection of object of the same type.
static List<Identity> ClassMolderHelper.getRemovedIdsList(TransactionContext tx, List<Identity> orgIds, Object collection, ClassMolder molder)
          It is assumed the returned collection will not be modified.
 

Methods in org.exolab.castor.persist with parameters of type Identity
 void SQLRelationLoader.createRelation(Connection conn, Identity left, Identity right)
           
 void SQLRelationLoader.deleteRelation(Connection conn, Identity left)
           
 void SQLRelationLoader.deleteRelation(Connection conn, Identity left, Identity right)
           
 boolean ClassMolder.isDefaultIdentity(Identity identity)
          Test if the specified identity is the default value of the type.
 void LockEngine.load(AbstractTransactionContext tx, OID paramoid, ProposedEntity proposedObject, AccessMode suggestedAccessMode, int timeout, QueryResults results, ClassMolder paramMolder, Identity identity)
          Loads an object of the specified type and identity from persistent storage.
 void ClassMolder.setIdentity(TransactionContext tx, Object object, Identity identity)
          Set the identity into an object.
 

Method parameters in org.exolab.castor.persist with type arguments of type Identity
static Collection<Object> ClassMolderHelper.getAddedEntitiesList(TransactionContext tx, List<Identity> orgIds, Object collection, ClassMolder molder)
          It is assumed the returned collection will not be modified.
static List<Identity> ClassMolderHelper.getRemovedIdsList(TransactionContext tx, List<Identity> orgIds, Object collection, ClassMolder molder)
          It is assumed the returned collection will not be modified.
 

Constructors in org.exolab.castor.persist with parameters of type Identity
OID(ClassMolder molder, Identity identity)
          Constructor.
OID(ClassMolder molder, OID depends, Identity identity)
          Constructor.
 

Uses of Identity in org.exolab.castor.persist.spi
 

Fields in org.exolab.castor.persist.spi declared as Identity
protected  Identity AbstractCallQuery._lastIdentity
           
 

Methods in org.exolab.castor.persist.spi that return Identity
 Identity Persistence.create(Database database, Object conn, ProposedEntity entity, Identity identity)
          Creates a new object in persistence storage.
 Identity PersistenceQuery.nextIdentity(Identity identity)
          Returns the identity of the next object to be returned.
 Identity AbstractCallQuery.nextIdentity(Identity identity)
           
 

Methods in org.exolab.castor.persist.spi with parameters of type Identity
 Identity Persistence.create(Database database, Object conn, ProposedEntity entity, Identity identity)
          Creates a new object in persistence storage.
 void Persistence.delete(Object conn, Identity identity)
          Deletes the object from persistent storage, given the object' identity.
 void Persistence.load(Object conn, ProposedEntity proposedObject, Identity identity, AccessMode accessMode)
          Loads the object from persistence storage.
 Identity PersistenceQuery.nextIdentity(Identity identity)
          Returns the identity of the next object to be returned.
 Identity AbstractCallQuery.nextIdentity(Identity identity)
           
 void Persistence.store(Object conn, Identity identity, ProposedEntity newentity, ProposedEntity oldentity)
          Stores the object in persistent storage, given the object fields and its identity.
 



Copyright © 2011. All Rights Reserved.