OSB_DB::AccessNumberGw Class Reference

List of all members.

Detailed Description

Interface to table ACCESS_NUMBER.

Definition at line 68 of file accessnumber-gw.h.

Public Member Functions

Private Types

Private Member Functions

Friends


Member Typedef Documentation

typedef OSB_LIB::ResourceList<OSB_LIB::AccessNumber> OSB_DB::AccessNumberGw::AnList [private]

Short-cut for a list of access number resources.

Definition at line 73 of file accessnumber-gw.h.

typedef OSB_LIB::Id<OSB_LIB::Network> OSB_DB::AccessNumberGw::NwOid [private]

Short-cut for a network id.

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


Member Function Documentation

void OSB_DB::AccessNumberGw::fetch ( const Session session,
AnList dest,
const NwOid nwId,
bool  availOnly 
)

Read access number resources from database.

Parameters:
session Database session to use.
dest Access number resource list to populate.
nwId Id of the network id for which to read the access number resources.
availOnly Flag if only available access number resources should be read.
Exceptions:
OsbException in case of database error.
Reads the id's of the matching access number resources, creates an access number resource object, lets this object read itself from the database and finally calls dest.replace that adds or replaces the access number resource in the destination list.

bool OSB_DB::AccessNumberGw::insert ( const Session session,
const OSB_LIB::AccessNumber an 
) const [private]

Insert an access number into the database.

bool OSB_DB::AccessNumberGw::read ( const Session session,
OSB_LIB::AccessNumber an 
) const [private]

Read an access number by its id.

bool OSB_DB::AccessNumberGw::remove ( const Session session,
const OSB_LIB::AccessNumber an 
) const [private]

Delete an access number from the database.

bool OSB_DB::AccessNumberGw::update ( const Session session,
const OSB_LIB::AccessNumber an 
) const [private]

Update an access number in the database.


Friends And Related Function Documentation

friend class OSB_LIB::AccessNumber [friend]

Allow access number to calls its supporting functions.

Definition at line 70 of file accessnumber-gw.h.


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