Uses of Class
org.exolab.castor.persist.OID

Packages that use OID
org.castor.persist   
org.castor.persist.cache   
org.castor.persist.resolver   
org.exolab.castor.persist The Castor persistence engine handles object persistence, object caching, transaction concurrency and locking. 
 

Uses of OID in org.castor.persist
 

Methods in org.castor.persist that return OID
 OID ObjectTracker.getOIDForObject(Object o)
           
 

Methods in org.castor.persist with parameters of type OID
 void TransactionContext.create(ClassMolder molder, Object object, OID depended)
          Creates a new object in persistent storage.
 void AbstractTransactionContext.create(ClassMolder molder, Object object, OID depended)
          Creates a new object in persistent storage.
 Object ObjectTracker.getObjectForOID(LockEngine engine, OID oid, boolean allowReadOnly)
          Retrieve the object for a given OID.
 boolean TransactionContext.isDeletedByOID(LockEngine engine, OID oid)
           
 boolean AbstractTransactionContext.isDeletedByOID(LockEngine engine, OID oid)
          
 boolean TransactionContext.isDepended(OID master, Object dependent)
           
 boolean AbstractTransactionContext.isDepended(OID master, Object dependent)
          
 void TransactionContext.markCreate(ClassMolder molder, Object object, OID rootObjectOID)
          Walk a data object tree starting from the specified object, and mark all objects to be created.
 void AbstractTransactionContext.markCreate(ClassMolder molder, Object object, OID rootObjectOID)
          Walk a data object tree starting from the specified object, and mark all objects to be created.
 boolean TransactionContext.markUpdate(ClassMolder molder, Object object, OID depended)
          Update a new object in persistent storage and returns the object's OID.
 boolean AbstractTransactionContext.markUpdate(ClassMolder molder, Object object, OID depended)
          Update a new object in persistent storage and returns the object's OID.
 void ObjectTracker.removeOIDForObject(LockEngine engine, OID oid)
          For a given lockengine and OID, remove references to an object in the maps.
 void ObjectTracker.setOIDForObject(Object obj, LockEngine engine, OID oid)
          For a given lockengine and OID, set the object in the maps.
 void ObjectTracker.trackObject(ClassMolder molder, OID oid, Object object)
           
 void AbstractTransactionContext.trackObject(ClassMolder molder, OID oid, Object object)
           
 void ObjectTracker.trackOIDChange(Object obj, LockEngine engine, OID oldoid, OID newoid)
          Record changes to an OID by re-tracking the OID information.
 void TransactionContext.update(ClassMolder molder, Object object, OID depended)
          Update a new object in persistent storage and returns the object's OID.
 void AbstractTransactionContext.update(ClassMolder molder, Object object, OID depended)
          Update a new object in persistent storage and returns the object's OID.
 

Uses of OID in org.castor.persist.cache
 

Methods in org.castor.persist.cache that return OID
 OID CacheEntry.getOID()
          Get OID of the entity cached.
 

Constructors in org.castor.persist.cache with parameters of type OID
CacheEntry(OID oid, Object[] values, long version)
          Construct CacheEntry with given OID, values and version.
 

Uses of OID in org.castor.persist.resolver
 

Methods in org.castor.persist.resolver with parameters of type OID
 void SerializableResolver.load(TransactionContext tx, OID oid, ProposedEntity proposedObject, AccessMode suggestedAccessMode)
           
 void ResolverStrategy.load(TransactionContext tx, OID oid, ProposedEntity proposedObject, AccessMode suggestedAccessMode)
          Load an object with specified identity from the persistent storage.
 void PrimitiveResolver.load(TransactionContext tx, OID oid, ProposedEntity proposedObject, AccessMode suggestedAccessMode)
           
 void PersistanceCapableRelationResolver.load(TransactionContext tx, OID oid, ProposedEntity proposedObject, AccessMode suggestedAccessMode)
           
 void ManyRelationResolver.load(TransactionContext tx, OID oid, ProposedEntity proposedObject, AccessMode suggestedAccessMode)
           
 boolean SerializableResolver.markCreate(TransactionContext tx, OID oid, Object object)
           
 boolean ResolverStrategy.markCreate(TransactionContext tx, OID oid, Object object)
          Walk the object model and mark object that should be created.
 boolean PrimitiveResolver.markCreate(TransactionContext tx, OID oid, Object object)
           
 boolean PersistanceCapableRelationResolver.markCreate(TransactionContext tx, OID oid, Object object)
           
 boolean OneToManyRelationResolver.markCreate(TransactionContext tx, OID oid, Object object)
           
 boolean ManyToManyRelationResolver.markCreate(TransactionContext tx, OID oid, Object object)
           
