Definition at line 341 of file filter-gw.h.
| OSB_LIB::ObjectStatus OSB_DB::FilterExprGw::checkObjVs | ( | const Session & | session, | |
| const OSB_LIB::FilterExpr & | fv | |||
| ) | [private] |
Check the current object version.
| session | Database session. | |
| fv | Filter expression to be checked. |
| Exception | if object not found. |
| long OSB_DB::FilterExprGw::fetch | ( | const Session & | session, | |
| OSB_LIB::FilterExprs & | fes | |||
| ) |
Get the list of all available filter expressions.
This function retrieves all the FilterExpr from the database.
| session | Database session to use. | |
| fes | Cointainer to populate the filter expression objects. |
| bool OSB_DB::FilterExprGw::fetch | ( | const Session & | session, | |
| OSB_LIB::FilterExpr & | fe | |||
| ) |
This will read the filter expr object from the table FILTER_EXPR.
This function accept an empty filter expression object with only its Oid.It will populate all other attributes from the filter expression table.
| session | Database session to use. | |
| fe | Filter expression object to be populated. |
| Exception | if object not found. |
| OSB_LIB::CfgStatus OSB_DB::FilterExprGw::getStatus | ( | const Session & | session, | |
| const OSB_LIB::FilterExpr::Oid & | oid | |||
| ) | [private] |
Get the status of filter expression in database.
| session | Database session. | |
| oid | Id of the filter expression to be checked. |
| Exception | if object not found. |
| bool OSB_DB::FilterExprGw::insFe | ( | const Session & | session, | |
| OSB_LIB::FilterExpr & | fe | |||
| ) | [private] |
Insert the filter expression object into database.
This will insert the new filter expression object into the table FILTER_EXPR. The unique object id will be assigned to this object after insertion.
| session | Database session to use. | |
| fe | Filter expression to use. |
| Exception | for the folloing errors:
|
| bool OSB_DB::FilterExprGw::isReleasedInFuture | ( | const Session & | session, | |
| const OSB_LIB::FilterExpr::Oid & | oid | |||
| ) | [private] |
Ensure the release date is in future.
This function checks whether the filter expression has its release date in the future.
| session | Database Session to use. | |
| oid | Unique id of the filter expression. |
| Exception | if object not found. |
| bool OSB_DB::FilterExprGw::removeFe | ( | const Session & | session, | |
| OSB_LIB::FilterExpr & | fe | |||
| ) | [private] |
Remove the filter expression object from database.
This will remove the filter expression object from the FILTER_EXPR table. The object id is used to identify the filter expression object to remove from the database.
| session | Database session to use. | |
| fe | Filter expression object to remove. |
| For | the following errors:
|
| void OSB_DB::FilterExprGw::setStatus | ( | const Session & | session, | |
| const OSB_LIB::FilterExpr::Oid & | oid, | |||
| const OSB_LIB::CfgStatus & | status | |||
| ) | [private] |
Change the status of filter expression.
This function will change the status for the given filter expression with the given status.
| session | Database session. | |
| oid | Object identifier for the filter expression. | |
| status | Status to be changed. |
| Exception | if object not found. |
| bool OSB_DB::FilterExprGw::updFe | ( | const Session & | session, | |
| OSB_LIB::FilterExpr & | fe | |||
| ) | [private] |
Update the filter expression in the database.
This will update the filter expression object with the available values in the FILTER_EXPR table. The object id is used to identify the filter expression object for updation.
| session | Database session to use. | |
| fe | Filter expression to use. |
| Exception | if object not found. |
friend class OSB_LIB::FilterExpr [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 348 of file filter-gw.h.
1.4.7