Definition at line 185 of file serviceclass-gw.h.
OSB_LIB::ObjectStatus OSB_DB::ScSystemGw::checkObjVs | ( | const Session & | session, | |
const OSB_LIB::ScSystem & | scs | |||
) | [private] |
Check the current object version.
session | Database session to use. | |
scs | Service class system for which to check the object version. |
bool OSB_DB::ScSystemGw::delScSystem | ( | const Session & | session, | |
OSB_LIB::ScSystem & | scs | |||
) | [private] |
Delete a service class system.
The service class system to be deleted must already exist in the database table. The object is not deleted automaticaly. Application will have to delete the object itself. After the function call, the object's id will be unset.
session | Database session to use. | |
scs | Service class system to delete. |
OsbException | for the following errors:
|
long OSB_DB::ScSystemGw::fetch | ( | const Session & | session, | |
OSB_LIB::ScSystems & | scss | |||
) |
Get a list of all available service class systems.
This function retrieve all the available service class systems from the database.
session | Database session to use. | |
scss | STL container store the service class systems. |
bool OSB_DB::ScSystemGw::fetch | ( | const Session & | session, | |
OSB_LIB::ScSystem & | scs | |||
) |
Populate a service class system object with data.
This function accept an empty service class system with only its oid set. It will populate all other attribute of the object.
session | Database session to use. | |
scs | Service class system to populate. |
bool OSB_DB::ScSystemGw::insScSystem | ( | const Session & | session, | |
OSB_LIB::ScSystem & | scs | |||
) | [private] |
Add a new service class system.
Before the function call, the object must have all its member attributes assigned (except oid). After the function call, the object will get its oid_. In case of an error, exception is thrown.
session | Database session to use. | |
scs | Service class system to add. |
OsbException | for the following errors:
|
bool OSB_DB::ScSystemGw::updScSystem | ( | const Session & | session, | |
OSB_LIB::ScSystem & | scs | |||
) | [private] |
Update a service class system.
The function will modify the data of an object in the database with the data contained within the input object.
session | Database session to use. | |
scs | Service class system to update. |
OsbException | for the following errors:
|
friend class OSB_LIB::ScSystem [friend] |
Service class system needs to call the private member functions.
Definition at line 190 of file serviceclass-gw.h.