Definition at line 67 of file osbusrgrp-gw.h.
void OSB_DB::UserGroupGw::fetch | ( | const Session & | session, | |
OSB_LIB::UserGroups & | dest | |||
) |
Read all OSB user group from the database.
session | Database session to use. | |
dest | List of user groups to populate. |
bool OSB_DB::UserGroupGw::fetch | ( | const Session & | session, | |
OSB_LIB::UserGroup & | group | |||
) |
Read a OSB user group from the database.
The function (re)reads an existing user group from the database.
session | Database session to use. | |
group | User group to read, its object id must be set. |
bool OSB_DB::UserGroupGw::incObjVs | ( | const Session & | session, | |
OSB_LIB::UserGroup & | group | |||
) | [private] |
Increment the object version of a user group.
session | Database session to use. | |
group | The user group who's object version is increased. |
void OSB_DB::UserGroupGw::insert | ( | const Session & | session, | |
OSB_LIB::UserGroup & | group | |||
) | [private] |
Insert a user group.
session | Database session to use. | |
group | User group to insert, its object id is set. |
OsbException | if a group with the same name exists. |
OSB_LIB::ObjectStatus OSB_DB::UserGroupGw::lock | ( | const Session & | session, | |
const OSB_LIB::UserGroup & | group, | |||
bool | noWait | |||
) | [private] |
Lock a user group in the database.
session | Database session to use. | |
group | The user group to lock. | |
noWait | Don't wait if locked by another session? |
OSB_LIB::ObjectStatus OSB_DB::UserGroupGw::lock | ( | const Session & | session, | |
const OSB_LIB::Id< OSB_LIB::UserGroup > | grpId, | |||
bool | noWait | |||
) | [private] |
Lock a user group in database.
session | Database session to use. | |
grpId | Id of the user group to lock. | |
noWait | Don't wait if locked by another session? |
bool OSB_DB::UserGroupGw::remove | ( | const Session & | session, | |
const OSB_LIB::UserGroup & | group | |||
) | [private] |
Remove a user group from the database.
session | Database session to use. | |
group | User group to delete. |
OsbException | if user belong to the group. |
void OSB_DB::UserGroupGw::update | ( | const Session & | session, | |
const OSB_LIB::UserGroup & | group | |||
) | [private] |
Update a user group.
session | Database session to use. | |
group | User group to update. |
OsbException | if a group with the same name exists. |
friend class OSB_LIB::UserGroup [friend] |