The class provides read-only access to all OSB user groups.
Definition at line 253 of file osbusrgrp.h.
typedef Cont::const_iterator OSB_LIB::UserGroups::ConstIter |
typedef std::list<UserGroup> OSB_LIB::UserGroups::Cont |
STL container used to store the groups, it is sort by the user groups' names.
Definition at line 263 of file osbusrgrp.h.
ConstIter OSB_LIB::UserGroups::begin | ( | ) | const |
Get iterator to begin of list.
bool OSB_LIB::UserGroups::empty | ( | ) | const |
List of user groups empty?
ConstIter OSB_LIB::UserGroups::end | ( | ) | const |
Get iterator to end of list.
UserGroup* OSB_LIB::UserGroups::find | ( | const UserGroup::Oid & | grpId | ) | [private] |
Find a user group.
UserGroup& OSB_LIB::UserGroups::get | ( | const UserGroup::Oid & | grpId | ) | [private] |
Get a user group.
grpId | The object id of the user group. |
ObjectNotFound | if the user group is not found. |
const UserGroup& OSB_LIB::UserGroups::get | ( | const UserGroup::Oid & | grpId | ) | const |
Get a user group.
grpId | The object id of the user group. |
ObjectNotFound | if the user group is not found. |
void OSB_LIB::UserGroups::insert | ( | const UserGroup & | grp | ) | [private] |
Insert a group into the list.
grp | The user group to insert, it replaces an already existing group with the same object id. |
void OSB_LIB::UserGroups::read | ( | const OSB_DB::Session & | session | ) |
Read the user groups from the database.
void OSB_LIB::UserGroups::remove | ( | const UserGroup::Oid | grpId | ) | [private] |
Remove a group from the list.
grpId | Object id for the user group to remove. |
size_t OSB_LIB::UserGroups::size | ( | ) | const |
Number of user groups in the list.
friend class OSB_DB::UserGroupGw [friend] |
friend class UserMgmtCfg [friend] |
Cont OSB_LIB::UserGroups::cont_ [private] |