Definition at line 70 of file serviceitem-gw.h.
| bool OSB_DB::ServiceItemGw::delServiceItem | ( | const Session & | s, | |
| const OSB_LIB::ServiceItem * | si | |||
| ) |
Delete a service item from database.
This function will remove the database entry based on the input object's oid. Oid of the input object will be unset.
| s | Database session to use. | |
| si | Service item to be deleted. |
| bool OSB_DB::ServiceItemGw::fetch | ( | const Session & | s, | |
| OSB_LIB::ServiceItem * | si | |||
| ) |
Populate a ServiceItem object with data.
ServiceItem (with its oid set) object is passed into this function. After the function call, the object will be initialize with data in the database.
| s | Database session to use. | |
| si | Service item to be populated. |
| bool OSB_DB::ServiceItemGw::insServiceItem | ( | const Session & | s, | |
| const OSB_LIB::ServiceItem * | si | |||
| ) |
Add a new service item into database.
In case of an error, exception is thrown.
| s | Database session to use. | |
| si | New service item to be added. |
| bool OSB_DB::ServiceItemGw::updServiceItem | ( | const Session & | s, | |
| const OSB_LIB::ServiceItem * | si | |||
| ) |
Update a service item in database.
This function will modify an existing service item in the database with the input object.
| s | Database session to use. | |
| si | New object to be updated into database. |
1.4.7