OSB_DB::ModAccessGw Class Reference

List of all members.

Detailed Description

Database gateway for module access rights.

Definition at line 69 of file osbaccess-gw.h.

Public Member Functions

Private Member Functions

Friends


Member Function Documentation

void OSB_DB::ModAccessGw::fetch ( const Session session,
OSB_LIB::ModAccessMap accessMap 
)

Read all access rights for a module.

Parameters:
session Database session to use.
accessMap The module access list to populate,
its module id must be set.

bool OSB_DB::ModAccessGw::fetch ( const Session session,
OSB_LIB::ModAccess modAccess 
)

Read a module access right.

Parameters:
session Database session to use.
modAccess The module access right to read,
its object id must be set.
Returns:
true if modAcess as identified by its object id was read, else false.

void OSB_DB::ModAccessGw::insert ( const Session session,
OSB_LIB::ModAccess modAccess 
) [private]

Create a module access.

Parameters:
session Database session to use.
modAccess Module access to create,
its object id is set by the function.
Exceptions:
OsbException if the insertion of modAccess fails.

bool OSB_DB::ModAccessGw::remove ( const Session session,
const OSB_LIB::ModAccess modAccess 
) [private]

Delete a module access.

Parameters:
session Database session to use.
modAccess Module access to delete.
Returns:
true if successful, else false.

bool OSB_DB::ModAccessGw::updTag ( const Session session,
const OSB_LIB::ModAccess modAccess 
) [private]

Update the access identifier for a module access.

Parameters:
session Database session to use.
modAccess Module access who's tag is to update.
Returns:
true if successful, else false.


Friends And Related Function Documentation

friend class OSB_LIB::ModAccess [friend]

Allow insert(), updTag() and remove().

Definition at line 71 of file osbaccess-gw.h.


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