Definition at line 290 of file sumcdr-gw.h.
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.
session | Database session. | |
sumCdrs | Container for the SumCdrs retrieved. | |
pageId | Object id of the balance page that the related SumCdrs are to be 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.
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.
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.
session | Database session. | |
sumCdr | Updated summary call details record. |
friend class OSB_LIB::SumCdr01 [friend] |
friend class OSB_LIB::SumCdr01List [friend] |
Only SumCdr01List can call the private member functions.
Definition at line 296 of file sumcdr-gw.h.