Definition at line 567 of file tariffperiod-gw.h.
OSB_LIB::ObjectStatus OSB_DB::TpSystemGw::checkObjVs | ( | const Session & | session, | |
const OSB_LIB::TpSystem & | tps | |||
) | [private] |
Check the current object version.
session | Database session. | |
tps | Object where the object version is to be checked. |
OsbException | for the following errors:
|
bool OSB_DB::TpSystemGw::delTpSystem | ( | const Session & | session, | |
OSB_LIB::TpSystem & | tps | |||
) | [private] |
Delete a tariff period system.
This function will delete the tariff period system from the database base on the pass in object. After a successful function call, the passed in tariff period system object will have its object id unset.
session | Database session. | |
tps | Tariff period system to be deleted. |
OsbException | for the following errors:
|
bool OSB_DB::TpSystemGw::fetch | ( | const Session & | session, | |
OSB_LIB::TpSystem & | tps | |||
) |
Read a tariff period system from database based on oid.
session | Database session. | |
tps | Tariff period system to be populated. |
OsbException | any database errors. |
long OSB_DB::TpSystemGw::fetch | ( | const Session & | session, | |
OSB_LIB::TpSystems & | tpss | |||
) |
Retrieve all tariff period systems.
session | Database session. | |
tpss | Container to store all the tariff period system retrieved. |
OsbException | any database errors. |
bool OSB_DB::TpSystemGw::insTpSystem | ( | const Session & | session, | |
OSB_LIB::TpSystem & | tps | |||
) | [private] |
Create a new tariff period system.
This function will create a new entry in the database base on the input object. After a successful function call, the new object will have its object id set.
session | Database session. | |
tps | New tariff period system object. |
OsbException | for the following errors:
|
bool OSB_DB::TpSystemGw::updTpSystem | ( | const Session & | session, | |
OSB_LIB::TpSystem & | tps | |||
) | [private] |
Update a tariff period system.
This function will update a tariff period system entry in database based on the updated object passed in.
session | Database session. | |
tps | Updated tariff period system. |
OsbException | for the following errors:
|
friend class OSB_LIB::TpSystem [friend] |
TP system needs to call the private member functions.
Definition at line 569 of file tariffperiod-gw.h.