Definition at line 62 of file credit-gw.h.
OSB_DB::CreditItemGw::CreditItemGw | ( | const CreditItemGw & | rhs | ) | [private] |
Prevent copying: Copy constructor not implemented.
OSB_DB::CreditItemGw::CreditItemGw | ( | ) | [inline] |
bool OSB_DB::CreditItemGw::delCreditItem | ( | const Session & | session, | |
const OSB_LIB::CreditItem::Oid & | oid | |||
) |
Delete a credit item.
session | Database session to use. | |
oid | Unique id of credit item. |
bool OSB_DB::CreditItemGw::fetchCreditItem | ( | const Session & | session, | |
OSB_LIB::CreditItem & | creditItem | |||
) |
Load a credit item.
This function will load the credit based on a specific id which is in credit item.
session | Database session to use. | |
creditItem | Credit item to read. |
bool OSB_DB::CreditItemGw::insCreditItem | ( | const Session & | session, | |
const OSB_LIB::CreditItem & | creditItem | |||
) |
Insert a new credit item.
session | Database session to use. | |
creditItem | Reference of creditItem to be inserted. |
CreditItemGw& OSB_DB::CreditItemGw::operator= | ( | const CreditItemGw & | rhs | ) | [private] |
Prevent assignment: Assignment not implemented.
bool OSB_DB::CreditItemGw::updCreditItem | ( | const Session & | session, | |
const OSB_LIB::CreditItem & | creditItem | |||
) |
Update the given credit item.
session | Database session to use. | |
creditItem | Reference of creditItem to be updated. |
OsbException(196) | if id mismatch. | |
OsbException(197) | if currency code mismatch. |