OSB_DB::PricelistItemGw Class Reference

List of all members.

Detailed Description

Database interface for PricelistItemGw.

Definition at line 58 of file plitem-gw.h.

Public Member Functions

Private Member Functions


Constructor & Destructor Documentation

OSB_DB::PricelistItemGw::PricelistItemGw ( const PricelistItemGw rhs  )  [private]

Prevent copying: Copy constructor not implemented.

OSB_DB::PricelistItemGw::PricelistItemGw (  )  [inline]

Constructor.

Definition at line 67 of file plitem-gw.h.


Member Function Documentation

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.

Parameters:
session Oracle session.
plItem Price list item.
Exceptions:
OsbException in case of an OTL library exception.
Returns:
True if object is successfully populated else false

bool OSB_DB::PricelistItemGw::insert ( const Session session,
const OSB_LIB::PricelistItem plItem 
)

Add a new price list item into database.

Parameters:
session Oracle session.
plItem New price list item to be added.
Exceptions:
OsbException in case of an OTL library exception.
Returns:
True if success else false.

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.

Parameters:
session Oracle session.
plItem Price list item to be deleted.
Exceptions:
OsbException in case of an OTL library exception.
Returns:
True if deletion is successful else false.

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.

Parameters:
session Oracle session.
plItem Price list item to be updated.
Exceptions:
OsbException in case of an OTL library exception.
Returns:
True if updated successfully else false.


The documentation for this class was generated from the following file:
Generated on Sat Sep 2 14:09:02 2006 for OSB Library by  doxygen 1.4.7