OSB_DB::GrpAccessGw Class Reference

List of all members.

Detailed Description

Database gateway for group access rights.

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

Public Member Functions

Private Member Functions

Friends


Member Function Documentation

void OSB_DB::GrpAccessGw::fetch ( const Session session,
OSB_LIB::GrpAccessMap accessMap 
)

Read all access rights for a user group.

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

bool OSB_DB::GrpAccessGw::fetch ( const Session session,
OSB_LIB::GrpAccess grpAccess 
)

Read a group access right.

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

void OSB_DB::GrpAccessGw::insert ( const Session session,
OSB_LIB::GrpAccess grpAccess 
) [private]

Create a user group access.

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

bool OSB_DB::GrpAccessGw::remove ( const Session session,
const OSB_LIB::GrpAccess grpAccess 
) [private]

Delete a user group access.

Parameters:
session Database session to use.
grpAccess User group access to delete.
Returns:
true if successful, else false.


Friends And Related Function Documentation

friend class OSB_LIB::GrpAccess [friend]

Allow insert() and remove().

Definition at line 143 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