Salome HOME
rename Group as UserGroup
[modules/gde.git] / projects / GDE_API_CPP / api / src / GDESession.hpp
index 3d02b1d88aacc204b39e17f075c9fa74eef5bf07..ec4975b7634cc553b4fc2525413c9ba19d995866 100644 (file)
@@ -3,7 +3,7 @@
 
 #include "Credentials.hpp"
 #include "User.hpp"
-#include "Group.hpp"
+#include "UserGroup.hpp"
 #include "Study.hpp"
 #include "Attribute.hpp"
 #include "AttributeGroup.hpp"
@@ -39,12 +39,12 @@ namespace gde {
     bool deleteUser(const User&);
     const User findUser(const std::string& name);
 
-    const Group createGroup(const std::string& name);
-    bool deleteGroup(const Group&);
-    const Group findGroup(const std::string& name);
+    const UserGroup createUserGroup(const std::string& name);
+    bool deleteUserGroup(const UserGroup&);
+    const UserGroup findUserGroup(const std::string& name);
 
-    bool addToGroup(const Group&, const User&);
-    bool removeFromGroup(const Group&, const User&);
+    bool addToUserGroup(const UserGroup&, const User&);
+    bool removeFromUserGroup(const UserGroup&, const User&);
 
     /* StudyService */