OSB_CORBA::PricelistCfgWriter_i Class Reference

Inheritance diagram for OSB_CORBA::PricelistCfgWriter_i:

Inheritance graph
[legend]
Collaboration diagram for OSB_CORBA::PricelistCfgWriter_i:

Collaboration graph
[legend]
List of all members.

Detailed Description

Writer class of PricelistCfg_i.

Definition at line 366 of file pricelist_i.h.

Public Member Functions

Static Public Attributes

Private Member Functions

Private Attributes


Constructor & Destructor Documentation

OSB_CORBA::PricelistCfgWriter_i::PricelistCfgWriter_i ( ProductCatalogue_i pcati,
const OSB_LIB::PricelistCfg plCfg 
)

Constructor.

Makes a private writable copy of PricelistCfg.

Parameters:
pcati Product catalogue servant.
plCfg Pointer to the PricelistCfg object.

virtual OSB_CORBA::PricelistCfgWriter_i::~PricelistCfgWriter_i (  )  [virtual]

Destructor.

Destroys the private writable copy of PricelistCfg.


Member Function Documentation

virtual void OSB_CORBA::PricelistCfgWriter_i::commitChanges ( CORBA::Boolean  noWait  )  throw (CORBA::SystemException, OsbCorbaException) [virtual]

Commits the changes made to the pricelistCfg.

Parameters:
noWait Set to true, if waiting is desired when lock on database session is already acquired by others. If waiting is not desired, set flag to true.
Exceptions:
OsbCorbaException 
  • in case any database error occurs. TODO:
documentation to be change after implementation.

OSB_LIB::OnetimeChargeDef& OSB_CORBA::PricelistCfgWriter_i::getOtcDef (  )  throw (OsbCorbaException) [private]

virtual void OSB_CORBA::PricelistCfgWriter_i::setCharge ( CORBA::Double  charge  )  throw (CORBA::SystemException, OsbCorbaException) [virtual]

Sets amount to charge.

Parameters:
charge Amount to charge.
Exceptions:
OsbCorbaException 
  • in case OnetimeChargeDef could not be added to PricelistCfg successfully.

virtual void OSB_CORBA::PricelistCfgWriter_i::setChargeTraitsId ( const ChargeTraitsId &  id  )  throw (CORBA::SystemException, OsbCorbaException) [virtual]

Sets the charge traits identifer.

Parameters:
id Charge traits id.
Exceptions:
OsbCorbaException 
  • in case OnetimeChargeDef could not be added to PricelistCfg successfully.


Member Data Documentation

double OSB_CORBA::PricelistCfgWriter_i::charge_ [private]

Charge amount.

Definition at line 443 of file pricelist_i.h.

OSB_LIB::ChargeTraits::Oid OSB_CORBA::PricelistCfgWriter_i::ctOid_ [private]

Charge traits id.

Definition at line 441 of file pricelist_i.h.

const std::string OSB_CORBA::PricelistCfgWriter_i::IFC [static]

Reimplemented from OSB_CORBA::PricelistCfg_i.

Definition at line 372 of file pricelist_i.h.

OSB_LIB::PricelistCfg* OSB_CORBA::PricelistCfgWriter_i::plCfg_ [private]

PricelistCfg (private copy).

Definition at line 439 of file pricelist_i.h.


The documentation for this class was generated from the following file:
Generated on Sat Sep 2 14:28:53 2006 for OSB Library by  doxygen 1.4.7