Definition at line 58 of file plitem-gw.h.
OSB_DB::PricelistItemGw::PricelistItemGw | ( | const PricelistItemGw & | rhs | ) | [private] |
Prevent copying: Copy constructor not implemented.
OSB_DB::PricelistItemGw::PricelistItemGw | ( | ) | [inline] |
bool OSB_DB::PricelistItemGw::fetch | ( | const Session & | session, | |
OSB_LIB::PricelistItem & | plItem | |||
) |
Load a price list item.
PricelistItem (with its oid set) object is passed into this function. After the function call, the object will be initialize with data in the database.
session | Oracle session. | |
plItem | Price list item. |
OsbException | in case of an OTL library exception. |
bool OSB_DB::PricelistItemGw::insert | ( | const Session & | session, | |
const OSB_LIB::PricelistItem & | plItem | |||
) |
Add a new price list item into database.
session | Oracle session. | |
plItem | New price list item to be added. |
OsbException | in case of an OTL library exception. |
PricelistItemGw& OSB_DB::PricelistItemGw::operator= | ( | const PricelistItemGw & | rhs | ) | [private] |
Prevent assignment: Assignment not implemented.
bool OSB_DB::PricelistItemGw::remove | ( | const Session & | session, | |
const OSB_LIB::PricelistItem & | plItem | |||
) |
Delete a price list item from database.
This function will remove the database entry based on the input object's oid.
session | Oracle session. | |
plItem | Price list item to be deleted. |
OsbException | in case of an OTL library exception. |
bool OSB_DB::PricelistItemGw::update | ( | const Session & | session, | |
const OSB_LIB::PricelistItem & | plItem | |||
) |
Update a price list item in database.
This function will modify an existing price list item in the database with the input object.
session | Oracle session. | |
plItem | Price list item to be updated. |
OsbException | in case of an OTL library exception. |