abstract  boolean ManyRelationResolver.markCreate(TransactionContext tx, OID oid, Object object)
           
 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)
           
 UpdateFlags SerializableResolver.preStore(TransactionContext tx, OID oid, Object object, int timeout, Object field)
           
 UpdateFlags ResolverStrategy.preStore(TransactionContext tx, OID oid, Object object, int timeout, Object field)
          Check the object for modification.
 UpdateFlags PrimitiveResolver.preStore(TransactionContext tx, OID oid, Object object, int timeout, Object field)
           
 UpdateFlags PersistanceCapableRelationResolver.preStore(TransactionContext tx, OID oid, Object object, int timeout, Object field)
           
 UpdateFlags OneToManyRelationResolver.preStore(TransactionContext tx, OID oid, Object object, int timeout, Object field)
           
 UpdateFlags ManyToManyRelationResolver.preStore(TransactionContext tx, OID oid, Object object, int timeout, Object field)
           
abstract  UpdateFlags ManyRelationResolver.preStore(TransactionContext tx, OID oid, Object object, int timeout, Object field)
           
 void SerializableResolver.revertObject(TransactionContext tx, OID oid, Object object, Object field)
           
 void ResolverStrategy.revertObject(TransactionContext tx, OID oid, Object object, Object field)
          Revert the object back to the state of begining of the transaction If the object is loaded, it will be revert as it was loaded.
 void PrimitiveResolver.revertObject(TransactionContext tx, OID oid, Object object, Object field)
           
 void PersistanceCapableRelationResolver.revertObject(TransactionContext tx, OID oid, Object object, Object field)
           
 void ManyRelationResolver.revertObject(TransactionContext tx, OID oid, Object object, Object field)
           
 void SerializableResolver.update(TransactionContext tx, OID oid, Object object, AccessMode suggestedAccessMode, Object field)
           
 void ResolverStrategy.update(TransactionContext tx, OID oid, Object object, AccessMode suggestedAccessMode, Object field)
          Update the object which loaded or created in the other transaction to the persistent storage.
 void PrimitiveResolver.update(TransactionContext tx, OID oid, Object object, AccessMode suggestedAccessMode, Object field)
           
 void PersistanceCapableRelationResolver.update(TransactionContext tx, OID oid, Object object, AccessMode suggestedAccessMode, Object field)
           
 void OneToManyRelationResolver.update(TransactionContext tx, OID oid, Object object, AccessMode suggestedAccessMode, Object field)
           
 void ManyToManyRelationResolver.update(TransactionContext tx, OID oid, Object object, AccessMode suggestedAccessMode, Object field)
           
abstract  void ManyRelationResolver.update(TransactionContext tx, OID oid, Object object, AccessMode suggestedAccessMode, Object field)
           
 Object SerializableResolver.updateCache(TransactionContext tx, OID oid, Object object)
           
 Object ResolverStrategy.updateCache(TransactionContext tx, OID oid, Object object)
          Update the dirty checking cache.
 Object PrimitiveResolver.updateCache(TransactionContext tx, OID oid, Object object)
           
 Object PersistanceCapableRelationResolver.updateCache(TransactionContext tx, OID oid, Object object)
           
 Object ManyRelationResolver.updateCache(TransactionContext tx, OID oid, Object object)
           
 boolean SerializableResolver.updateWhenNoTimestampSet(TransactionContext tx, OID oid, Object object, AccessMode suggestedAccessMode)
           
 boolean ResolverStrategy.updateWhenNoTimestampSet(TransactionContext tx, OID oid, Object object, AccessMode suggestedAccessMode)
          Update the object which loaded or created in the other transaction to the persistent storage.
 boolean PrimitiveResolver.updateWhenNoTimestampSet(TransactionContext tx, OID oid, Object object, AccessMode suggestedAccessMode)
           
 boolean PersistanceCapableRelationResolver.updateWhenNoTimestampSet(TransactionContext tx, OID oid, Object object, AccessMode suggestedAccessMode)
           
 boolean OneToManyRelationResolver.updateWhenNoTimestampSet(TransactionContext tx, OID oid, Object object, AccessMode suggestedAccessMode)
           
 boolean ManyToManyRelationResolver.updateWhenNoTimestampSet(TransactionContext tx, OID oid, Object object, AccessMode suggestedAccessMode)
           
 

Uses of OID in org.exolab.castor.persist
 

Methods in org.exolab.castor.persist that return OID
 OID LockEngine.create(TransactionContext tx, OID oid, Object object)
          Creates a new object in the persistence storage.
 OID OID.getDepended()
          Get the depended object's OID.
 OID ObjectLock.getOID()
          Get OID of the entity locked.
 OID DepositBox.getOID()
          Get the object's OID.
 OID LockEngine.preStore(TransactionContext tx, OID oid, Object object, int timeout)
          Called at transaction commit to store an object that has been loaded during the transaction.
 

