OSB_DB::ScFilterGw Struct Reference

List of all members.

Detailed Description

This will perform all the database operation for ScFilter.

Definition at line 664 of file filter-gw.h.

Public Member Functions

Private Member Functions

Friends


Member Function Documentation

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.

Parameters:
session Database session to use.
scfc Service class filter condition object to be populated.
Exceptions:
Exception if object not found.
Returns:
True if the service class filter condition object read successfully else false.

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 !=).

Parameters:
session Database session to use.
scfc Service class filter condition object to use.
Exceptions:
Exception for the folloing errors:
  • Foreign key violation
Returns:
True if the service class filter condition object inserted successfully else false.

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.

Parameters:
session Database session to use.
scfc Service class filter condition object to remove.
Exceptions:
For the following errors:
  • Object not found,
  • Foreign key constraint
Returns:
True if the filter condition object removed successfully else false.

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.

Parameters:
session Database session to use.
scfc Service class filter condition object to use.
Exceptions:
Exception if object not found.
Returns:
True if the service class filter condition object updated successfully else false.


Friends And Related Function Documentation

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.


The documentation for this struct was generated from the following file:
Generated on Sat Sep 2 14:09:02 2006 for OSB Library by  doxygen 1.4.7