Definition at line 78 of file pricelist_i.h.
typedef OSB_LIB::PcatLockMgr::PricelistRg OSB_CORBA::Pricelist_i::ReadGuard [private] |
Pricelist read guard.
Reimplemented in OSB_CORBA::PricelistWriter_i.
Definition at line 80 of file pricelist_i.h.
OSB_CORBA::Pricelist_i::Pricelist_i | ( | ProductCatalogue_i & | pcati, | |
const OSB_LIB::Id< OSB_LIB::Pricelist > & | plId | |||
) |
Constructor.
pcati | Product catalogue servant. Used to get reference to 'Writer POA'. | |
plId | Id of the pricelist that this servant represents. |
virtual Utf8String* OSB_CORBA::Pricelist_i::desc | ( | ) | throw (CORBA::SystemException, OsbCorbaException) [virtual] |
Gets pricelist description.
OsbCorbaException |
|
virtual PricelistWriter_ptr OSB_CORBA::Pricelist_i::getWriter | ( | ) | throw (CORBA::SystemException) [virtual] |
Gets PricelistWriter instance for this Pricelist.
PricelistWriter must be used, if a read-write access required to the pricelist.
virtual PricelistId OSB_CORBA::Pricelist_i::id | ( | ) | throw (CORBA::SystemException) [virtual] |
Gets id of pricelist that this servant represents.
ReadGuard OSB_CORBA::Pricelist_i::lockPricelist | ( | ) | throw (OsbCorbaException) [private] |
Lock the pricelist represented by this servant.
OsbCorbaException |
|
static OSB_LIB::PcatLockMgr::PricelistRg OSB_CORBA::Pricelist_i::lockPricelist | ( | const OSB_LIB::Pricelist::Oid & | plOid | ) | throw (OsbCorbaException) [static] |
Readlock a pricelist.
plOid | Id of the pricelist to lock. |
OsbCorbaException |
|
virtual Utf8String* OSB_CORBA::Pricelist_i::name | ( | ) | throw (CORBA::SystemException, OsbCorbaException) [virtual] |
Gets pricelist name.
OsbCorbaException |
|
const std::string OSB_CORBA::Pricelist_i::IFC [static] |
ProductCatalogue_i& OSB_CORBA::Pricelist_i::pcati_ [private] |
Product catalogue servant. Needed to get 'Writer POA'.
Definition at line 166 of file pricelist_i.h.