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

Packages that use Identity
org.castor.cpa.persistence.sql.engine   
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
 Object SQLStatementDelete.executeStatement(Connection conn, Identity identity)
          Execute statement to remove entity with given identity from database using given JDBC connection.
 Object SQLStatementUpdate.executeStatement(Connection conn, Identity identity, ProposedEntity newentity, ProposedEntity oldentity)
          Stores the identity to the database using JDBC Connection.
 Object SQLStatementInsert.executeStatement(Database database, Connection conn, Identity identity, ProposedEntity entity)
          Executes the SQL statement after preparing the PreparedStatement.
 void SQLStatementInsertCheck.insertDuplicateKeyCheck(Connection conn, Identity identity)
          Performs check for Duplicate primary key.
 void SQLStatementUpdateCheck.updateFailureCheck(Connection 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.keygen
 

Methods in org.castor.cpa.persistence.sql.keygen with parameters of type Identity
 void NoKeyGenerator.bindIdentity(Identity internalIdentity, PreparedStatement stmt)
          Binds the identity values.
 void AbstractBeforeKeyGenerator.bindIdentity(Identity internalIdentity, PreparedStatement stmt)
          Binds the identity values.
 Object SequenceDuringKeyGenerator.executeStatement(Database database, Connection conn, Identity identity, ProposedEntity entity)
          Executes the SQL statement after preparing the PreparedStatement.
 Object NoKeyGenerator.executeStatement(Database database, Connection conn, Identity identity, ProposedEntity entity)
          Executes the SQL statement after preparing the PreparedStatement.
 Object KeyGenerator.executeStatement(Database database, Connection conn, Identity identity, ProposedEntity entity)
          Executes the SQL statement after preparing the PreparedStatement.
 Object AbstractBeforeKeyGenerator.executeStatement(Database database, Connection conn, Identity identity, ProposedEntity entity)
          Executes the SQL statement after preparing the PreparedStatement.
 Object AbstractAfterKeyGenerator.executeStatement(Database database, Connection 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 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.
 

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(Connection conn, Identity identity, ProposedEntity entity, AccessMode accessMode)
           
 void SQLEngine.load(Object conn, ProposedEntity entity, Identity identity, AccessMode accessMode)
          Loads the object from persistence storage.
 Identity SQLQuery.nextIdentity(Identity identity)
           
 Object 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 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 ClassMolder.setIdentity(TransactionContext tx, Object object, Identity identity)
          Set the identity into an object.
 

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)
           
 Object Persistence.store(Object conn, Identity identity, ProposedEntity newentity, ProposedEntity oldentity)
          Stores the object in persistent storage, given the object fields and its identity.
 



Copyright © 2010. All Rights Reserved.