OSB_DB::AsrGw Class Reference

List of all members.

Detailed Description

Database gateway class for the table ASR.

Definition at line 49 of file asr-gw.h.

Public Member Functions

Private Member Functions

Friends


Member Function Documentation

void OSB_DB::AsrGw::insert ( Session session,
OSB_LIB::Asr asr 
) [private]

Inserts the Asr to the Asr table.

Inserts the given Asr to the ASR table.

Parameters:
session Database session to use.
asr Asr to be inserted.
Exceptions:
OsbException on DB exception.

bool OSB_DB::AsrGw::isAvailable ( Session session,
OSB_LIB::Asr asr 
)

Checks whether the Asr is already available.

Checks whether the Asr is already available for the given period for the network element.

Parameters:
session Database session to use.
asr Asr to be checked for the availability.
Exceptions:
OsbException on DB exception.
Returns:
true if Asr is available else false.

bool OSB_DB::AsrGw::update ( Session session,
OSB_LIB::Asr asr 
) [private]

Updates the Asr to the database.

Updates the Asr to the ASR table.

Parameters:
session Database session to use.
asr Asr to be updated.
Exceptions:
OsbException on DB exception.
Returns:
true if successfully updated false if 0 rows affected.


Friends And Related Function Documentation

friend class OSB_LIB::Asr [friend]

Allows the access to private members.

Definition at line 51 of file asr-gw.h.


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