#include <CdbBdbObjectCreator.hh>
Static Public Member Functions | |
| CdbStatus | hint (BdbRefAny &theHint, const CdbConditionPtr &theConditionPtr, const BdbTime &theBegin, const BdbTime &theEnd) |
| Provide a placement hint in specified context. | |
| CdbStatus | verify (const BdbRefAny &theHint, const BdbHandle(BdbObject)&thePersObj, const CdbConditionPtr &theConditionPtr) |
| Verify if specified placement hint and persistent objects match each other. | |
| CdbStatus | object (CdbObjectPtr &theObjectPtr, const CdbConditionPtr &theConditionPtr, const BdbTime &theBeginOriginalValidity, const BdbTime &theEndOriginalValidity, const BdbTime &theBeginValidity, const BdbTime &theEndValidity, const BdbTime &theBeginDuration, const BdbTime &theEndDuration, const BdbTime &theInsertionTime, const BdbHandle(BdbObject)&thePersObj) |
| Build an object of a concrete class from specified parameters. | |
This trait class provides object hint/creation/verification services to CDB API implementaions related to the current persistent technology.
The interface defines the following operations:
Definition at line 25 of file CdbBdbObjectCreator.hh.
|
||||||||||||||||||||
|
Provide a placement hint in specified context. This operation may involves interactions with a database.
Definition at line 27 of file CdbBdbObjectCreator.cc. References CdbStatus::Error, CdbCPtr< CdbCondition, CdbAlwaysClosePolicy< CdbCondition > >::get(), CdbBdbHintProvider::hint(), CdbCPtr< Cdb, CdbDoNotClosePolicy< Cdb > >::isNull(), and CdbBdb::technology(). Referenced by CdbBdbObjectFactory::create(). |
|
||||||||||||||||||||||||||||||||||||||||||||
|
Build an object of a concrete class from specified parameters. This operation may involves interactions with a database.
Definition at line 111 of file CdbBdbObjectCreator.cc. References CdbStatus::Success. Referenced by CdbBdbObjectFactory::create(), CdbBdbWCondition::findObject(), and CdbBdbSCondition::findObject(). |
|
||||||||||||||||
|
Verify if specified placement hint and persistent objects match each other. This operation is meant to verify of specified persistent object was properly created in the place suggested by the hint. This operation may involves interactions with a database.
Definition at line 70 of file CdbBdbObjectCreator.cc. References CdbStatus::Error, CdbCPtr< CdbCondition, CdbAlwaysClosePolicy< CdbCondition > >::get(), CdbCPtr< Cdb, CdbDoNotClosePolicy< Cdb > >::isNull(), CdbBdb::technology(), and CdbBdbHintProvider::verify(). Referenced by CdbBdbObjectFactory::create(). |
1.3-rc3