OSB_DB::ToBillGw Class Reference

List of all members.

Detailed Description

ToBillGw, database-gateway for OSB_LIB::ToBill.

The class is purely static, i.e., it cannot be instantiated.

Definition at line 63 of file tobill-gw.h.

Static Public Member Functions

Private Member Functions


Constructor & Destructor Documentation

OSB_DB::ToBillGw::ToBillGw (  )  [private]

Prevent construction: not implemented.


Member Function Documentation

static bool OSB_DB::ToBillGw::fetchContract ( const Session session,
OSB_LIB::ToBill toBill,
const OSB_LIB::Id< OSB_LIB::Contract > &  coId 
) [static]

Load a contract to invoice.

Parameters:
session Database session to use.
toBill Buffer to store the contract ids.
coId Id of the contract to use.
Returns:
the number of contract(s) loaded.

static long OSB_DB::ToBillGw::fetchContracts ( const Session session,
OSB_LIB::ToBill toBill,
const OSB_LIB::Id< OSB_LIB::Associate > &  ownerId 
) [static]

Load the contracts of a customer to invoice.

Parameters:
session Database session to use.
toBill Buffer to store the contract ids.
ownerId Id of the customer to invoice.
Returns:
The number of contracts of the customer.

static long OSB_DB::ToBillGw::fetchContracts ( const Session session,
OSB_LIB::ToBill toBill 
) [static]

Load the next batch of contracts to invoice.

Parameters:
session Database session to use.
toBill Buffer to store the contract ids.
Returns:
The number of contracts loaded.


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