Class DBObject¶
-
class
DBObject
¶ Public Functions
-
DBObject
(const std::string &name, const DBObjectType &objectAndPermissionType)¶
-
DBObject
(const int32_t id, const DBObjectType &objectAndPermissionType)¶
-
DBObject
(DBObjectKey key, AccessPrivileges privs, int32_t owner)¶
-
DBObject
(const std::string &name, DBObjectType type, DBObjectKey key, AccessPrivileges privs, int32_t owner)¶
-
~DBObject
()¶
-
void
setObjectType
(const DBObjectType &objectType)¶
-
void
setName
(std::string name)¶
-
std::string
getName
() const¶
-
DBObjectType
getType
() const¶
-
DBObjectKey
getObjectKey
() const¶
-
void
setObjectKey
(const DBObjectKey &objectKey)¶
-
const AccessPrivileges &
getPrivileges
() const¶
-
void
setPrivileges
(const AccessPrivileges &privs)¶
-
void
resetPrivileges
()¶
-
void
setPermissionType
(const DBObjectType &permissionType)¶
-
int32_t
getOwner
() const¶
-
void
setOwner
(int32_t userId)¶
-
std::vector<std::string>
toString
() const¶
-
void
loadKey
()¶
-
bool
valid
() const¶
Private Members
-
std::string
objectName_
¶
-
DBObjectType
objectType_
¶
-
DBObjectKey
objectKey_
¶
-
AccessPrivileges
objectPrivs_
¶
-
int32_t
ownerId_
¶
-