Definition at line 664 of file filter-gw.h.
bool OSB_DB::ScFilterGw::fetch | ( | const Session & | session, | |
OSB_LIB::ScFilter & | scfc | |||
) |
This will read the service class filter condition object from the table FILTER_SC.
This function accept an empty service class filter condition object with only its filter condition object id. It will populate all other attributes from the service class filter condition table.
session | Database session to use. | |
scfc | Service class filter condition object to be populated. |
Exception | if object not found. |
bool OSB_DB::ScFilterGw::insScCond | ( | const Session & | session, | |
OSB_LIB::ScFilter & | scfc | |||
) | [private] |
Insert the service class filter condition object into table FILTER_SC.
This will insert the new service class filter condition object into the table FILTER_SC. It contains the filter condition id, target service class id and the operator(== or !=).
session | Database session to use. | |
scfc | Service class filter condition object to use. |
Exception | for the folloing errors:
|
bool OSB_DB::ScFilterGw::removeScCond | ( | const Session & | session, | |
OSB_LIB::ScFilter & | scfc | |||
) | [private] |
Remove the service class filter condition object from the table FILTER_SC.
This will remove the service class filter condition object from the FILTER_SC table. The filter condition id is used to identify the service class filter condition object to remove from the database.
session | Database session to use. | |
scfc | Service class filter condition object to remove. |
For | the following errors:
|
bool OSB_DB::ScFilterGw::updScCond | ( | const Session & | session, | |
OSB_LIB::ScFilter & | scfc | |||
) | [private] |
Update the service class filter condition object in the table FILTER_SC.
This will update the service class filter condition object with the available values in the FILTER_SC table. The filter condition id is used to identify the filter condition object for updation.
session | Database session to use. | |
scfc | Service class filter condition object to use. |
Exception | if object not found. |
friend class OSB_LIB::ScFilter [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 671 of file filter-gw.h.