Definition at line 256 of file persproditem_i.h.
OSB_CORBA::PersTariffSystemWriter_i::PersTariffSystemWriter_i | ( | ContractAdmin_i & | cadmin, | |
PersProductWriter_i & | ppServant, | |||
const OSB_LIB::ProductNode * | pn, | |||
std::auto_ptr< OSB_LIB::PersProductItem > | ppi | |||
) | [inline] |
Definition at line 264 of file persproditem_i.h.
void OSB_CORBA::PersTariffSystemWriter_i::checkConfig | ( | ) | throw (OsbCorbaException) [virtual] |
Check if pers item is configured properly before it is being saved or created in the database.
A configured pers item is considered valid if the tariff system id is set and the tariff system id is from the tsList().
OsbCorbaException | if configuration is not valid. |
Implements OSB_CORBA::PersProdItemWriter_i.
OSB_LIB::PersTariffSystem* OSB_CORBA::PersTariffSystemWriter_i::persTs | ( | ) | throw (OsbCorbaException) |
Cast and return a PPI to a PersTariffSystem.
virtual void OSB_CORBA::PersTariffSystemWriter_i::setTsId | ( | const TariffSystemId & | id | ) | throw (OsbCorbaException) [virtual] |
Set the tariff system id of the personalised tariff system.
id | Unique id of a tariff system. |
OsbCorbaException | if downcast from a PersProductItem to PersTariffSystem fails. |
virtual TariffSystem* OSB_CORBA::PersTariffSystemWriter_i::ts | ( | ) | throw (OsbCorbaException) [virtual] |
Return unique tariff system id.
OsbCorbaException | if downcast from a PersProductItem to PersTariffSystem fails. |
virtual TariffSystemSeq* OSB_CORBA::PersTariffSystemWriter_i::tsList | ( | ) | throw (OsbCorbaException) [virtual] |
Retrieve the list of tariff system supported.
const std::string OSB_CORBA::PersTariffSystemWriter_i::IFC [static] |
Reimplemented from OSB_CORBA::PersProdItemWriter_i.
Definition at line 262 of file persproditem_i.h.