
Definition at line 197 of file osbaccess.h.
| typedef std::map<ModAccess::Oid, ModAccess> OSB_LIB::ModAccessMap::Entries |
| OSB_LIB::ModAccessMap::ModAccessMap | ( | const ModuleId | module = mdUnknown |
) | [explicit] |
Constructor with optional module.
| void OSB_LIB::ModAccessMap::accessRights | ( | std::list< ModAccess > & | dest, | |
| const ModAccess::Oid & | parId = ModAccess::Oid() | |||
| ) | const |
Get child access rights.
| dest | STL-container to populate. It is empty if no childs for parId exist. | |
| parId | The parent of the access rights to retrieve, if not set the 1st level (root) rights of the module are returned. |
| void OSB_LIB::ModAccessMap::check | ( | const ModAccess & | access | ) | const [private] |
Check a module access.
| access | Module access to verify. |
| ObjectNotFound | if the parent of access does not exist. | |
| OsbException | in case of duplicate access tags for the same parent. | |
| OsbException | (internal) if the module id's do not match. |
| const ModAccess* OSB_LIB::ModAccessMap::find | ( | const ModAccess::Oid & | maId | ) | const |
Find a module access right.
| maId | The object of the module access to retrieve. |
| const ModAccess& OSB_LIB::ModAccessMap::get | ( | const ModAccess::Oid & | maId | ) | const |
Get a module access right.
| maId | The object of the module access to retrieve. |
| ObjectNotFound | if the module access for maId does not exist in the list. |
| void OSB_LIB::ModAccessMap::insert | ( | const ModAccess & | access | ) | [private] |
| ModuleId OSB_LIB::ModAccessMap::module | ( | ) | const |
The module of the access map.
| void OSB_LIB::ModAccessMap::read | ( | const OSB_DB::Session & | session | ) |
Read the access rights from the database.
| session | Database to use. |
friend class OSB_DB::ModAccessGw [friend] |
friend class UserMgmtCfg [friend] |
Entries OSB_LIB::ModAccessMap::entries_ [private] |
ModuleId OSB_LIB::ModAccessMap::module_ [private] |
1.4.7