Definition at line 249 of file ratingfn-gw.h.
bool OSB_DB::RfStairCaseGw::delRfStairCase | ( | const Session & | session, | |
OSB_LIB::RfStairCase & | rf | |||
) | [private] |
Delete a stair case rating function.
The rating function to be deleted must already exist in the database. After the function call, the object's id will not be unset. The base class delete function will unset the oid if completed successfully.
session | Database session. | |
rf | Rating function to be deleted. |
OsbException | for the following errors:
|
bool OSB_DB::RfStairCaseGw::fetch | ( | const Session & | session, | |
OSB_LIB::RfStairCase & | rf | |||
) |
Populate a stair case rating function object with data.
This function accept an empty stair case rating function with only its oid set. It will populate all other attributes of the object.
session | Database session. | |
rf | Stair case rating function to be populated. |
OsbException | for the following errors:
|
bool OSB_DB::RfStairCaseGw::insRfStairCase | ( | const Session & | session, | |
OSB_LIB::RfStairCase & | rf | |||
) | [private] |
Add a new stair case rating function.
Before the function call, the object must have all its member attributes assigned (except oid and object version). The object will get its oid_ and objVs_ after the base class insert function completed successfully. In case of an error, exception is thrown.
session | Database session. | |
rf | New stair case rating function to be added. |
OsbException | for the following errors:
|
bool OSB_DB::RfStairCaseGw::updRfStairCase | ( | const Session & | session, | |
OSB_LIB::RfStairCase & | rf | |||
) | [private] |
Update a stair case rating function.
The function will modify the data of an object in the database with the data contained within the input rating function object.
session | Database session. | |
rf | Stair case rating function to be updated, which contains the new set of data within. |
OsbException | for the following errors:
|
friend class OSB_LIB::RfStairCase [friend] |
Rating function needs to call the private member functions.
Definition at line 253 of file ratingfn-gw.h.