OSB_CORBA::PersE164Writer_i Class Reference

Inheritance diagram for OSB_CORBA::PersE164Writer_i:

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

Collaboration graph
[legend]
List of all members.

Detailed Description

Retrieve the serial number of a calling card.Check if pers item is configured properly before it is being saved or created in the database.

Exceptions:
OsbCorbaException if configuration is not valid.

Definition at line 394 of file persproditem_i.h.

Public Member Functions

Static Public Attributes

Private Types

Private Member Functions

Private Attributes


Member Typedef Documentation

typedef OSB_LIB::ResourceList<OSB_LIB::E164Resource> OSB_CORBA::PersE164Writer_i::E164List [private]

Short-hand for a list of E.164 resources.

Definition at line 456 of file persproditem_i.h.


Constructor & Destructor Documentation

OSB_CORBA::PersE164Writer_i::PersE164Writer_i ( ContractAdmin_i cadmin,
PersProductWriter_i ppServant,
const OSB_LIB::ProductNode pn,
std::auto_ptr< OSB_LIB::PersProductItem ppi 
) throw (OsbCorbaException)

Constructor.

Exceptions:
OsbCorbaException if the pers. product item (ppi) has not the correct type.


Member Function Documentation

void OSB_CORBA::PersE164Writer_i::checkConfig (  )  throw (OsbCorbaException) [virtual]

Check if the pers. E.164 part is configured properly before it is being saved or created in the database.

Exceptions:
OsbCorbaException if configuration is not valid.
The configuration is valid if a E.164 resource is assigned to the personalized part.

Implements OSB_CORBA::PersProdItemWriter_i.

BasicResInfo* OSB_CORBA::PersE164Writer_i::e164Number (  )  throw (OsbCorbaException)

Return assigned E.164 resource.

OSB_LIB::PersE164Item* OSB_CORBA::PersE164Writer_i::persE164 (  )  throw (OsbCorbaException) [private]

Downcast a pers. product item to a PersE164Item.

BasicResSeq* OSB_CORBA::PersE164Writer_i::search ( const Utf8String &  pattern,
int  numSearch 
) throw (OsbCorbaException)

Return list of available trunk resources.

CORBA::Boolean OSB_CORBA::PersE164Writer_i::setE164Number ( const ResourceId &  id  )  throw (OsbCorbaException)

Assign a E.164 resource to the part.

Parameters:
id The object id of the resource to assign.
It must be a E.164 resource from search().
Returns:
true if successful, false if no E.164 resource with id exists in e164s_.


Member Data Documentation

E164List OSB_CORBA::PersE164Writer_i::e164s_ [private]

List of available E.164 resources.

It is populated in search().

Definition at line 462 of file persproditem_i.h.

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

Name of interface implementation.

Reimplemented from OSB_CORBA::PersResource_i.

Definition at line 400 of file persproditem_i.h.


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