OSB_DB::CreditItemGw Class Reference

List of all members.

Detailed Description

Database-gateway class for CreditItem.

Definition at line 62 of file credit-gw.h.

Public Member Functions

Private Member Functions


Constructor & Destructor Documentation

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

Prevent copying: Copy constructor not implemented.

OSB_DB::CreditItemGw::CreditItemGw (  )  [inline]

Constructor.

Definition at line 71 of file credit-gw.h.


Member Function Documentation

bool OSB_DB::CreditItemGw::delCreditItem ( const Session session,
const OSB_LIB::CreditItem::Oid oid 
)

Delete a credit item.

Parameters:
session Database session to use.
oid Unique id of credit item.
Returns:
True if success.

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.

Parameters:
session Database session to use.
creditItem Credit item to read.
Returns:
True if populated.

bool OSB_DB::CreditItemGw::insCreditItem ( const Session session,
const OSB_LIB::CreditItem creditItem 
)

Insert a new credit item.

Parameters:
session Database session to use.
creditItem Reference of creditItem to be inserted.
Returns:
True if success.

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.

Parameters:
session Database session to use.
creditItem Reference of creditItem to be updated.
Exceptions:
OsbException(196) if id mismatch.
OsbException(197) if currency code mismatch.
Returns:
True if success.


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