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

Packages that use OID
org.castor.persist   
org.castor.persist.cache   
org.castor.persist.proxy   
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(java.lang.Object o)
           
 

Methods in org.castor.persist with parameters of type OID
 void AbstractTransactionContext.markCreate(ClassMolder molder, java.lang.Object object, OID rootObjectOID)
          Walk a data object tree starting from the specified object, and mark all objects to be created.
 void AbstractTransactionContext.create(ClassMolder molder, java.lang.Object object, OID depended)
          Creates a new object in persistent storage. The object will be persisted only if the transaction commits. If an identity is provided then duplicate identity check happens in this method, if no identity is provided then duplicate identity check occurs when the transaction completes and the object is not visible in this transaction.
 boolean AbstractTransactionContext.markUpdate(ClassMolder molder, java.lang.Object object, OID depended)
          Update a new object in persistent storage and returns the object's OID. The object will be persisted only if the transaction commits. If an identity is provided then duplicate identity check happens in this method, if no identity is provided then duplicate identity check occurs when the transaction completes and the object is not visible in this transaction.

Update will also mark objects to be created if the TIMESTAMP equals to NO_TIMESTAMP.

 void AbstractTransactionContext.update(ClassMolder molder, java.lang.Object object, OID depended)
          Update a new object in persistent storage and returns the object's OID. The object will be persisted only if the transaction commits. If an identity is provided then duplicate identity check happens in this method, if no identity is provided then duplicate identity check occurs when the transaction completes and the object is not visible in this transaction.

Update will also mark objects to be created if the TIMESTAMP equals to NO_TIMESTAMP.

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

Methods in org.castor.persist.cache with parameters of type OID
 void CacheEntry.setOID(OID oid)
          Set OID of the entry to be cached.
 

Uses of OID in org.castor.persist.proxy
 

Constructors in org.castor.persist.proxy with parameters of type OID
RelationCollection(TransactionContext tx, OID enclosing, ClassMolder molder, org.exolab.castor.mapping.AccessMode amode, java.util.ArrayList ids)
          Creates an instance of RelationCollection.
 

Uses of OID in org.castor.persist.resolver
 

Methods in org.castor.persist.resolver with parameters of type OID
abstract  boolean ManyRelationResolver.markCreate(TransactionContext tx, OID oid, java.lang.Object object)
           
abstract  UpdateFlags ManyRelationResolver.preStore(TransactionContext tx, OID oid, java.lang.Object object, int timeout, java.lang.Object field)
           
abstract  void ManyRelationResolver.update(TransactionContext tx, OID oid, java.lang.Object object, org.exolab.castor.mapping.AccessMode suggestedAccessMode, java.lang.Object field)
           
 java.lang.Object ManyRelationResolver.updateCache(TransactionContext tx, OID oid, java.lang.Object object)
           
 void ManyRelationResolver.revertObject(TransactionContext tx, OID oid, java.lang.Object object, java.lang.Object field)
           
 void ManyRelationResolver.load(TransactionContext tx, OID oid, ProposedEntity proposedObject, org.exolab.castor.mapping.AccessMode suggestedAccessMode)
           