Methods in org.exolab.castor.persist with parameters of type OID
 ObjectLock TypeInfo.acquire(OID oid, TransactionContext tx, LockAction lockAction, int timeout)
          Acquire the object lock for transaction.
 ObjectLock TypeInfo.assure(OID oid, TransactionContext tx, boolean write)
          Reassure the lock which have been successfully acquired by the transaction.
 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.
 OID LockEngine.create(TransactionContext tx, OID oid, Object object)
          Creates a new object in the persistence storage.
 ObjectLock TypeInfo.delete(OID oid, TransactionContext tx)
          Delete the object lock.
 void LockEngine.delete(TransactionContext tx, OID oid)
          Called at transaction commit time to delete the object.
 void ClassMolder.delete(TransactionContext tx, OID oid)
          Delete an object of the base type from the persistence storage.
 boolean LockEngine.expireCache(TransactionContext tx, OID oid, int timeout)
          Expire object from the cache.
 void LockEngine.forgetObject(TransactionContext tx, OID oid)
          Called at transaction commit or rollback to forget an object and release its locks.
 boolean LockEngine.isCached(Class<?> cls, OID oid)
          Provides information about whether an object of Class cls with identity iod is currently cached.
 boolean TypeInfo.isCached(OID oid)
          Indicates whether an object with the specified identifier is currently cached.
 boolean LockEngine.isLocked(Class<?> cls, OID oid)
          Indicates whether an object with the specified OID is currently locked.
 boolean TypeInfo.isLocked(OID oid)
          Indicates whether an object with the specified OID is currently locked.
 void LockEngine.load(AbstractTransactionContext tx, OID oid, 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.markCreate(TransactionContext tx, OID oid, DepositBox locker, Object object)
          Walk the object model and mark object that should be created.
 void LockEngine.markCreate(TransactionContext tx, OID oid, Object object)
          Mark an object and its related or dependent object to be created.
 void ClassMolder.markDelete(TransactionContext tx, OID oid, DepositBox locker, Object object)
          Prepare to delete an object with the specified identity.
 void LockEngine.markDelete(TransactionContext tx, OID oid, Object object, int timeout)
          Make the object is deleted.
 boolean ClassMolder.preStore(TransactionContext tx, OID oid, DepositBox locker, Object object, int timeout)
          Check the object for modification.
 OID LockEngine.preStore(TransactionContext tx, OID oid, Object object, int timeout)
          Called at transaction commit to store an object that has been loaded during the transaction.
 ObjectLock TypeInfo.release(OID oid, TransactionContext tx)
          Release the object lock.
 void LockEngine.releaseLock(TransactionContext tx, OID oid)
          Called at transaction commit or rollback to release all locks held on the object.
 ObjectLock TypeInfo.rename(OID orgoid, OID newoid, TransactionContext tx)
          Move the locked object from one OID to another OID for transaction.
 void ClassMolder.revertObject(TransactionContext tx, OID oid, DepositBox locker, Object object)
          Revert the object back to the state of begining of the transaction If the object is loaded, it will be revert as it was loaded.
 void LockEngine.revertObject(TransactionContext tx, OID oid, Object object)
          Reverts an object to the cached copy given the object's OID.
 void OID.setDepended(OID depended)
          Set the depended object's oid.
protected  void ObjectLock.setOID(OID oid)
          Set OID of the entity locked.
 void LockEngine.softLock(TransactionContext tx, OID oid, int timeout)
          Acquire a write lock on the object in memory.
 void ClassMolder.store(TransactionContext tx, OID oid, DepositBox locker, Object object)
          Store a data object into the persistent storage of the base class of this ClassMolder.
 void LockEngine.store(TransactionContext tx, OID oid, Object object)
          Store the object in TransactionContext.
 boolean LockEngine.update(AbstractTransactionContext tx, OID oid, Object object, AccessMode suggestedAccessMode, int timeout)
          Updates an existing object to this engine.
 boolean ClassMolder.update(TransactionContext tx, OID oid, DepositBox locker, Object object, AccessMode suggestedAccessMode)
          Update the object which loaded or created in the other transaction to the persistent storage.
 void ClassMolder.updateCache(TransactionContext tx, OID oid, DepositBox locker, Object object)
          Update the dirty checking cache.
 void LockEngine.updateCache(TransactionContext tx, OID oid, Object object)
          Update the cached object with changes done to its copy.
 ObjectLock TypeInfo.upgrade(OID oid, TransactionContext tx, int timeout)
          Upgrade the lock to write lock.
 void LockEngine.writeLock(TransactionContext tx, OID oid, int timeout)
          Acquire a write lock on the object.
 

Constructors in org.exolab.castor.persist with parameters of type OID
ObjectLock(OID oid)
          Create a new lock for the specified object.
ObjectLock(OID oid, Object[] object, long version)
          Create a new lock for the specified object.
 

Constructor parameters in org.exolab.castor.persist with type arguments of type OID
TypeInfo(Cache<OID,CacheEntry> cache)
          Constructor for creating class info.
 



Copyright © 2012. All Rights Reserved.