OSB_DB::CallingCardGw Class Reference

List of all members.

Detailed Description

Database gateway for calling card.

Remarks:
Default, copy constructor, destructor and assignment by compiler.

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

Private Member Functions

Database operations on calling card:

Friends


Member Function Documentation

bool OSB_DB::CallingCardGw::insert ( const Session session,
const OSB_LIB::CallingCard cc 
) const [private]

Insert calling card specific data.

Parameters:
session Database session to use.
cc Calling card to insert.
Exceptions:
OsbException in case of a database error.
Returns:
True in case of success, else false.

bool OSB_DB::CallingCardGw::read ( const Session session,
OSB_LIB::CallingCard cc 
) const [private]

Read calling card specific resource data.

The function uses the object id of cc to read calling card specific resource data from the database.

Parameters:
session Database session to use.
cc Calling card to read.
Exceptions:
OsbException in case of a database error.
Returns:
true if the calling card was found and populated, else false.

bool OSB_DB::CallingCardGw::remove ( const Session session,
const OSB_LIB::CallingCard cc 
) const [private]

Delete calling card specific data.

Parameters:
session Database session to use.
cc Calling card to delete.
Exceptions:
OsbException in case of a database error.
Returns:
True in case of success, else false.


Friends And Related Function Documentation

friend class OSB_LIB::CallingCard [friend]

Allow CallingCard to call its supporting methods.

CallingCard needs to call the methods designed to support its I/O operations:

Definition at line 75 of file callingcard-gw.h.


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