|
void | MongoGroupFunctions::createGroup (std::string groupName, User &creatingUser, mongocxx::client &adminClient) |
|
std::string | MongoGroupFunctions::generateUniqueGroupName (mongocxx::client &adminClient) |
|
std::vector< Group > | MongoGroupFunctions::getAllUserGroups (User &loggedInUser, mongocxx::client &userClient) |
|
std::vector< Group > | MongoGroupFunctions::getAllGroups (User &loggedInUser, mongocxx::client &userClient) |
|
size_t | MongoGroupFunctions::getAllGroupCount (User &loggedInUser, mongocxx::client &userClient) |
|
Group | MongoGroupFunctions::getGroupDataByName (std::string groupName, mongocxx::client &userClient) |
|
Group | MongoGroupFunctions::getGroupDataById (std::string groupId, mongocxx::client &userClient) |
|
bool | MongoGroupFunctions::changeGroupName (std::string oldName, std::string newName, mongocxx::client &adminClient) |
|
bool | MongoGroupFunctions::changeGroupOwner (Group &group, User &oldUser, User &newUser, mongocxx::client &adminClient) |
|
bool | MongoGroupFunctions::addUserToGroup (User &loggedInUser, std::string groupName, mongocxx::client &adminClient) |
|
bool | MongoGroupFunctions::removeUserFromGroup (User &loggedInUser, std::string groupName, mongocxx::client &adminClient) |
|
bool | MongoGroupFunctions::removeGroup (Group &groupToBeRemoved, mongocxx::client &adminClient) |
|
std::string | MongoGroupFunctions::groupToJson (Group &grp) |
|
std::string | MongoGroupFunctions::groupsToJson (std::vector< Group > &groups) |
|