OSB_CORBA::ProductPartWriter_i Class Reference

Inheritance diagram for OSB_CORBA::ProductPartWriter_i:

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

Collaboration graph
[legend]
List of all members.

Detailed Description

Servant for corba::pcat:pp::ProductPartWriter.

The class contains a reference to the product node belonging to the product of the controlling product servant which is not managed by the product catalogue.
The class does not have a member which points to the product item. Derived classes have references to the real product item and returns a pointer to it in the virtual functions pItem().

ToDo: protect a product part writer against multiuser access (documentation is already written for this).

Definition at line 301 of file productpart_i.h.

Public Member Functions

Protected Member Functions

Private Member Functions

Access to the product item:

Private Attributes


Constructor & Destructor Documentation

OSB_CORBA::ProductPartWriter_i::ProductPartWriter_i ( ProductWriter_i prod,
OSB_LIB::ProductNode node 
)

Constructor.


Member Function Documentation

virtual ProductPartWriter_ptr OSB_CORBA::ProductPartWriter_i::addPart ( const PpTypeId &  tid  )  throw (OsbCorbaException) [virtual]

Add a child to the product part.

virtual ItemOid OSB_CORBA::ProductPartWriter_i::itemId (  )  const [virtual]

Get the OSB library product item id.

Implements OSB_CORBA::ProductPartBase_i.

virtual NodeRg OSB_CORBA::ProductPartWriter_i::lockNode (  )  const [protected, virtual]

Get a read guard that provides access to the product node.

Implements OSB_CORBA::ProductPartBase_i.

virtual NodeOid OSB_CORBA::ProductPartWriter_i::nodeId (  )  const [virtual]

Get the OSB library product node id.

Implements OSB_CORBA::ProductPartBase_i.

virtual const OSB_LIB::ProductItem* OSB_CORBA::ProductPartWriter_i::pItem (  )  const [private, pure virtual]

Get the const product item.

Implemented in OSB_CORBA::DevicePartWriter_i, OSB_CORBA::E164PartWriter_i, OSB_CORBA::PlPartWriter_i, OSB_CORBA::DescPartWriter_i, OSB_CORBA::AnPartWriter_i, OSB_CORBA::IpGroupPartWriter_i, OSB_CORBA::TrunkPartWriter_i, OSB_CORBA::ServicePartWriter_i, and OSB_CORBA::TsPartWriter_i.

virtual OSB_LIB::ProductItem* OSB_CORBA::ProductPartWriter_i::pItem (  )  [private, pure virtual]

Get the product item.

Implemented in OSB_CORBA::DevicePartWriter_i, OSB_CORBA::E164PartWriter_i, OSB_CORBA::PlPartWriter_i, OSB_CORBA::DescPartWriter_i, OSB_CORBA::AnPartWriter_i, OSB_CORBA::IpGroupPartWriter_i, OSB_CORBA::TrunkPartWriter_i, OSB_CORBA::ServicePartWriter_i, and OSB_CORBA::TsPartWriter_i.

virtual const Product_i& OSB_CORBA::ProductPartWriter_i::productServant (  )  const [private, virtual]

Provide const access to the controlling product servant.

Implements OSB_CORBA::ProductPartBase_i.

virtual Product_i& OSB_CORBA::ProductPartWriter_i::productServant (  )  [private, virtual]

Provide access to the controlling product servant.

Implements OSB_CORBA::ProductPartBase_i.

virtual void OSB_CORBA::ProductPartWriter_i::removePart ( const ProductPartId &  pid  )  throw (OsbCorbaException) [virtual]

Remove a child from the product part.

virtual void OSB_CORBA::ProductPartWriter_i::setConfigDes ( const Utf8String &  desc  )  throw (OsbCorbaException) [virtual]

Set config description of product part.

virtual void OSB_CORBA::ProductPartWriter_i::setDefPersDes ( const Utf8String &  desc  )  throw (OsbCorbaException) [virtual]

Set default personalization description of product part.

virtual void OSB_CORBA::ProductPartWriter_i::setDesc ( const Utf8String &  desc  )  throw (OsbCorbaException) [virtual]

Set description of product part.

virtual void OSB_CORBA::ProductPartWriter_i::setMandatory ( int  value  )  throw (OsbCorbaException) [virtual]

Set mandatory mode of product part.

virtual void OSB_CORBA::ProductPartWriter_i::setName ( const Utf8String &  name  )  throw (OsbCorbaException) [virtual]

Set name of product part.


Member Data Documentation

OSB_LIB::ProductNode& OSB_CORBA::ProductPartWriter_i::node_ [private]

Reference to the OSB library product node.

Definition at line 372 of file productpart_i.h.

ProductWriter_i& OSB_CORBA::ProductPartWriter_i::product_ [private]

Reference to the controlling product servant.

Definition at line 370 of file productpart_i.h.


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