1 #ifndef GDE_FILE_SERVICE_HPP
2 #define GDE_FILE_SERVICE_HPP
5 #include "GDESession.hpp"
12 friend class GDESession;
15 const File createFile(const std::string& name);
16 bool deleteFile(const File&);
17 const File updateFile(const File&);
18 const File readFile(int fileId);
19 const File findByName(const std::string& name);
22 FileService(const GDESession& session) : _session(session) {}
24 FileService(const FileService&); // non copyable
25 FileService& operator=(const FileService&); // non copyable
28 static std::string _servletName;
29 const GDESession& _session;