diff options
Diffstat (limited to 'Dozentenmodulserver/thrift/server.thrift')
-rw-r--r-- | Dozentenmodulserver/thrift/server.thrift | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/Dozentenmodulserver/thrift/server.thrift b/Dozentenmodulserver/thrift/server.thrift index 64bc64d2..75f9c26b 100644 --- a/Dozentenmodulserver/thrift/server.thrift +++ b/Dozentenmodulserver/thrift/server.thrift @@ -1,6 +1,8 @@ /** * Define some namespace/package name for our stuff */ +namespace java server + typedef i64 int struct User{ @@ -10,6 +12,8 @@ struct User{ } struct Image{ + string id, + string version, string imageName, string licenseRestriction, string osName, @@ -20,7 +24,6 @@ struct Image{ service Server{ User getFtpUser(), int DeleteFtpUser(string user), - list<string> getImages(), string getPathOfImage(string name), bool writeVLdata(string imagename, string firstname, string lastname,string university, string Mail, string Tel, string Fak, bool license, bool internet, int ram, int cpu), list<Image> getImageList(), @@ -28,6 +31,7 @@ service Server{ map<string,string> getPersonData(string Vorname, string Nachname), bool writeLecturedata(string name, string shortdesc, string desc,string startDate, string endDate, bool isActive, string imagename,string firstname,string lastname, string university, string Mail, string Tel,string Fak), bool startFileCopy(string file), - map<string,string> getImageData(string imagename), - bool updateImageData(string name, string newName,bool license, bool internet, int ram,int cpu), + map<string,string> getImageData(string imageid, string imageversion), + bool updateImageData(string name, string newName,bool license, bool internet, int ram,int cpu, string id, string version), + map<string,string> getLectureData(string lecturename), }
\ No newline at end of file |