Definition at line 71 of file modules.h.
typedef Id<ModuleId> OSB_LIB::Module::Oid |
OSB_LIB::Module::Module | ( | const Oid & | oid | ) | [explicit] |
Constructor with object id.
OSB_LIB::Module::~Module | ( | ) |
Destructor: delete accessMap_.
OSB_LIB::Module::Module | ( | const Module & | rhs | ) |
Copy constructor: copy accessMap_.
const ModAccessMap& OSB_LIB::Module::accessMap | ( | ) | const |
Get the access rights defined for the module.
Unless UserMgmtCfg::readModuleAccess() was called the access map is empty.
const std::string OSB_LIB::Module::appType | ( | ) | const |
Get the application type.
static void OSB_LIB::Module::handleObjectStatus | ( | ObjectStatus | os, | |
const Oid & | id | |||
) | [static, private] |
Evalute the object status of the module.
os | Object status to evaluate. | |
id | The id of the module for which os is valid. |
ObjectDeleted | ||
ObjectModified | ||
ObjectBusy |
void OSB_LIB::Module::incObjVs | ( | const OSB_DB::Session & | session | ) | [private] |
Increment the object version by 1.
session | Database session to use. |
OsbException | (internal error) if the update of the object version in the database fails. |
void OSB_LIB::Module::lock | ( | const OSB_DB::Session & | session, | |
bool | noWait | |||
) | const [private] |
Lock the module in the database.
session | Database session to use. | |
noWait | Don't wait for database locks? |
OsbException | from handleObjectStatus(). |
ModuleId OSB_LIB::Module::modId | ( | ) | const |
Get the module id.
const std::string& OSB_LIB::Module::name | ( | ) | const |
Get the name.
Oid OSB_LIB::Module::oid | ( | ) | const |
Get the object id.
Assignment: copy accessMap_.
friend class OSB_DB::ModuleGw [friend] |
friend class UserMgmtCfg [friend] |
ModAccessMap* OSB_LIB::Module::accessMap_ [private] |
std::string OSB_LIB::Module::appType_ [private] |
std::string OSB_LIB::Module::name_ [private] |
long OSB_LIB::Module::objVs_ [private] |
Oid OSB_LIB::Module::oid_ [private] |