]> SALOME platform Git repositories - modules/gde.git/blob - projects/GDE_API_CPP/api/src/UserService.hpp
Salome HOME
API c++
[modules/gde.git] / projects / GDE_API_CPP / api / src / UserService.hpp
1 #ifndef GDE_USER_SERVICE_HPP
2 #define GDE_USER_SERVICE_HPP
3
4 #include "User.hpp"
5
6 #include <string>
7
8 namespace gde {
9
10   class UserService {
11
12   public:
13     User createUser(std::string name, std::string password);
14
15     void createUser();
16     void deleteUser();
17     void findUser();
18
19     void createGroup();
20     void deleteGroup();
21
22     void addToGroup();
23     void removeFromGroup();
24
25   private:
26     UserService();
27     ~UserService();
28     UserService(const UserService&); // non copyable
29     UserService& operator=(const UserService&); // non copyable
30
31   private:
32     std::string _servletName;
33   };
34
35 };
36
37 #endif