OSB_DB::ModuleGw Class Reference

List of all members.

Detailed Description

Database gateway for OSB_MODULES.

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

Static Public Member Functions


Member Function Documentation

static void OSB_DB::ModuleGw::fetch ( const Session session,
std::list< OSB_LIB::Module > *  dest 
) [static]

Read all modules from the database.

Parameters:
session Database session to use.
dest STL container to populate.
It is cleared inside the function.

static bool OSB_DB::ModuleGw::incObjVs ( const Session session,
OSB_LIB::Module module 
) [static]

Increment the object version of a module.

Parameters:
session Database session to use.
module The module for which to increase the object version.
Returns:
true if the object version of module was increased by 1, else false.

static OSB_LIB::ObjectStatus OSB_DB::ModuleGw::lock ( const Session session,
const OSB_LIB::Module module,
bool  noWait 
) [static]

Lock a module in the database.

Parameters:
session Database session to use.
module The module to lock.
noWait Don't wait if locked by another session?
Returns:
The object status of the module.


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