OSB_DB::SumCdr01Gw Class Reference

List of all members.

Detailed Description

Database interface SumCdr01.

Definition at line 290 of file sumcdr-gw.h.

Private Member Functions

Friends


Member Function Documentation

long OSB_DB::SumCdr01Gw::fetch ( const Session session,
std::list< OSB_LIB::SumCdr * > &  sumCdrs,
const OSB_LIB::Id< OSB_LIB::BsPage > &  pageId 
) [private]

Retrieve all SumCdr associated to a balance sheet.

This function retrieves all associated SumCdr from database based on the balance sheet object id passed in.

Parameters:
session Database session.
sumCdrs Container for the SumCdrs retrieved.
pageId Object id of the balance page that the related SumCdrs are to be retrieved.
Returns:
Number of summary call details records retrieved.

void OSB_DB::SumCdr01Gw::insert ( const Session session,
OSB_LIB::SumCdr01 sumCdr 
) [private]

This function inserts the SumCdr into database.

This function will insert the data passed in the sumCdr object into database. On successful insertion, passed in sumCdr will have it's object id set.

Parameters:
session Database session.
sumCdr SumCdr to be inserted.

void OSB_DB::SumCdr01Gw::remove ( const Session session,
const OSB_LIB::Id< OSB_LIB::BsPage > &  pageId 
) [private]

Delete all summary CDRs of balance page.

Parameters:
session Database session.
pageId Id of balance page.

bool OSB_DB::SumCdr01Gw::update ( const Session session,
OSB_LIB::SumCdr01 sumCdr 
) [private]

This function updates the SumCdr in the database.

Updates the database entry corresponding to the passed in summary call details record, identified by the grouping criteria. On successful insertion, passed in sumCdr will have it's object id set.

Parameters:
session Database session.
sumCdr Updated summary call details record.
Returns:
true if success, false if no entry with the given grouping data exits in table SUM_CDR_01.


Friends And Related Function Documentation

friend class OSB_LIB::SumCdr01 [friend]

Only SumCdr01 can call the private member functions.

Definition at line 293 of file sumcdr-gw.h.

friend class OSB_LIB::SumCdr01List [friend]

Only SumCdr01List can call the private member functions.

Definition at line 296 of file sumcdr-gw.h.


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