OSB_CORBA::PricelistWriter_i Class Reference

Inheritance diagram for OSB_CORBA::PricelistWriter_i:

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

Collaboration graph
[legend]
List of all members.

Detailed Description

Writer class of Pricelist_i.

Definition at line 174 of file pricelist_i.h.

Public Member Functions

Static Public Attributes

Private Types

Private Attributes


Member Typedef Documentation

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

Pricelist read guard.

Reimplemented from OSB_CORBA::Pricelist_i.

Definition at line 179 of file pricelist_i.h.


Constructor & Destructor Documentation

OSB_CORBA::PricelistWriter_i::PricelistWriter_i ( ProductCatalogue_i pcati,
const OSB_LIB::Pricelist pl 
)

Constructor.

Makes a private writable copy of Pricelist

Parameters:
pcati Product catalogue servant.
pl Pointer to the pricelist object.

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

Destructor.

Destroys the private writable copy of Pricelist.


Member Function Documentation

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

Commits the changes made to the pricelist.

Parameters:
noWait Set to true if waiting is desired when lock is already acquired by others. If waiting is not desired, set flag to true.
Exceptions:
OsbCorbaException 
  • in case any database error occurs.
Remarks:
PricelistCfg will be created for a new pricelist, once pricelist is sucessfully added into the database.

virtual void OSB_CORBA::PricelistWriter_i::setDesc ( const Utf8String &  desc  )  throw (CORBA::SystemException) [virtual]

Sets a description to pricelist.

Parameters:
desc Pricelist description

virtual void OSB_CORBA::PricelistWriter_i::setName ( const Utf8String &  name  )  throw (CORBA::SystemException) [virtual]

Sets a name to pricelist.

Parameters:
name Pricelist name


Member Data Documentation

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

Reimplemented from OSB_CORBA::Pricelist_i.

Definition at line 183 of file pricelist_i.h.

OSB_LIB::Pricelist* OSB_CORBA::PricelistWriter_i::pl_ [private]

Pricelist (private copy).

Definition at line 240 of file pricelist_i.h.


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