OSB_CORBA::PricelistCfg_i Class Reference

Inheritance diagram for OSB_CORBA::PricelistCfg_i:

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

Collaboration graph
[legend]
List of all members.

Detailed Description

Servant of PricelistCfg CORBA interface.

Definition at line 246 of file pricelist_i.h.

Public Member Functions

Static Public Attributes

Private Types

Private Member Functions

Private Attributes


Member Typedef Documentation

typedef OSB_LIB::PcatLockMgr::PricelistRg OSB_CORBA::PricelistCfg_i::ReadGuard [private]

Pricelist read guard.

Definition at line 250 of file pricelist_i.h.


Constructor & Destructor Documentation

OSB_CORBA::PricelistCfg_i::PricelistCfg_i ( ProductCatalogue_i pcati,
const OSB_LIB::Id< OSB_LIB::Pricelist > &  plId 
)

Constructor.

Parameters:
pcati Product catalogue servant. Used to get reference to 'Writer POA'.
plId Id of the pricelist to which this Cfg belongs to.


Member Function Documentation

virtual CORBA::Double OSB_CORBA::PricelistCfg_i::charge (  )  throw (CORBA::SystemException, OsbCorbaException) [virtual]

Gets amount to charge.

Returns:
Amount to charge
Exceptions:
OsbCorbaException 
  • in case the locking fails. TODO: Modify throw documentation, if it differs from servant implementation.

virtual ChargeTraitsId OSB_CORBA::PricelistCfg_i::ctId (  )  throw (CORBA::SystemException, OsbCorbaException) [virtual]

Gets charge traits id.

Returns:
Charge traits id
Exceptions:
OsbCorbaException 
  • in case the locking fails. TODO: Modify throw documentation, if it differs from servant implementation.

const OSB_LIB::PricelistCfg::OnetimeChargeDefs& OSB_CORBA::PricelistCfg_i::getOtcDefs (  )  [private]

Gets list of one time definitions.

const OSB_LIB::PricelistCfg& OSB_CORBA::PricelistCfg_i::getPlCfg (  )  [private]

Get PricelistCfg from product catalogue.

virtual PricelistCfgWriter_ptr OSB_CORBA::PricelistCfg_i::getWriter (  )  throw (CORBA::SystemException) [virtual]

Gets PricelistCfgWriter instance for this PricelistCfg.

PricelistCfgWriter must be used, if a read-write access required to the pricelistCfg.

Returns:
PricelistCfgWriter of this PricelistCfg.

ReadGuard OSB_CORBA::PricelistCfg_i::lockPricelist (  )  throw (OsbCorbaException) [private]

Lock the pricelist.

Returns:
Readlock
Exceptions:
OsbCorbaException 
  • in case lock could not be acquired.

virtual PricelistId OSB_CORBA::PricelistCfg_i::plId (  )  throw (CORBA::SystemException) [virtual]

Id of the pricelist to which this PricelistCfg belongs.

Remarks:
It is not possible to change this pricelist id even using PricelistCfgWriter.

virtual Date OSB_CORBA::PricelistCfg_i::releaseDate (  )  throw (CORBA::SystemException, OsbCorbaException) [virtual]

Release date of the pricelist configuration.

Exceptions:
OsbCorbaException 
  • in case the locking fails. TODO: Modify throw documentation, if it differs from servant implementation.
Remarks:
Release date is set by the OSB library, when the configuration status is set to released.

virtual CfgStatus OSB_CORBA::PricelistCfg_i::status (  )  throw (CORBA::SystemException, OsbCorbaException) [virtual]

Gets configuration status.

Returns:
Configuration status
Exceptions:
OsbCorbaException 
  • in case the locking fails. TODO: Modify throw documentation, if it differs from servant implementation.


Member Data Documentation

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

Reimplemented in OSB_CORBA::PricelistCfgWriter_i.

Definition at line 254 of file pricelist_i.h.

ProductCatalogue_i& OSB_CORBA::PricelistCfg_i::pcati_ [private]

Product catalogue servant. Needed to get 'Writer POA'.

Definition at line 358 of file pricelist_i.h.

OSB_LIB::Id<OSB_LIB::Pricelist> OSB_CORBA::PricelistCfg_i::plId_ [private]

Id of the pricelist to which this pricelist belongs.

Definition at line 360 of file pricelist_i.h.


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