1 #ifndef GDE_STUDY_SERVICE_HPP
2 #define GDE_STUDY_SERVICE_HPP
5 #include "GDESession.hpp"
12 friend class GDESession;
15 const Study createStudy(const std::string& name);
16 bool deleteStudy(const Study&);
18 bool setStudyState(const Study&, int lock);
19 const Study readStudy(int studyId);
22 StudyService(const GDESession& session) : _session(session) {}
24 StudyService(const StudyService&); // non copyable
25 StudyService& operator=(const StudyService&); // non copyable
28 static std::string _servletName;
29 const GDESession& _session;