Definition at line 764 of file filter-gw.h.
bool OSB_DB::TcFilterGw::fetch | ( | const Session & | session, | |
OSB_LIB::TcFilter & | tcfc | |||
) |
This will read the tariff class filter condition object from the table FILTER_TC.
This function accept an empty tariff class filter condition object with only its filter condition object id. It will populate all other attributes from the tariff class filter condition table.
session | Database session to use. | |
tcfc | Tariff class filter condition object to be populated. |
Exception | if object not found. |
bool OSB_DB::TcFilterGw::insTcCond | ( | const Session & | session, | |
OSB_LIB::TcFilter & | tcfc | |||
) | [private] |
Insert the tariff class filter condition object into table FILTER_TC.
This will insert the new tariff class filter condition object into the table FILTER_TC. It contains the filter condition id, target tariff class id and the operator type(== or !=).
session | Database session to use. | |
tcfc | Tariff class filter condition object to use. |
Exception | for the folloing errors:
|
bool OSB_DB::TcFilterGw::removeTcCond | ( | const Session & | session, | |
OSB_LIB::TcFilter & | tcfc | |||
) | [private] |
Remove the tariff class filter condition object from the table FILTER_TC.
This will remove the tariff class filter condition object from the FILTER_TC table. The filter condition id is used to identify the tariff class filter condition object to remove from the database.
session | Database session to use. | |
tcfc | Tariff class filter condition object to remove. |
For | the following errors:
|
bool OSB_DB::TcFilterGw::updTcCond | ( | const Session & | session, | |
OSB_LIB::TcFilter & | tcfc | |||
) | [private] |
Update the tariff class filter condition object in the table FILTER_TC.
This will update the tariff class filter condition object with the available values in the FILTER_TC table. The filter condition id is used to identify the filter condition object for updation.
session | Database session to use. | |
tcfc | Tariff class filter condition object to use. |
Exception | if object not found. |
friend class OSB_LIB::TcFilter [friend] |
This class is using this gateway to achieve all the database operations. To call all the private members it is made as friend.
Definition at line 771 of file filter-gw.h.