Definition at line 60 of file tsitem-gw.h.
| OSB_DB::TsItemGw::TsItemGw | ( | const TsItemGw & | rhs | ) | [private] |
Prevent copying: Copy constructor not implemented.
| OSB_DB::TsItemGw::TsItemGw | ( | ) | [inline] |
| bool OSB_DB::TsItemGw::delTs | ( | const Session & | session, | |
| const OSB_LIB::PersTariffSystem & | persTs | |||
| ) |
Delete a tariff system item.
| session | Database session to use. | |
| persTs | Pers. tariff system to delete. |
| bool OSB_DB::TsItemGw::delTs | ( | const Session & | session, | |
| const OSB_LIB::TariffSystemItem & | tsItem | |||
| ) |
Delete a tariff system item.
| session | Database session to use. | |
| tsItem | Tariff system item to delete. |
| OsbException | in case of an OTL library exception. |
| bool OSB_DB::TsItemGw::fetchTs | ( | const Session & | session, | |
| OSB_LIB::PersTariffSystem & | persTs | |||
| ) |
Load a tariff system.
This function will load the tariff system based on a specific id which is in tariff system item.
| session | Database session to use. | |
| persTs | Personalized tariff system. |
| bool OSB_DB::TsItemGw::fetchTs | ( | const Session & | session, | |
| OSB_LIB::TariffSystemItem & | tsItem | |||
| ) |
Load a tariff system.
Uses the product item id of a tariff system item to read the assigned TS and the default for personalization.
| session | Database session to use. | |
| tsItem | Tariff system item. |
| OsbException | in case of an OTL library exception. |
| bool OSB_DB::TsItemGw::insTs | ( | const Session & | session, | |
| const OSB_LIB::PersTariffSystem & | persTs | |||
| ) |
Insert a new tariff system item.
| session | Database session to use. | |
| persTs | Reference to the pers. tariff system item to be inserted. |
| bool OSB_DB::TsItemGw::insTs | ( | const Session & | session, | |
| const OSB_LIB::TariffSystemItem & | tsItem | |||
| ) |
Insert a new tariff system item.
| session | Database session to use. | |
| tsItem | Reference of tsItem to be inserted. |
| OsbException | in case of an OTL library exception. |
Prevent assignment: Assignment not implemented.
| bool OSB_DB::TsItemGw::updTs | ( | const Session & | session, | |
| const OSB_LIB::PersTariffSystem & | persTs | |||
| ) |
Update the given tariff system item.
| session | Database session to use. | |
| persTs | Pers. tariff system item to update. |
| OsbException(196) | if id mismatch. |
| bool OSB_DB::TsItemGw::updTs | ( | const Session & | session, | |
| const OSB_LIB::TariffSystemItem & | tsItem | |||
| ) |
Update the given tariff system item.
| session | Database session to use. | |
| tsItem | Reference of tsItem to be updated. |
| OsbException | in case of an OTL library exception. |
1.4.7