Uses of Class
org.apache.ojb.broker.Identity

Packages that use Identity
org.apache.ojb.broker   
org.apache.ojb.broker.accesslayer   
org.apache.ojb.broker.cache This package provides classes for caching of objects materialized from a datastore. 
org.apache.ojb.broker.core   
org.apache.ojb.broker.core.proxy   
org.apache.ojb.broker.util   
org.apache.ojb.odmg   
org.apache.ojb.odmg.collections   
org.apache.ojb.odmg.locking   
org.apache.ojb.otm   
org.apache.ojb.otm.core   
org.apache.ojb.otm.kit   
org.apache.ojb.otm.lock   
org.apache.ojb.otm.lock.map   
 

Uses of Identity in org.apache.ojb.broker
 

Methods in org.apache.ojb.broker that return Identity
 Identity IdentityFactory.buildIdentity(Class realClass, Class topLevelClass, Object[] pkValues)
          Create a new Identity object based on given arguments - NOTE: There will be no check to resolve the order of the PK values.
 Identity IdentityFactory.buildIdentity(Class realClass, Class topLevelClass, String[] pkFieldName, Object[] pkValues)
          Build a unique Identity for the given primary key values (composite PK's) of a persistence capable object.
 Identity IdentityFactory.buildIdentity(ClassDescriptor cld, Object obj)
          Build a unique Identity for the given persistence capable object.
 Identity IdentityFactory.buildIdentity(Class realClass, Object pkValue)
          Convenience method for persistent objects with single primary key.
 Identity IdentityFactory.buildIdentity(Class realClass, String[] pkFieldName, Object[] pkValues)
          Convenience shortcut method for IdentityFactory.buildIdentity(java.lang.Class, java.lang.Class, java.lang.String[], java.lang.Object[]).
 Identity IdentityFactory.buildIdentity(Object obj)
          Build a unique Identity for the given persistence capable object.
static Identity Identity.fromByteArray(byte[] anArray)
          Deprecated.  
 

Methods in org.apache.ojb.broker with parameters of type Identity
 void PersistenceBrokerInternal.checkRefreshRelationships(Object obj, Identity oid, ClassDescriptor cld)
          Refreshes the references of the given object whose refresh is set to true.
 Object PersistenceBrokerInternal.createProxy(Class proxyClass, Identity realSubjectsIdentity)
          Shortcut method for creating a proxy of the given type.
 Object PersistenceBroker.getObjectByIdentity(Identity id)
          Retrieve a persistent object from the underlying datastore by its identity.
 void PersistenceBrokerInternal.store(Object obj, Identity oid, ClassDescriptor cld, boolean insert, boolean ignoreReferences)
          Performs the real store work (insert or update) and is intended for use by top-level apis internally.
 

Uses of Identity in org.apache.ojb.broker.accesslayer
 

Methods in org.apache.ojb.broker.accesslayer that return Identity
protected  Identity RsIterator.getIdentityFromResultSet()
          returns an Identity object representing the current resultset row
 

Methods in org.apache.ojb.broker.accesslayer with parameters of type Identity
 void StatementManager.bindDelete(PreparedStatement stmt, Identity oid, ClassDescriptor cld)
          binds the Identities Primary key values to the statement
 void StatementManagerIF.bindDelete(PreparedStatement stmt, Identity oid, ClassDescriptor cld)
          Binds the Identities Primary key values to the statement.
 void StatementManager.bindSelect(PreparedStatement stmt, Identity oid, ClassDescriptor cld, boolean callableStmt)
          Binds the Identities Primary key values to the statement.
 void StatementManagerIF.bindSelect(PreparedStatement stmt, Identity oid, ClassDescriptor cld, boolean callableStmt)
          binds the Identities Primary key values to the statement
protected  ValueContainer[] StatementManager.getKeyValues(PersistenceBroker broker, ClassDescriptor cld, Identity oid)
          returns an Array with an Identities PK VALUES
 Object JdbcAccess.materializeObject(ClassDescriptor cld, Identity oid)
          performs a primary key lookup operation against RDBMS and materializes an object from the resulting row.
 Object JdbcAccessImpl.materializeObject(ClassDescriptor cld, Identity oid)
          performs a primary key lookup operation against RDBMS and materializes an object from the resulting row.
 

Uses of Identity in org.apache.ojb.broker.cache
 

Methods in org.apache.ojb.broker.cache with parameters of type Identity
 void ObjectCacheJCSImpl.cache(Identity oid, Object obj)
          makes object obj persistent to the Objectcache under the key oid.
 void ObjectCache.cache(Identity oid, Object obj)
          Used to cache objects by it's Identity.
 void ObjectCacheTwoLevelImpl.cache(Identity oid, Object obj)
          Put the specified object to session cache.
 void MaterializationCache.cache(Identity oid, Object obj)
           
 void ObjectCacheDefaultImpl.cache(Identity oid, Object obj)
          Makes object persistent to the Objectcache.
 void ObjectCachePerBrokerImpl.cache(Identity oid, Object obj)
          Makes object persistent to the Objectcache.
 void AbstractMetaCache.cache(Identity oid, Object obj)
          Caches the given object using the given Identity as key
 void ObjectCacheSoftImpl.cache(Identity oid, Object obj)
           
 void ObjectCacheEmptyImpl.cache(Identity oid, Object obj)
           
 void ObjectCacheLocalDefaultImpl.cache(Identity oid, Object obj)
          Makes object persistent to the Objectcache.
 boolean ObjectCacheJCSImpl.cacheIfNew(Identity oid, Object obj)
           
 boolean ObjectCacheInternal.cacheIfNew(Identity oid, Object obj)
          For internal use within ObjectCache implementations or to build two-level caches.
 boolean ObjectCacheTwoLevelImpl.cacheIfNew(Identity oid, Object obj)
           
 boolean MaterializationCache.cacheIfNew(Identity oid, Object obj)
           
 boolean ObjectCacheDefaultImpl.cacheIfNew(Identity oid, Object obj)
           
 boolean ObjectCachePerBrokerImpl.cacheIfNew(Identity oid, Object obj)
           
 boolean AbstractMetaCache.cacheIfNew(Identity oid, Object obj)
          We delegate this method to the standard cache method.
 boolean ObjectCacheSoftImpl.cacheIfNew(Identity oid, Object obj)
           
 boolean ObjectCacheLocalDefaultImpl.cacheIfNew(Identity oid, Object obj)
           
 void ObjectCacheInternal.doInternalCache(Identity oid, Object obj, int type)
          For internal use.
 void ObjectCacheTwoLevelImpl.doInternalCache(Identity oid, Object obj, int type)
          Cache the given object.
 void MaterializationCache.doInternalCache(Identity oid, Object obj, int type)
           
 void ObjectCacheDefaultImpl.doInternalCache(Identity oid, Object obj, int type)
           
 Object MaterializationCache.doLocalLookup(Identity oid)
           
 void MaterializationCache.doLocalRemove(Identity oid)
           
 ObjectCache ObjectCacheJCSPerClassImpl.getCache(Identity oid, Object obj, int methodCall)
           
 ObjectCache ObjectCachePerClassImpl.getCache(Identity oid, Object obj, int methodCall)
           
abstract  ObjectCache AbstractMetaCache.getCache(Identity oid, Object obj, int callingMethod)
          This method handle all calls against the ObjectCache interface.
 Object ObjectCacheJCSImpl.lookup(Identity oid)
          Lookup object with Identity oid in objectTable.
 Object ObjectCache.lookup(Identity oid)
          Lookup object with Identity 'oid' in cache.
 Object ObjectCacheTwoLevelImpl.lookup(Identity oid)
          Lookup corresponding object from session cache or if not found from the underlying real ObjectCache - Return null if no object was found.
 Object MaterializationCache.lookup(Identity oid)
           
 Object ObjectCacheDefaultImpl.lookup(Identity oid)
          Lookup object with Identity oid in objectTable.
 Object ObjectCachePerBrokerImpl.lookup(Identity oid)
          Lookup object with Identity oid in objectTable.
 Object AbstractMetaCache.lookup(Identity oid)
          Looks up the object from the cache
 Object ObjectCacheSoftImpl.lookup(Identity oid)
           
 Object ObjectCacheEmptyImpl.lookup(Identity oid)
           
 Object ObjectCacheLocalDefaultImpl.lookup(Identity oid)
          Lookup object with Identity oid in objectTable.
 void ObjectCacheJCSImpl.remove(Identity oid)
          removes an Object from the cache.
 void ObjectCache.remove(Identity oid)
          Removes an Object from the cache.
 void ObjectCacheTwoLevelImpl.remove(Identity oid)
          Remove the corresponding object from session AND application cache.
 void MaterializationCache.remove(Identity oid)
           
 void ObjectCacheDefaultImpl.remove(Identity oid)
          Removes an Object from the cache.
 void ObjectCachePerBrokerImpl.remove(Identity oid)
          Removes an Object from the cache.
 void AbstractMetaCache.remove(Identity oid)
          Removes the given object from the cache
 void ObjectCacheSoftImpl.remove(Identity oid)
           
 void ObjectCacheEmptyImpl.remove(Identity oid)
           
 void ObjectCacheLocalDefaultImpl.remove(Identity oid)
          Removes an Object from the cache.
 

Uses of Identity in org.apache.ojb.broker.core
 

Methods in org.apache.ojb.broker.core that return Identity
 Identity IdentityFactoryImpl.buildIdentity(Class realClass, Class topLevelClass, Object[] pkValues)
           
 Identity IdentityFactoryImpl.buildIdentity(Class realClass, Class topLevelClass, String[] pkFieldNames, Object[] pkValues)
           
 Identity IdentityFactoryImpl.buildIdentity(ClassDescriptor cld, Object obj)
           
 Identity IdentityFactoryImpl.buildIdentity(Class realClass, Object pkValue)
           
 Identity IdentityFactoryImpl.buildIdentity(Class realClass, String[] pkFieldNames, Object[] pkValues)
           
 Identity IdentityFactoryImpl.buildIdentity(Object obj)
           
protected  Identity IdentityFactoryImpl.createTransientOrRealIdentity(ClassDescriptor cld, Object objOrProxy)
          This methods creates a new transient (if at least one PK field is 'null') or persistent (if the PK fields are populated) Identity instance.
 

Methods in org.apache.ojb.broker.core with parameters of type Identity
 void DelegatingPersistenceBroker.checkRefreshRelationships(Object obj, Identity oid, ClassDescriptor cld)
           
 void PersistenceBrokerImpl.checkRefreshRelationships(Object obj, Identity oid, ClassDescriptor cld)
          Check if the references of the specified object have enabled the refresh attribute and refresh the reference if set true.
 Object DelegatingPersistenceBroker.createProxy(Class proxyClass, Identity realSubjectsIdentity)
           
 Object PersistenceBrokerBean.createProxy(Class proxyClass, Identity realSubjectsIdentity)
           
 Object PersistenceBrokerImpl.createProxy(Class baseClassForProxy, Identity realSubjectsIdentity)
          Creates a proxy instance.
 Object PersistenceBrokerImpl.doGetObjectByIdentity(Identity id)
          Internal used method to retrieve object based on Identity.
 Object DelegatingPersistenceBroker.getObjectByIdentity(Identity id)
           
 Object PersistenceBrokerBean.getObjectByIdentity(Identity id)
           
 Object PersistenceBrokerImpl.getObjectByIdentity(Identity id)
           
 Query QueryReferenceBroker.getPKQuery(Identity oid)
          Answer the primary key query to retrieve an Object
protected  void PersistenceBrokerImpl.store(Object obj, Identity oid, ClassDescriptor cld, boolean insert)
          Internal used method which start the real store work.
 void DelegatingPersistenceBroker.store(Object obj, Identity oid, ClassDescriptor cld, boolean insert, boolean ignoreReferences)
           
 void PersistenceBrokerImpl.store(Object obj, Identity oid, ClassDescriptor cld, boolean insert, boolean ignoreReferences)
          Method which start the real store work (insert or update) and is intended for use by top-level api or internal calls.
 

Uses of Identity in org.apache.ojb.broker.core.proxy
 

Methods in org.apache.ojb.broker.core.proxy that return Identity
 Identity AbstractIndirectionHandler.getIdentity()
          Returns the identity of the subject.
 Identity IndirectionHandler.getIdentity()
          Returns the identity of the subject.
 

Methods in org.apache.ojb.broker.core.proxy with parameters of type Identity
 void MaterializationListener.beforeMaterialization(IndirectionHandler handler, Identity oid)
          this callback is invoked before an Object is materialized within an IndirectionHandler.
 IndirectionHandler ProxyFactory.createIndirectionHandler(PBKey pbKey, Identity id)
          Creates a new indirection handler instance.
 IndirectionHandler AbstractProxyFactory.createIndirectionHandler(PBKey brokerKey, Identity id)
          Creates a new indirection handler instance.
protected  void AbstractIndirectionHandler.setIdentity(Identity identity)
          Sets the identity of the subject of this indirection handler.
 

Constructors in org.apache.ojb.broker.core.proxy with parameters of type Identity
AbstractIndirectionHandler(PBKey brokerKey, Identity id)
          Creates a new indirection handler for the indicated object.
IndirectionHandlerCGLIBImpl(PBKey brokerKey, Identity id)
          Creates a new indirection handler for the indicated object.
IndirectionHandlerJDKImpl(PBKey brokerKey, Identity id)
          Creates a new indirection handler for the indicated object.
VirtualProxy(PBKey key, Identity oid)
          Creates a VirtualProxy for the subject with the given identity.
 

Uses of Identity in org.apache.ojb.broker.util
 

Methods in org.apache.ojb.broker.util with parameters of type Identity
 boolean BrokerHelper.doesExist(ClassDescriptor cld, Identity oid, Object obj)
          TODO: This method should be moved to JdbcAccess before 1.1 release.
 ValueContainer[] BrokerHelper.getKeyValues(ClassDescriptor cld, Identity oid)
          Return primary key values of given Identity object.
 ValueContainer[] BrokerHelper.getKeyValues(ClassDescriptor cld, Identity oid, boolean convertToSql)
          Return key Values of an Identity
 

Uses of Identity in org.apache.ojb.odmg
 

Methods in org.apache.ojb.odmg that return Identity
 Identity RuntimeObject.getIdentity()
          Returns the associated object Identity.
 Identity ObjectEnvelope.getIdentity()
           
 Identity ObjectEnvelope.refreshIdentity()
          Replace the current with a new generated identity object and returns the old one.
 

Methods in org.apache.ojb.odmg with parameters of type Identity
 void ObjectEnvelope.addedOneToOne(ObjectReferenceDescriptor ord, Object refObjOrProxy, Identity oid)
           
 void Image.ImageListener.addedOneToOne(ObjectReferenceDescriptor ord, Object refObjOrProxy, Identity oid)
           
 void ObjectEnvelope.addedXToN(CollectionDescriptor cod, Object refObjOrProxy, Identity oid)
           
 void Image.ImageListener.addedXToN(CollectionDescriptor ord, Object refObjOrProxy, Identity oid)
           
 void TransactionImpl.beforeMaterialization(IndirectionHandler handler, Identity oid)
          this callback is invoked before an Object is materialized within an IndirectionHandler.
 boolean ObjectEnvelopeTable.contains(Identity oid)
          retrieve an objects ObjectModification state from the hashtable
 void ObjectEnvelope.deletedOneToOne(ObjectReferenceDescriptor ord, Object refObjOrProxy, Identity oid, boolean needsUnlink)
           
 void Image.ImageListener.deletedOneToOne(ObjectReferenceDescriptor ord, Object refObjOrProxy, Identity oid, boolean needsUnlink)
           
 void ObjectEnvelope.deletedXToN(CollectionDescriptor cod, Object refObjOrProxy, Identity oid)
           
 void Image.ImageListener.deletedXToN(CollectionDescriptor ord, Object refObjOrProxy, Identity oid)
           
 ObjectEnvelope ObjectEnvelopeTable.get(Identity oid, Object pKey, boolean isNew)
          retrieve an objects ObjectEnvelope state from the hashtable.
 ObjectEnvelope ObjectEnvelopeTable.getByIdentity(Identity id)
          retrieve an objects ObjectModification state from the hashtable
 Object TransactionImpl.getObjectByIdentity(Identity id)
          Get object by identity.
 Object NarrowTransaction.getObjectByIdentity(Identity id)
           
 boolean ObjectEnvelope.isDeleted(Identity id)
          Checks if the object with the given identity has been deleted within the transaction.
 boolean TransactionImpl.isDeleted(Identity id)
           
 boolean TransactionExt.isDeleted(Identity id)
          Checks if the object with the given Identity has been deleted within the transaction using Database.deletePersistent(Object) or TransactionExt.markDelete(Object).
 boolean NarrowTransaction.isDeleted(Identity id)
           
protected  boolean TransactionImpl.isTransient(ClassDescriptor cld, Object obj, Identity oid)
          Detect new objects.
 

Constructors in org.apache.ojb.odmg with parameters of type Identity
ObjectEnvelope(ObjectEnvelopeTable buffer, Identity oid, Object obj, boolean isNewObject)
          Create a wrapper by providing an Object.
RuntimeObject(Object obj, Identity oid, ClassDescriptor cld, boolean isNew, boolean isProxy)
           
RuntimeObject(Object obj, Identity identity, TransactionImpl tx, boolean isNew)
           
 

Uses of Identity in org.apache.ojb.odmg.collections
 

Fields in org.apache.ojb.odmg.collections declared as Identity
protected  Identity DListEntry.oid
           
 

Methods in org.apache.ojb.odmg.collections that return Identity
 Identity DMapEntry.getKeyOid()
           
 Identity DListEntry.getOid()
           
 Identity DMapEntry.getValueOid()
           
 

Methods in org.apache.ojb.odmg.collections with parameters of type Identity
 void DMapEntry.setKeyOid(Identity keyOid)
           
 void DListEntry.setOid(Identity oid)
           
 void DMapEntry.setValueOid(Identity valueOid)
           
 

Uses of Identity in org.apache.ojb.odmg.locking
 

Methods in org.apache.ojb.odmg.locking with parameters of type Identity
 boolean LockManagerDefaultImpl.checkRead(TransactionImpl tx, Identity oid, Object obj)
          Deprecated.  
 boolean LockManagerOdmgImpl.checkRead(TransactionImpl tx, Identity oid, Object obj)
           
 boolean LockManager.checkRead(TransactionImpl tx, Identity oid, Object obj)
          checks if there is a readlock for transaction tx on object obj.
 boolean LockManagerDefaultImpl.checkWrite(TransactionImpl tx, Identity oid, Object obj)
          Deprecated.  
 boolean LockManagerOdmgImpl.checkWrite(TransactionImpl tx, Identity oid, Object obj)
           
 boolean LockManager.checkWrite(TransactionImpl tx, Identity oid, Object obj)
          checks if there is a writelock for transaction tx on object obj.
 Collection InMemoryLockMapImpl.getReaders(Identity oid)
          Deprecated.  
 LockEntry InMemoryLockMapImpl.getWriter(Identity oid)
          Deprecated.  
 boolean LockManagerDefaultImpl.readLock(TransactionImpl tx, Identity oid, Object obj)
          Deprecated.  
 boolean LockManagerOdmgImpl.readLock(TransactionImpl tx, Identity oid, Object obj)
           
 boolean LockManager.readLock(TransactionImpl tx, Identity oid, Object obj)
          aquires a readlock for transaction tx on object obj.
 boolean LockManagerDefaultImpl.releaseLock(TransactionImpl tx, Identity oid, Object obj)
          Deprecated.  
 boolean LockManagerOdmgImpl.releaseLock(TransactionImpl tx, Identity oid, Object obj)
           
 boolean LockManager.releaseLock(TransactionImpl tx, Identity oid, Object obj)
          releases a lock for transaction tx on object obj.
 boolean LockManagerDefaultImpl.upgradeLock(TransactionImpl tx, Identity oid, Object obj)
          Deprecated.  
 boolean LockManagerOdmgImpl.upgradeLock(TransactionImpl tx, Identity oid, Object obj)
           
 boolean LockManager.upgradeLock(TransactionImpl tx, Identity oid, Object obj)
          upgrades readlock for transaction tx on object obj to a writelock.
 boolean LockManagerDefaultImpl.writeLock(TransactionImpl tx, Identity oid, Object obj)
          Deprecated.  
 boolean LockManagerOdmgImpl.writeLock(TransactionImpl tx, Identity oid, Object obj)
           
 boolean LockManager.writeLock(TransactionImpl tx, Identity oid, Object obj)
          aquires a writelock for transaction tx on object obj.
 

Uses of Identity in org.apache.ojb.otm
 

Methods in org.apache.ojb.otm that return Identity
 Identity OTMConnection.getIdentity(Object object)
          Get the identity of the object
 

Methods in org.apache.ojb.otm with parameters of type Identity
 ObjectCopyStrategy Kit.getCopyStrategy(Identity oid)
           
abstract  ObjectCopyStrategy OTMKit.getCopyStrategy(Identity oid)
           
 Object OTMConnection.getObjectByIdentity(Identity oid)
          Get the object with the given Identity from the persistent store.
 Object OTMConnection.getObjectByIdentity(Identity oid, int lock)
          Get the object with the given Identity from the persistent store with the given lock value.
 void EditingContext.insert(Identity oid, Object userObject, int lock)
          Insert the given object into the EditingContext, acquiring the specified lock.
 void OTMConnection.invalidate(Identity oid)
          In the case if the program need to change the objects via direct JDBC call, it should first call invalidate() for the object, which will lock the object for write and tell OJB OTM that it must be re-read from the database, only after that you shold perform JDBC operation.
 Object EditingContext.lookup(Identity oid)
          Lookup object with the given oid in the Context.
 State EditingContext.lookupState(Identity oid)
          lookup the state of an object, given the oid, in the context
 void EditingContext.refresh(Identity oid, Object object)
          Rollback all changes made during this transaction to the given object.
 void EditingContext.remove(Identity oid)
          Remove a managed object from the management of this EditingContext.
 void EditingContext.setState(Identity oid, State state)
           
 

Uses of Identity in org.apache.ojb.otm.core
 

Methods in org.apache.ojb.otm.core that return Identity
 Identity BaseConnection.getIdentity(Object object)
          Get the identity of the object
 

Methods in org.apache.ojb.otm.core with parameters of type Identity
 void ConcreteEditingContext.beforeMaterialization(IndirectionHandler handler, Identity oid)
           
 void ConcreteEditingContext.cache(Identity oid, Object obj)
           
 boolean ConcreteEditingContext.cacheIfNew(Identity oid, Object obj)
           
 boolean ConcreteEditingContext.contains(Identity oid)
           
 void ConcreteEditingContext.deletePersistent(Identity oid, Object userObject)
           
 Object BaseConnection.getObjectByIdentity(Identity oid)
           
 Object BaseConnection.getObjectByIdentity(Identity oid, int lock)
           
 void ConcreteEditingContext.insert(Identity oid, Object userObject, int lock)
           
 void BaseConnection.invalidate(Identity oid)
           
 Object ConcreteEditingContext.lookup(Identity oid)
           
 State ConcreteEditingContext.lookupState(Identity oid)
           
 void ConcreteEditingContext.refresh(Identity oid, Object object)
          Rollback all changes made during this transaction to the given object.
 void ConcreteEditingContext.remove(Identity oid)
           
 void ConcreteEditingContext.setState(Identity oid, State state)
           
 

Uses of Identity in org.apache.ojb.otm.kit
 

Methods in org.apache.ojb.otm.kit with parameters of type Identity
 ObjectCopyStrategy SimpleKit.getCopyStrategy(Identity oid)
           
 

Uses of Identity in org.apache.ojb.otm.lock
 

Methods in org.apache.ojb.otm.lock that return Identity
 Identity ObjectLock.getTargetIdentity()
           
 

Methods in org.apache.ojb.otm.lock with parameters of type Identity
 void LockManager.ensureLock(Identity oid, Transaction tx, int lock, PersistenceBroker pb)
           
 int LockManager.getLockHeld(Identity oid, Transaction tx)
           
 void LockListener.lockReleased(Transaction tx, Identity oid)
           
 void LockManager.releaseLock(Identity oid, Transaction tx)
           
 

Constructors in org.apache.ojb.otm.lock with parameters of type Identity
ObjectLock(Identity oid)
           
 

Uses of Identity in org.apache.ojb.otm.lock.map
 

Methods in org.apache.ojb.otm.lock.map with parameters of type Identity
 ObjectLock LockMap.getLock(Identity oid)
           
 ObjectLock InMemoryLockMap.getLock(Identity oid)
           
 



Copyright © 2004-2012 The Kuali Foundation. All Rights Reserved.