abstract  java.lang.Object ManyRelationResolver.postCreate(TransactionContext tx, OID oid, java.lang.Object object, java.lang.Object field, Identity createdId)
           
 boolean ManyToManyRelationResolver.markCreate(TransactionContext tx, OID oid, java.lang.Object object)
           
 UpdateFlags ManyToManyRelationResolver.preStore(TransactionContext tx, OID oid, java.lang.Object object, int timeout, java.lang.Object field)
           
 void ManyToManyRelationResolver.update(TransactionContext tx, OID oid, java.lang.Object object, org.exolab.castor.mapping.AccessMode suggestedAccessMode, java.lang.Object field)
           
 java.lang.Object ManyToManyRelationResolver.postCreate(TransactionContext tx, OID oid, java.lang.Object object, java.lang.Object field, Identity createdId)
           
 boolean ManyToManyRelationResolver.updateWhenNoTimestampSet(TransactionContext tx, OID oid, java.lang.Object object, org.exolab.castor.mapping.AccessMode suggestedAccessMode)
           
 boolean OneToManyRelationResolver.markCreate(TransactionContext tx, OID oid, java.lang.Object object)
           
 UpdateFlags OneToManyRelationResolver.preStore(TransactionContext tx, OID oid, java.lang.Object object, int timeout, java.lang.Object field)
           
 void OneToManyRelationResolver.update(TransactionContext tx, OID oid, java.lang.Object object, org.exolab.castor.mapping.AccessMode suggestedAccessMode, java.lang.Object field)
           
 java.lang.Object OneToManyRelationResolver.postCreate(TransactionContext tx, OID oid, java.lang.Object object, java.lang.Object field, Identity createdId)
           
 boolean OneToManyRelationResolver.updateWhenNoTimestampSet(TransactionContext tx, OID oid, java.lang.Object object, org.exolab.castor.mapping.AccessMode suggestedAccessMode)
           
 boolean PersistanceCapableRelationResolver.markCreate(TransactionContext tx, OID oid, java.lang.Object object)
           
 UpdateFlags PersistanceCapableRelationResolver.preStore(TransactionContext tx, OID oid, java.lang.Object object, int timeout, java.lang.Object field)
           
 void PersistanceCapableRelationResolver.update(TransactionContext tx, OID oid, java.lang.Object object, org.exolab.castor.mapping.AccessMode suggestedAccessMode, java.lang.Object field)
           
 java.lang.Object PersistanceCapableRelationResolver.updateCache(TransactionContext tx, OID oid, java.lang.Object object)
           
 void PersistanceCapableRelationResolver.revertObject(TransactionContext tx, OID oid, java.lang.Object object, java.lang.Object field)
           
 void PersistanceCapableRelationResolver.load(TransactionContext tx, OID oid, ProposedEntity proposedObject, org.exolab.castor.mapping.AccessMode suggestedAccessMode)
           
 java.lang.Object PersistanceCapableRelationResolver.postCreate(TransactionContext tx, OID oid, java.lang.Object object, java.lang.Object field, Identity createdId)
           
 boolean PersistanceCapableRelationResolver.updateWhenNoTimestampSet(TransactionContext tx, OID oid, java.lang.Object object, org.exolab.castor.mapping.AccessMode suggestedAccessMode)
           
 boolean PrimitiveResolver.markCreate(TransactionContext tx, OID oid, java.lang.Object object)
           
 UpdateFlags PrimitiveResolver.preStore(TransactionContext tx, OID oid, java.lang.Object object, int timeout, java.lang.Object field)
           
 void PrimitiveResolver.update(TransactionContext tx, OID oid, java.lang.Object object, org.exolab.castor.mapping.AccessMode suggestedAccessMode, java.lang.Object field)
           
 java.lang.Object PrimitiveResolver.updateCache(TransactionContext tx, OID oid, java.lang.Object object)
           
 void PrimitiveResolver.revertObject(TransactionContext tx, OID oid, java.lang.Object object, java.lang.Object field)
           
 void PrimitiveResolver.load(TransactionContext tx, OID oid, ProposedEntity proposedObject, org.exolab.castor.mapping.AccessMode suggestedAccessMode)
           
 java.lang.Object PrimitiveResolver.postCreate(TransactionContext tx, OID oid, java.lang.Object object, java.lang.Object field, Identity createdId)
           
 boolean PrimitiveResolver.updateWhenNoTimestampSet(TransactionContext tx, OID oid, java.lang.Object object, org.exolab.castor.mapping.AccessMode suggestedAccessMode)
           
 java.lang.Object ResolverStrategy.postCreate(TransactionContext tx, OID oid, java.lang.Object object, java.lang.Object field, Identity createdId)
          Called after successful creation of an object of the base class.
 boolean ResolverStrategy.markCreate(TransactionContext tx, OID oid, java.lang.Object object)
          Walk the object model and mark object that should be created.
 UpdateFlags ResolverStrategy.preStore(TransactionContext tx, OID oid, java.lang.Object object, int timeout, java.lang.Object field)
          Check the object for modification.
 void ResolverStrategy.update(TransactionContext tx, OID oid, java.lang.Object object, org.exolab.castor.mapping.AccessMode suggestedAccessMode, java.lang.Object field)
          Update the object which loaded or created in the other transaction to the persistent storage.
 boolean ResolverStrategy.updateWhenNoTimestampSet(TransactionContext tx, OID oid, java.lang.Object object, org.exolab.castor.mapping.AccessMode suggestedAccessMode)
          Update the object which loaded or created in the other transaction to the persistent storage.
 java.lang.Object ResolverStrategy.updateCache(TransactionContext tx, OID oid, java.lang.Object object)
          Update the dirty checking cache.
 void ResolverStrategy.revertObject(TransactionContext tx, OID oid, java.lang.Object object, java.lang.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 ResolverStrategy.load(TransactionContext tx, OID oid, ProposedEntity proposedObject, org.exolab.castor.mapping.AccessMode suggestedAccessMode)
          Load an object with specified identity from the persistent storage.
 boolean SerializableResolver.markCreate(TransactionContext tx, OID oid, java.lang.Object object)
           
 UpdateFlags SerializableResolver.preStore(TransactionContext tx, OID oid, java.lang.Object object, int timeout, java.lang.Object field)
           
 void SerializableResolver.update(TransactionContext tx, OID oid, java.lang.Object object, org.exolab.castor.mapping.AccessMode suggestedAccessMode, java.lang.Object field)
           
 java.lang.Object SerializableResolver.updateCache(TransactionContext tx, OID oid, java.lang.Object object)
           
 void SerializableResolver.revertObject(TransactionContext tx, OID oid, java.lang.Object object, java.lang.Object field)
           
 void SerializableResolver.load(TransactionContext tx, OID oid, ProposedEntity proposedObject, org.exolab.castor.mapping.AccessMode suggestedAccessMode)
           
 java.lang.Object SerializableResolver.postCreate(TransactionContext tx, OID oid, java.lang.Object object, java.lang.Object field, Identity createdId)
           
 boolean SerializableResolver.updateWhenNoTimestampSet(TransactionContext tx, OID oid, java.lang.Object object, org.exolab.castor.mapping.AccessMode suggestedAccessMode)
           
 

Uses of OID in org.exolab.castor.persist
 

Methods in org.exolab.castor.persist that return OID
 OID LockEngine.load(TransactionContext tx, OID oid, ProposedEntity proposedObject, org.exolab.castor.mapping.AccessMode suggestedAccessMode, int timeout)
          Loads an object of the specified type and identity from persistent storage.
 OID LockEngine.load(TransactionContext tx, OID oid, ProposedEntity proposedObject, org.exolab.castor.mapping.AccessMode suggestedAccessMode, int timeout, QueryResults results)
           
 OID LockEngine.create(TransactionContext tx, OID oid, java.lang.Object object)
          Creates a new object in the persistence storage.
 OID LockEngine.preStore(TransactionContext tx, OID oid, java.lang.Object object, int timeout)
          Called at transaction commit to store an object that has been loaded during the transaction.
 OID ObjectLock.getOID()
          Return the object's OID.
 OID OID.getDepends()
          Get the depended object's oid.
 

Methods in org.exolab.castor.persist with parameters of type OID
 java.lang.Object ClassMolder.load(TransactionContext tx, OID oid, DepositBox locker, ProposedEntity proposedObject, org.exolab.castor.mapping.AccessMode suggestedAccessMode)
          Load an object with specified identity from the persistent storage.
 java.lang.Object ClassMolder.load(TransactionContext tx, OID oid, DepositBox locker, ProposedEntity proposedObject, org.exolab.castor.mapping.AccessMode suggestedAccessMode, QueryResults results)
           
 Identity ClassMolder.create(TransactionContext tx, OID oid, DepositBox locker, java.lang.Object object)
          Create an object of the base class with specified identity into the persistence storage.
 void ClassMolder.markCreate(TransactionContext tx, OID oid, DepositBox locker, java.lang.Object object)
          Walk the object model and mark object that should be created.
 boolean ClassMolder.preStore(TransactionContext tx, OID oid, DepositBox locker, java.lang.Object object, int timeout)
          Check the object for modification.
 void ClassMolder.store(TransactionContext tx, OID oid, DepositBox locker, java.lang.Object object)
          Store a data object into the persistent storage of the base class of this ClassMolder.
 boolean ClassMolder.update(TransactionContext tx, OID oid, DepositBox locker, java.lang.Object object, org.exolab.castor.mapping.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, java.lang.Object object)
          Update the dirty checking cache.
 void ClassMolder.delete(TransactionContext tx, OID oid)
          Delete an object of the base type from the persistence storage.
 void ClassMolder.markDelete(TransactionContext tx, OID oid, DepositBox locker, java.lang.Object object)
          Prepare to delete an object with the specified identity.
 void ClassMolder.revertObject(TransactionContext tx, OID oid, DepositBox locker, java.lang.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.
 OID LockEngine.load(TransactionContext tx, OID oid, ProposedEntity proposedObject, org.exolab.castor.mapping.AccessMode suggestedAccessMode, int timeout)
          Loads an object of the specified type and identity from persistent storage.
 OID LockEngine.load(TransactionContext tx, OID oid, ProposedEntity proposedObject, org.exolab.castor.mapping.AccessMode suggestedAccessMode, int timeout, QueryResults results)
           
 void LockEngine.markCreate(TransactionContext tx, OID oid, java.lang.Object object)
          Mark an object and its related or dependent object to be created.
 OID LockEngine.create(TransactionContext tx, OID oid, java.lang.Object object)
          Creates a new object in the persistence storage.
 void LockEngine.delete(TransactionContext tx, OID oid)
          Called at transaction commit time to delete the object.
 void LockEngine.markDelete(TransactionContext tx, OID oid, java.lang.Object object, int timeout)
           
 boolean LockEngine.update(TransactionContext tx, OID oid, java.lang.Object object, org.exolab.castor.mapping.AccessMode suggestedAccessMode, int timeout)
          Updates an existing object to this engine.
 OID LockEngine.preStore(TransactionContext tx, OID oid, java.lang.Object object, int timeout)
          Called at transaction commit to store an object that has been loaded during the transaction.
 void LockEngine.store(TransactionContext tx, OID oid, java.lang.Object object)
           
 void LockEngine.writeLock(TransactionContext tx, OID oid, int timeout)
          Acquire a write lock on the object.
 void LockEngine.softLock(TransactionContext tx, OID oid, int timeout)
          Acquire a write lock on the object in memory.
 void LockEngine.revertObject(TransactionContext tx, OID oid, java.lang.Object object)
          Reverts an object to the cached copy given the object's OID.
 void LockEngine.updateCache(TransactionContext tx, OID oid, java.lang.Object object)
          Update the cached object with changes done to its copy.
 void LockEngine.releaseLock(TransactionContext tx, OID oid)
          Called at transaction commit or rollback to release all locks held on the object.
 void LockEngine.forgetObject(TransactionContext tx, OID oid)
          Called at transaction commit or rollback to forget an object and release its locks.
 boolean LockEngine.expireCache(TransactionContext tx, OID oid, int timeout)
          Expire object from the cache.
 boolean LockEngine.isLocked(java.lang.Class cls, OID oid)
           
(package private)  void ObjectLock.setOID(OID oid)
          Set OID of this lock to new value.
 

Constructors in org.exolab.castor.persist with parameters of type OID
ObjectLock(OID oid)
          Create a new lock for the specified object.
OID(ClassMolder molder, OID depends, Identity identity)
          Constructor.
 



Copyright 2008 null. All Rights Reserved.