From 99538bd2cc35d2580dabdb4b16d68c5cce108e4d Mon Sep 17 00:00:00 2001 From: unknown Date: Tue, 11 Mar 2014 10:21:56 +0100 Subject: Es ist nun möglich die Metadaten eines Images über das Dozentenmodul zu updaten --- Dozentenmodul/.classpath | 1 - .../bin/GUI/EditImageAllgemein_GUI$1.class | Bin 716 -> 716 bytes .../bin/GUI/EditImageAllgemein_GUI$2.class | Bin 793 -> 793 bytes .../bin/GUI/EditImageAllgemein_GUI$3.class | Bin 1550 -> 833 bytes .../bin/GUI/EditImageAllgemein_GUI$4.class | Bin 1921 -> 1368 bytes Dozentenmodul/bin/GUI/EditImageAllgemein_GUI.class | Bin 8508 -> 8976 bytes .../bin/GUI/EditImageTechnisch_GUI$1.class | Bin 716 -> 716 bytes .../bin/GUI/EditImageTechnisch_GUI$2.class | Bin 793 -> 793 bytes .../bin/GUI/EditImageTechnisch_GUI$3.class | Bin 1310 -> 1623 bytes .../bin/GUI/EditImageTechnisch_GUI$4.class | Bin 837 -> 1611 bytes Dozentenmodul/bin/GUI/EditImageTechnisch_GUI.class | Bin 7959 -> 8389 bytes .../bin/GUI/EingabeImageAllgemein_GUI$1.class | Bin 734 -> 734 bytes .../bin/GUI/EingabeImageAllgemein_GUI$2.class | Bin 811 -> 811 bytes .../bin/GUI/EingabeImageAllgemein_GUI$3.class | Bin 1571 -> 1125 bytes .../bin/GUI/EingabeImageAllgemein_GUI$4.class | Bin 1948 -> 1586 bytes .../bin/GUI/EingabeImageAllgemein_GUI.class | Bin 7911 -> 7645 bytes Dozentenmodul/bin/GUI/FTPUploader_GUI$5.class | Bin 1450 -> 1449 bytes Dozentenmodul/bin/GUI/FTPUploader_GUI.class | Bin 10375 -> 10530 bytes Dozentenmodul/bin/GUI/Login_GUI$1.class | Bin 1082 -> 1082 bytes Dozentenmodul/bin/GUI/Login_GUI$2.class | Bin 635 -> 635 bytes Dozentenmodul/bin/GUI/Login_GUI$3.class | Bin 2115 -> 2392 bytes Dozentenmodul/bin/GUI/Login_GUI.class | Bin 3731 -> 3731 bytes Dozentenmodul/bin/GUI/MainMenue_GUI$4.class | Bin 1476 -> 1484 bytes Dozentenmodul/bin/GUI/MainMenue_GUI.class | Bin 7959 -> 7959 bytes Dozentenmodul/bin/GUI/SearchImage_GUI$1.class | Bin 674 -> 674 bytes Dozentenmodul/bin/GUI/SearchImage_GUI.class | Bin 11628 -> 11628 bytes Dozentenmodul/bin/GUI/VmWareLink_GUI$1.class | Bin 665 -> 665 bytes Dozentenmodul/bin/GUI/VmWareLink_GUI$2.class | Bin 1126 -> 1126 bytes Dozentenmodul/bin/GUI/VmWareLink_GUI$3.class | Bin 785 -> 1767 bytes Dozentenmodul/bin/GUI/VmWareLink_GUI.class | Bin 5127 -> 5269 bytes Dozentenmodul/bin/auth/Authentification.class | Bin 0 -> 283 bytes Dozentenmodul/bin/auth/Ldap.class | Bin 2199 -> 0 bytes Dozentenmodul/bin/config/config_file.class | Bin 1692 -> 1692 bytes .../bin/gui/EditImageAllgemein_GUI$1.class | Bin 0 -> 716 bytes .../bin/gui/EditImageAllgemein_GUI$2.class | Bin 0 -> 793 bytes .../bin/gui/EditImageAllgemein_GUI$3.class | Bin 0 -> 833 bytes .../bin/gui/EditImageAllgemein_GUI$4.class | Bin 0 -> 1368 bytes Dozentenmodul/bin/gui/EditImageAllgemein_GUI.class | Bin 8508 -> 8976 bytes .../bin/gui/EditImageTechnisch_GUI$1.class | Bin 716 -> 716 bytes .../bin/gui/EditImageTechnisch_GUI$2.class | Bin 793 -> 793 bytes .../bin/gui/EditImageTechnisch_GUI$3.class | Bin 1310 -> 1623 bytes .../bin/gui/EditImageTechnisch_GUI$4.class | Bin 837 -> 1611 bytes Dozentenmodul/bin/gui/EditImageTechnisch_GUI.class | Bin 7959 -> 8389 bytes .../bin/gui/EingabeImageAllgemein_GUI$1.class | Bin 734 -> 734 bytes .../bin/gui/EingabeImageAllgemein_GUI$2.class | Bin 811 -> 811 bytes .../bin/gui/EingabeImageAllgemein_GUI$3.class | Bin 1571 -> 1125 bytes .../bin/gui/EingabeImageAllgemein_GUI$4.class | Bin 1948 -> 1586 bytes .../bin/gui/EingabeImageAllgemein_GUI.class | Bin 7911 -> 7645 bytes Dozentenmodul/bin/gui/FTPEditUploader_GUI$1.class | Bin 0 -> 758 bytes Dozentenmodul/bin/gui/FTPEditUploader_GUI$2.class | Bin 0 -> 1217 bytes Dozentenmodul/bin/gui/FTPEditUploader_GUI$3.class | Bin 0 -> 1336 bytes Dozentenmodul/bin/gui/FTPEditUploader_GUI$4.class | Bin 0 -> 763 bytes Dozentenmodul/bin/gui/FTPEditUploader_GUI$5.class | Bin 0 -> 1473 bytes Dozentenmodul/bin/gui/FTPEditUploader_GUI$6.class | Bin 0 -> 1599 bytes Dozentenmodul/bin/gui/FTPEditUploader_GUI.class | Bin 0 -> 10311 bytes Dozentenmodul/bin/gui/FTPUploader_GUI$5.class | Bin 1450 -> 1449 bytes Dozentenmodul/bin/gui/FTPUploader_GUI$6.class | Bin 0 -> 1574 bytes Dozentenmodul/bin/gui/FTPUploader_GUI.class | Bin 10375 -> 10530 bytes Dozentenmodul/bin/gui/Login_GUI$1.class | Bin 1082 -> 1082 bytes Dozentenmodul/bin/gui/Login_GUI$2.class | Bin 635 -> 635 bytes Dozentenmodul/bin/gui/Login_GUI$3.class | Bin 2115 -> 2392 bytes Dozentenmodul/bin/gui/Login_GUI.class | Bin 3731 -> 3731 bytes Dozentenmodul/bin/gui/MainMenue_GUI$4.class | Bin 1476 -> 1484 bytes Dozentenmodul/bin/gui/MainMenue_GUI.class | Bin 7959 -> 7959 bytes Dozentenmodul/bin/gui/SearchEditImage_GUI$1.class | Bin 0 -> 698 bytes Dozentenmodul/bin/gui/SearchEditImage_GUI$2.class | Bin 0 -> 1249 bytes Dozentenmodul/bin/gui/SearchEditImage_GUI$3.class | Bin 0 -> 766 bytes Dozentenmodul/bin/gui/SearchEditImage_GUI$4.class | Bin 0 -> 1252 bytes Dozentenmodul/bin/gui/SearchEditImage_GUI$5.class | Bin 0 -> 775 bytes Dozentenmodul/bin/gui/SearchEditImage_GUI$6.class | Bin 0 -> 1340 bytes Dozentenmodul/bin/gui/SearchEditImage_GUI$7.class | Bin 0 -> 855 bytes Dozentenmodul/bin/gui/SearchEditImage_GUI$8.class | Bin 0 -> 817 bytes Dozentenmodul/bin/gui/SearchEditImage_GUI$9.class | Bin 0 -> 1496 bytes Dozentenmodul/bin/gui/SearchEditImage_GUI.class | Bin 0 -> 11684 bytes Dozentenmodul/bin/gui/SearchImage_GUI$1.class | Bin 0 -> 674 bytes Dozentenmodul/bin/gui/SearchImage_GUI$2.class | Bin 0 -> 1221 bytes Dozentenmodul/bin/gui/SearchImage_GUI$3.class | Bin 0 -> 742 bytes Dozentenmodul/bin/gui/SearchImage_GUI$4.class | Bin 0 -> 1228 bytes Dozentenmodul/bin/gui/SearchImage_GUI$5.class | Bin 0 -> 751 bytes Dozentenmodul/bin/gui/SearchImage_GUI$6.class | Bin 0 -> 1316 bytes Dozentenmodul/bin/gui/SearchImage_GUI$7.class | Bin 0 -> 831 bytes Dozentenmodul/bin/gui/SearchImage_GUI$8.class | Bin 0 -> 793 bytes Dozentenmodul/bin/gui/SearchImage_GUI$9.class | Bin 809 -> 809 bytes Dozentenmodul/bin/gui/SearchImage_GUI.class | Bin 11628 -> 11628 bytes Dozentenmodul/bin/models/Image.class | Bin 1396 -> 1587 bytes Dozentenmodul/bin/thrift/ThriftConnection.class | Bin 1427 -> 1528 bytes Dozentenmodul/src/GUI/EditImageAllgemein_GUI.java | 116 +- Dozentenmodul/src/GUI/EditImageTechnisch_GUI.java | 81 +- .../src/GUI/EingabeImageAllgemein_GUI.java | 71 +- Dozentenmodul/src/GUI/FTPUploader_GUI.java | 19 +- Dozentenmodul/src/GUI/Login_GUI.java | 36 +- Dozentenmodul/src/GUI/MainMenue_GUI.java | 3 +- Dozentenmodul/src/GUI/SearchImage_GUI.java | 6 +- Dozentenmodul/src/GUI/VmWareLink_GUI.java | 27 +- Dozentenmodul/src/auth/Authentification.java | 5 + Dozentenmodul/src/auth/Ldap.java | 48 - Dozentenmodul/src/config/config_file.java | 14 +- Dozentenmodul/src/gui/EditImageAllgemein_GUI.java | 116 +- Dozentenmodul/src/gui/EditImageTechnisch_GUI.java | 81 +- .../src/gui/EingabeImageAllgemein_GUI.java | 71 +- Dozentenmodul/src/gui/FTPEditUploader_GUI.java | 420 +++ Dozentenmodul/src/gui/FTPUploader_GUI.java | 19 +- Dozentenmodul/src/gui/Login_GUI.java | 36 +- Dozentenmodul/src/gui/MainMenue_GUI.java | 3 +- Dozentenmodul/src/gui/SearchEditImage_GUI.java | 460 +++ Dozentenmodul/src/gui/SearchImage_GUI.java | 6 +- Dozentenmodul/src/models/Image.java | 8 +- Dozentenmodul/src/thrift/ThriftConnection.java | 13 +- Dozentenmodulserver/.classpath | 1 + .../bin/server/Image$ImageStandardScheme.class | Bin 3331 -> 3331 bytes .../server/Image$ImageStandardSchemeFactory.class | Bin 869 -> 869 bytes .../bin/server/Image$ImageTupleScheme.class | Bin 2712 -> 2712 bytes .../bin/server/Image$ImageTupleSchemeFactory.class | Bin 845 -> 845 bytes Dozentenmodulserver/bin/server/Image$_Fields.class | Bin 3248 -> 3248 bytes Dozentenmodulserver/bin/server/Image.class | Bin 15192 -> 15192 bytes .../Server$AsyncClient$DeleteFtpUser_call.class | Bin 3131 -> 3131 bytes .../bin/server/Server$AsyncClient$Factory.class | Bin 1442 -> 1442 bytes .../server/Server$AsyncClient$getAllOS_call.class | Bin 2993 -> 2993 bytes .../Server$AsyncClient$getFtpUser_call.class | Bin 2945 -> 2945 bytes .../Server$AsyncClient$getImageData_call.class | Bin 0 -> 3224 bytes .../Server$AsyncClient$getImageList_call.class | Bin 3021 -> 3021 bytes .../server/Server$AsyncClient$getImages_call.class | Bin 3001 -> 3001 bytes .../Server$AsyncClient$getPathOfImage_call.class | Bin 3157 -> 3157 bytes .../Server$AsyncClient$getPersonData_call.class | Bin 3333 -> 3333 bytes .../Server$AsyncClient$startFileCopy_call.class | Bin 0 -> 3131 bytes .../Server$AsyncClient$updateImageData_call.class | Bin 0 -> 3669 bytes .../Server$AsyncClient$writeLecturedata_call.class | Bin 4410 -> 4410 bytes .../Server$AsyncClient$writeVLdata_call.class | Bin 4135 -> 4135 bytes .../bin/server/Server$AsyncClient.class | Bin 6369 -> 7667 bytes .../bin/server/Server$AsyncIface.class | Bin 1172 -> 1366 bytes .../Server$AsyncProcessor$DeleteFtpUser$1.class | Bin 2969 -> 0 bytes .../Server$AsyncProcessor$DeleteFtpUser.class | Bin 3107 -> 3107 bytes .../server/Server$AsyncProcessor$getAllOS$1.class | Bin 2997 -> 0 bytes .../server/Server$AsyncProcessor$getAllOS.class | Bin 3062 -> 3062 bytes .../Server$AsyncProcessor$getFtpUser$1.class | Bin 2851 -> 0 bytes .../server/Server$AsyncProcessor$getFtpUser.class | Bin 2996 -> 2996 bytes .../Server$AsyncProcessor$getImageData$1.class | Bin 0 -> 3081 bytes .../Server$AsyncProcessor$getImageData.class | Bin 0 -> 3247 bytes .../Server$AsyncProcessor$getImageList$1.class | Bin 3021 -> 0 bytes .../Server$AsyncProcessor$getImageList.class | Bin 3098 -> 3098 bytes .../server/Server$AsyncProcessor$getImages$1.class | Bin 3006 -> 0 bytes .../server/Server$AsyncProcessor$getImages.class | Bin 3075 -> 3075 bytes .../Server$AsyncProcessor$getPathOfImage$1.class | Bin 2907 -> 0 bytes .../Server$AsyncProcessor$getPathOfImage.class | Bin 3128 -> 3128 bytes .../Server$AsyncProcessor$getPersonData$1.class | Bin 3090 -> 0 bytes .../Server$AsyncProcessor$getPersonData.class | Bin 3301 -> 3301 bytes .../Server$AsyncProcessor$startFileCopy$1.class | Bin 0 -> 2984 bytes .../Server$AsyncProcessor$startFileCopy.class | Bin 0 -> 3119 bytes .../Server$AsyncProcessor$updateImageData$1.class | Bin 0 -> 3002 bytes .../Server$AsyncProcessor$updateImageData.class | Bin 0 -> 3288 bytes .../Server$AsyncProcessor$writeLecturedata$1.class | Bin 3011 -> 0 bytes .../Server$AsyncProcessor$writeLecturedata.class | Bin 3648 -> 3648 bytes .../Server$AsyncProcessor$writeVLdata$1.class | Bin 2966 -> 0 bytes .../server/Server$AsyncProcessor$writeVLdata.class | Bin 3446 -> 3446 bytes .../bin/server/Server$AsyncProcessor.class | Bin 2968 -> 3270 bytes .../bin/server/Server$Client$Factory.class | Bin 1411 -> 1411 bytes Dozentenmodulserver/bin/server/Server$Client.class | Bin 10557 -> 13500 bytes ...ser_args$DeleteFtpUser_argsStandardScheme.class | Bin 2628 -> 2628 bytes ...s$DeleteFtpUser_argsStandardSchemeFactory.class | Bin 1162 -> 1162 bytes ...tpUser_args$DeleteFtpUser_argsTupleScheme.class | Bin 2112 -> 2112 bytes ...args$DeleteFtpUser_argsTupleSchemeFactory.class | Bin 1138 -> 1138 bytes .../server/Server$DeleteFtpUser_args$_Fields.class | Bin 3004 -> 3004 bytes .../bin/server/Server$DeleteFtpUser_args.class | Bin 9460 -> 9460 bytes ...result$DeleteFtpUser_resultStandardScheme.class | Bin 2632 -> 2632 bytes ...DeleteFtpUser_resultStandardSchemeFactory.class | Bin 1194 -> 1194 bytes ...er_result$DeleteFtpUser_resultTupleScheme.class | Bin 2088 -> 2088 bytes ...lt$DeleteFtpUser_resultTupleSchemeFactory.class | Bin 1170 -> 1170 bytes .../Server$DeleteFtpUser_result$_Fields.class | Bin 3030 -> 3030 bytes .../bin/server/Server$DeleteFtpUser_result.class | Bin 9823 -> 9823 bytes Dozentenmodulserver/bin/server/Server$Iface.class | Bin 1241 -> 1536 bytes .../server/Server$Processor$DeleteFtpUser.class | Bin 2029 -> 2029 bytes .../bin/server/Server$Processor$getAllOS.class | Bin 1875 -> 1875 bytes .../bin/server/Server$Processor$getFtpUser.class | Bin 1901 -> 1901 bytes .../bin/server/Server$Processor$getImageData.class | Bin 0 -> 2002 bytes .../bin/server/Server$Processor$getImageList.class | Bin 1939 -> 1939 bytes .../bin/server/Server$Processor$getImages.class | Bin 1891 -> 1891 bytes .../server/Server$Processor$getPathOfImage.class | Bin 2014 -> 2014 bytes .../server/Server$Processor$getPersonData.class | Bin 2059 -> 2059 bytes .../server/Server$Processor$startFileCopy.class | Bin 0 -> 2029 bytes .../server/Server$Processor$updateImageData.class | Bin 0 -> 2200 bytes .../server/Server$Processor$writeLecturedata.class | Bin 2563 -> 2563 bytes .../bin/server/Server$Processor$writeVLdata.class | Bin 2346 -> 2346 bytes .../bin/server/Server$Processor.class | Bin 2816 -> 3103 bytes .../bin/server/Server$getAllOS_args$_Fields.class | Bin 2848 -> 2848 bytes ...getAllOS_args$getAllOS_argsStandardScheme.class | Bin 2153 -> 2153 bytes ...S_args$getAllOS_argsStandardSchemeFactory.class | Bin 1082 -> 1082 bytes ...er$getAllOS_args$getAllOS_argsTupleScheme.class | Bin 1463 -> 1463 bytes ...llOS_args$getAllOS_argsTupleSchemeFactory.class | Bin 1058 -> 1058 bytes .../bin/server/Server$getAllOS_args.class | Bin 7328 -> 7328 bytes .../server/Server$getAllOS_result$_Fields.class | Bin 2980 -> 2980 bytes ...llOS_result$getAllOS_resultStandardScheme.class | Bin 3464 -> 3464 bytes ...sult$getAllOS_resultStandardSchemeFactory.class | Bin 1114 -> 1114 bytes ...etAllOS_result$getAllOS_resultTupleScheme.class | Bin 2849 -> 2849 bytes ..._result$getAllOS_resultTupleSchemeFactory.class | Bin 1090 -> 1090 bytes .../bin/server/Server$getAllOS_result.class | Bin 10548 -> 10548 bytes .../server/Server$getFtpUser_args$_Fields.class | Bin 2868 -> 2868 bytes ...tpUser_args$getFtpUser_argsStandardScheme.class | Bin 2177 -> 2177 bytes ...args$getFtpUser_argsStandardSchemeFactory.class | Bin 1114 -> 1114 bytes ...etFtpUser_args$getFtpUser_argsTupleScheme.class | Bin 1487 -> 1487 bytes ...er_args$getFtpUser_argsTupleSchemeFactory.class | Bin 1090 -> 1090 bytes .../bin/server/Server$getFtpUser_args.class | Bin 7400 -> 7400 bytes .../server/Server$getFtpUser_result$_Fields.class | Bin 3000 -> 3000 bytes ...er_result$getFtpUser_resultStandardScheme.class | Bin 2624 -> 2624 bytes ...lt$getFtpUser_resultStandardSchemeFactory.class | Bin 1146 -> 1146 bytes ...pUser_result$getFtpUser_resultTupleScheme.class | Bin 2111 -> 2111 bytes ...esult$getFtpUser_resultTupleSchemeFactory.class | Bin 1122 -> 1122 bytes .../bin/server/Server$getFtpUser_result.class | Bin 9665 -> 9665 bytes .../server/Server$getImageData_args$_Fields.class | Bin 0 -> 3004 bytes ...Data_args$getImageData_argsStandardScheme.class | Bin 0 -> 2626 bytes ...gs$getImageData_argsStandardSchemeFactory.class | Bin 0 -> 1146 bytes ...ageData_args$getImageData_argsTupleScheme.class | Bin 0 -> 2115 bytes ..._args$getImageData_argsTupleSchemeFactory.class | Bin 0 -> 1122 bytes .../bin/server/Server$getImageData_args.class | Bin 0 -> 9478 bytes .../Server$getImageData_result$_Fields.class | Bin 0 -> 3020 bytes ..._result$getImageData_resultStandardScheme.class | Bin 0 -> 3869 bytes ...$getImageData_resultStandardSchemeFactory.class | Bin 0 -> 1178 bytes ...ata_result$getImageData_resultTupleScheme.class | Bin 0 -> 3261 bytes ...ult$getImageData_resultTupleSchemeFactory.class | Bin 0 -> 1154 bytes .../bin/server/Server$getImageData_result.class | Bin 0 -> 10534 bytes .../server/Server$getImageList_args$_Fields.class | Bin 2888 -> 2888 bytes ...List_args$getImageList_argsStandardScheme.class | Bin 2201 -> 2201 bytes ...gs$getImageList_argsStandardSchemeFactory.class | Bin 1146 -> 1146 bytes ...ageList_args$getImageList_argsTupleScheme.class | Bin 1511 -> 1511 bytes ..._args$getImageList_argsTupleSchemeFactory.class | Bin 1122 -> 1122 bytes .../bin/server/Server$getImageList_args.class | Bin 7472 -> 7472 bytes .../Server$getImageList_result$_Fields.class | Bin 3020 -> 3020 bytes ..._result$getImageList_resultStandardScheme.class | Bin 3490 -> 3490 bytes ...$getImageList_resultStandardSchemeFactory.class | Bin 1178 -> 1178 bytes ...ist_result$getImageList_resultTupleScheme.class | Bin 2877 -> 2877 bytes ...ult$getImageList_resultTupleSchemeFactory.class | Bin 1154 -> 1154 bytes .../bin/server/Server$getImageList_result.class | Bin 10892 -> 10892 bytes .../bin/server/Server$getImages_args$_Fields.class | Bin 2858 -> 2858 bytes ...tImages_args$getImages_argsStandardScheme.class | Bin 2165 -> 2165 bytes ..._args$getImages_argsStandardSchemeFactory.class | Bin 1098 -> 1098 bytes ...$getImages_args$getImages_argsTupleScheme.class | Bin 1475 -> 1475 bytes ...ges_args$getImages_argsTupleSchemeFactory.class | Bin 1074 -> 1074 bytes .../bin/server/Server$getImages_args.class | Bin 7364 -> 7364 bytes .../server/Server$getImages_result$_Fields.class | Bin 2990 -> 2990 bytes ...ges_result$getImages_resultStandardScheme.class | Bin 3472 -> 3472 bytes ...ult$getImages_resultStandardSchemeFactory.class | Bin 1130 -> 1130 bytes ...Images_result$getImages_resultTupleScheme.class | Bin 2857 -> 2857 bytes ...result$getImages_resultTupleSchemeFactory.class | Bin 1106 -> 1106 bytes .../bin/server/Server$getImages_result.class | Bin 10586 -> 10586 bytes .../Server$getPathOfImage_args$_Fields.class | Bin 3007 -> 3007 bytes ...ge_args$getPathOfImage_argsStandardScheme.class | Bin 2640 -> 2640 bytes ...$getPathOfImage_argsStandardSchemeFactory.class | Bin 1178 -> 1178 bytes ...Image_args$getPathOfImage_argsTupleScheme.class | Bin 2124 -> 2124 bytes ...rgs$getPathOfImage_argsTupleSchemeFactory.class | Bin 1154 -> 1154 bytes .../bin/server/Server$getPathOfImage_args.class | Bin 9481 -> 9481 bytes .../Server$getPathOfImage_result$_Fields.class | Bin 3040 -> 3040 bytes ...esult$getPathOfImage_resultStandardScheme.class | Bin 2670 -> 2670 bytes ...etPathOfImage_resultStandardSchemeFactory.class | Bin 1210 -> 1210 bytes ...e_result$getPathOfImage_resultTupleScheme.class | Bin 2157 -> 2157 bytes ...t$getPathOfImage_resultTupleSchemeFactory.class | Bin 1186 -> 1186 bytes .../bin/server/Server$getPathOfImage_result.class | Bin 9604 -> 9604 bytes .../server/Server$getPersonData_args$_Fields.class | Bin 3096 -> 3096 bytes ...ata_args$getPersonData_argsStandardScheme.class | Bin 2815 -> 2815 bytes ...s$getPersonData_argsStandardSchemeFactory.class | Bin 1162 -> 1162 bytes ...onData_args$getPersonData_argsTupleScheme.class | Bin 2278 -> 2278 bytes ...args$getPersonData_argsTupleSchemeFactory.class | Bin 1138 -> 1138 bytes .../bin/server/Server$getPersonData_args.class | Bin 10760 -> 10760 bytes .../Server$getPersonData_result$_Fields.class | Bin 3030 -> 3030 bytes ...result$getPersonData_resultStandardScheme.class | Bin 3881 -> 3881 bytes ...getPersonData_resultStandardSchemeFactory.class | Bin 1194 -> 1194 bytes ...ta_result$getPersonData_resultTupleScheme.class | Bin 3273 -> 3273 bytes ...lt$getPersonData_resultTupleSchemeFactory.class | Bin 1170 -> 1170 bytes .../bin/server/Server$getPersonData_result.class | Bin 10572 -> 10572 bytes .../server/Server$startFileCopy_args$_Fields.class | Bin 0 -> 3004 bytes ...opy_args$startFileCopy_argsStandardScheme.class | Bin 0 -> 2628 bytes ...s$startFileCopy_argsStandardSchemeFactory.class | Bin 0 -> 1162 bytes ...leCopy_args$startFileCopy_argsTupleScheme.class | Bin 0 -> 2112 bytes ...args$startFileCopy_argsTupleSchemeFactory.class | Bin 0 -> 1138 bytes .../bin/server/Server$startFileCopy_args.class | Bin 0 -> 9460 bytes .../Server$startFileCopy_result$_Fields.class | Bin 0 -> 3030 bytes ...result$startFileCopy_resultStandardScheme.class | Bin 0 -> 2620 bytes ...startFileCopy_resultStandardSchemeFactory.class | Bin 0 -> 1194 bytes ...py_result$startFileCopy_resultTupleScheme.class | Bin 0 -> 2077 bytes ...lt$startFileCopy_resultTupleSchemeFactory.class | Bin 0 -> 1170 bytes .../bin/server/Server$startFileCopy_result.class | Bin 0 -> 9724 bytes .../Server$updateImageData_args$_Fields.class | Bin 0 -> 3425 bytes ...a_args$updateImageData_argsStandardScheme.class | Bin 0 -> 3599 bytes ...updateImageData_argsStandardSchemeFactory.class | Bin 0 -> 1194 bytes ...Data_args$updateImageData_argsTupleScheme.class | Bin 0 -> 2992 bytes ...gs$updateImageData_argsTupleSchemeFactory.class | Bin 0 -> 1170 bytes .../bin/server/Server$updateImageData_args.class | Bin 0 -> 16073 bytes .../Server$updateImageData_result$_Fields.class | Bin 0 -> 3050 bytes ...sult$updateImageData_resultStandardScheme.class | Bin 0 -> 2644 bytes ...dateImageData_resultStandardSchemeFactory.class | Bin 0 -> 1226 bytes ..._result$updateImageData_resultTupleScheme.class | Bin 0 -> 2101 bytes ...$updateImageData_resultTupleSchemeFactory.class | Bin 0 -> 1202 bytes .../bin/server/Server$updateImageData_result.class | Bin 0 -> 9798 bytes .../Server$writeLecturedata_args$_Fields.class | Bin 4053 -> 4053 bytes ..._args$writeLecturedata_argsStandardScheme.class | Bin 4862 -> 4862 bytes ...riteLecturedata_argsStandardSchemeFactory.class | Bin 1210 -> 1210 bytes ...ata_args$writeLecturedata_argsTupleScheme.class | Bin 4056 -> 4056 bytes ...s$writeLecturedata_argsTupleSchemeFactory.class | Bin 1186 -> 1186 bytes .../bin/server/Server$writeLecturedata_args.class | Bin 24604 -> 24604 bytes .../Server$writeLecturedata_result$_Fields.class | Bin 3060 -> 3060 bytes ...ult$writeLecturedata_resultStandardScheme.class | Bin 2656 -> 2656 bytes ...teLecturedata_resultStandardSchemeFactory.class | Bin 1242 -> 1242 bytes ...result$writeLecturedata_resultTupleScheme.class | Bin 2113 -> 2113 bytes ...writeLecturedata_resultTupleSchemeFactory.class | Bin 1218 -> 1218 bytes .../server/Server$writeLecturedata_result.class | Bin 9835 -> 9835 bytes .../server/Server$writeVLdata_args$_Fields.class | Bin 3821 -> 3821 bytes ...Ldata_args$writeVLdata_argsStandardScheme.class | Bin 4451 -> 4451 bytes ...rgs$writeVLdata_argsStandardSchemeFactory.class | Bin 1130 -> 1130 bytes ...teVLdata_args$writeVLdata_argsTupleScheme.class | Bin 3724 -> 3724 bytes ...a_args$writeVLdata_argsTupleSchemeFactory.class | Bin 1106 -> 1106 bytes .../bin/server/Server$writeVLdata_args.class | Bin 22061 -> 22061 bytes .../server/Server$writeVLdata_result$_Fields.class | Bin 3010 -> 3010 bytes ...a_result$writeVLdata_resultStandardScheme.class | Bin 2596 -> 2596 bytes ...t$writeVLdata_resultStandardSchemeFactory.class | Bin 1162 -> 1162 bytes ...data_result$writeVLdata_resultTupleScheme.class | Bin 2053 -> 2053 bytes ...sult$writeVLdata_resultTupleSchemeFactory.class | Bin 1138 -> 1138 bytes .../bin/server/Server$writeVLdata_result.class | Bin 9650 -> 9650 bytes Dozentenmodulserver/bin/server/Server.class | Bin 1774 -> 2192 bytes Dozentenmodulserver/bin/server/ServerHandler.class | Bin 6843 -> 8701 bytes .../bin/server/User$UserStandardScheme.class | Bin 2737 -> 2737 bytes .../server/User$UserStandardSchemeFactory.class | Bin 853 -> 853 bytes .../bin/server/User$UserTupleScheme.class | Bin 2173 -> 2173 bytes .../bin/server/User$UserTupleSchemeFactory.class | Bin 829 -> 829 bytes Dozentenmodulserver/bin/server/User$_Fields.class | Bin 2938 -> 2938 bytes Dozentenmodulserver/bin/server/User.class | Bin 11240 -> 11240 bytes Dozentenmodulserver/bin/sql/SQL.class | Bin 9822 -> 11621 bytes Dozentenmodulserver/lib/commons-io-2.4.jar | Bin 0 -> 185140 bytes Dozentenmodulserver/src/server/Image.java | 45 +- Dozentenmodulserver/src/server/Server.java | 3217 +++++++++++++++++++- Dozentenmodulserver/src/server/ServerHandler.java | 63 +- Dozentenmodulserver/src/server/User.java | 33 +- Dozentenmodulserver/src/sql/SQL.java | 44 +- Dozentenmodulserver/thrift/server.thrift | 3 + 331 files changed, 4618 insertions(+), 448 deletions(-) create mode 100644 Dozentenmodul/bin/auth/Authentification.class delete mode 100644 Dozentenmodul/bin/auth/Ldap.class create mode 100644 Dozentenmodul/bin/gui/EditImageAllgemein_GUI$1.class create mode 100644 Dozentenmodul/bin/gui/EditImageAllgemein_GUI$2.class create mode 100644 Dozentenmodul/bin/gui/EditImageAllgemein_GUI$3.class create mode 100644 Dozentenmodul/bin/gui/EditImageAllgemein_GUI$4.class create mode 100644 Dozentenmodul/bin/gui/FTPEditUploader_GUI$1.class create mode 100644 Dozentenmodul/bin/gui/FTPEditUploader_GUI$2.class create mode 100644 Dozentenmodul/bin/gui/FTPEditUploader_GUI$3.class create mode 100644 Dozentenmodul/bin/gui/FTPEditUploader_GUI$4.class create mode 100644 Dozentenmodul/bin/gui/FTPEditUploader_GUI$5.class create mode 100644 Dozentenmodul/bin/gui/FTPEditUploader_GUI$6.class create mode 100644 Dozentenmodul/bin/gui/FTPEditUploader_GUI.class create mode 100644 Dozentenmodul/bin/gui/FTPUploader_GUI$6.class create mode 100644 Dozentenmodul/bin/gui/SearchEditImage_GUI$1.class create mode 100644 Dozentenmodul/bin/gui/SearchEditImage_GUI$2.class create mode 100644 Dozentenmodul/bin/gui/SearchEditImage_GUI$3.class create mode 100644 Dozentenmodul/bin/gui/SearchEditImage_GUI$4.class create mode 100644 Dozentenmodul/bin/gui/SearchEditImage_GUI$5.class create mode 100644 Dozentenmodul/bin/gui/SearchEditImage_GUI$6.class create mode 100644 Dozentenmodul/bin/gui/SearchEditImage_GUI$7.class create mode 100644 Dozentenmodul/bin/gui/SearchEditImage_GUI$8.class create mode 100644 Dozentenmodul/bin/gui/SearchEditImage_GUI$9.class create mode 100644 Dozentenmodul/bin/gui/SearchEditImage_GUI.class create mode 100644 Dozentenmodul/bin/gui/SearchImage_GUI$1.class create mode 100644 Dozentenmodul/bin/gui/SearchImage_GUI$2.class create mode 100644 Dozentenmodul/bin/gui/SearchImage_GUI$3.class create mode 100644 Dozentenmodul/bin/gui/SearchImage_GUI$4.class create mode 100644 Dozentenmodul/bin/gui/SearchImage_GUI$5.class create mode 100644 Dozentenmodul/bin/gui/SearchImage_GUI$6.class create mode 100644 Dozentenmodul/bin/gui/SearchImage_GUI$7.class create mode 100644 Dozentenmodul/bin/gui/SearchImage_GUI$8.class create mode 100644 Dozentenmodul/src/auth/Authentification.java delete mode 100644 Dozentenmodul/src/auth/Ldap.java create mode 100644 Dozentenmodul/src/gui/FTPEditUploader_GUI.java create mode 100644 Dozentenmodul/src/gui/SearchEditImage_GUI.java create mode 100644 Dozentenmodulserver/bin/server/Server$AsyncClient$getImageData_call.class create mode 100644 Dozentenmodulserver/bin/server/Server$AsyncClient$startFileCopy_call.class create mode 100644 Dozentenmodulserver/bin/server/Server$AsyncClient$updateImageData_call.class delete mode 100644 Dozentenmodulserver/bin/server/Server$AsyncProcessor$DeleteFtpUser$1.class delete mode 100644 Dozentenmodulserver/bin/server/Server$AsyncProcessor$getAllOS$1.class delete mode 100644 Dozentenmodulserver/bin/server/Server$AsyncProcessor$getFtpUser$1.class create mode 100644 Dozentenmodulserver/bin/server/Server$AsyncProcessor$getImageData$1.class create mode 100644 Dozentenmodulserver/bin/server/Server$AsyncProcessor$getImageData.class delete mode 100644 Dozentenmodulserver/bin/server/Server$AsyncProcessor$getImageList$1.class delete mode 100644 Dozentenmodulserver/bin/server/Server$AsyncProcessor$getImages$1.class delete mode 100644 Dozentenmodulserver/bin/server/Server$AsyncProcessor$getPathOfImage$1.class delete mode 100644 Dozentenmodulserver/bin/server/Server$AsyncProcessor$getPersonData$1.class create mode 100644 Dozentenmodulserver/bin/server/Server$AsyncProcessor$startFileCopy$1.class create mode 100644 Dozentenmodulserver/bin/server/Server$AsyncProcessor$startFileCopy.class create mode 100644 Dozentenmodulserver/bin/server/Server$AsyncProcessor$updateImageData$1.class create mode 100644 Dozentenmodulserver/bin/server/Server$AsyncProcessor$updateImageData.class delete mode 100644 Dozentenmodulserver/bin/server/Server$AsyncProcessor$writeLecturedata$1.class delete mode 100644 Dozentenmodulserver/bin/server/Server$AsyncProcessor$writeVLdata$1.class create mode 100644 Dozentenmodulserver/bin/server/Server$Processor$getImageData.class create mode 100644 Dozentenmodulserver/bin/server/Server$Processor$startFileCopy.class create mode 100644 Dozentenmodulserver/bin/server/Server$Processor$updateImageData.class create mode 100644 Dozentenmodulserver/bin/server/Server$getImageData_args$_Fields.class create mode 100644 Dozentenmodulserver/bin/server/Server$getImageData_args$getImageData_argsStandardScheme.class create mode 100644 Dozentenmodulserver/bin/server/Server$getImageData_args$getImageData_argsStandardSchemeFactory.class create mode 100644 Dozentenmodulserver/bin/server/Server$getImageData_args$getImageData_argsTupleScheme.class create mode 100644 Dozentenmodulserver/bin/server/Server$getImageData_args$getImageData_argsTupleSchemeFactory.class create mode 100644 Dozentenmodulserver/bin/server/Server$getImageData_args.class create mode 100644 Dozentenmodulserver/bin/server/Server$getImageData_result$_Fields.class create mode 100644 Dozentenmodulserver/bin/server/Server$getImageData_result$getImageData_resultStandardScheme.class create mode 100644 Dozentenmodulserver/bin/server/Server$getImageData_result$getImageData_resultStandardSchemeFactory.class create mode 100644 Dozentenmodulserver/bin/server/Server$getImageData_result$getImageData_resultTupleScheme.class create mode 100644 Dozentenmodulserver/bin/server/Server$getImageData_result$getImageData_resultTupleSchemeFactory.class create mode 100644 Dozentenmodulserver/bin/server/Server$getImageData_result.class create mode 100644 Dozentenmodulserver/bin/server/Server$startFileCopy_args$_Fields.class create mode 100644 Dozentenmodulserver/bin/server/Server$startFileCopy_args$startFileCopy_argsStandardScheme.class create mode 100644 Dozentenmodulserver/bin/server/Server$startFileCopy_args$startFileCopy_argsStandardSchemeFactory.class create mode 100644 Dozentenmodulserver/bin/server/Server$startFileCopy_args$startFileCopy_argsTupleScheme.class create mode 100644 Dozentenmodulserver/bin/server/Server$startFileCopy_args$startFileCopy_argsTupleSchemeFactory.class create mode 100644 Dozentenmodulserver/bin/server/Server$startFileCopy_args.class create mode 100644 Dozentenmodulserver/bin/server/Server$startFileCopy_result$_Fields.class create mode 100644 Dozentenmodulserver/bin/server/Server$startFileCopy_result$startFileCopy_resultStandardScheme.class create mode 100644 Dozentenmodulserver/bin/server/Server$startFileCopy_result$startFileCopy_resultStandardSchemeFactory.class create mode 100644 Dozentenmodulserver/bin/server/Server$startFileCopy_result$startFileCopy_resultTupleScheme.class create mode 100644 Dozentenmodulserver/bin/server/Server$startFileCopy_result$startFileCopy_resultTupleSchemeFactory.class create mode 100644 Dozentenmodulserver/bin/server/Server$startFileCopy_result.class create mode 100644 Dozentenmodulserver/bin/server/Server$updateImageData_args$_Fields.class create mode 100644 Dozentenmodulserver/bin/server/Server$updateImageData_args$updateImageData_argsStandardScheme.class create mode 100644 Dozentenmodulserver/bin/server/Server$updateImageData_args$updateImageData_argsStandardSchemeFactory.class create mode 100644 Dozentenmodulserver/bin/server/Server$updateImageData_args$updateImageData_argsTupleScheme.class create mode 100644 Dozentenmodulserver/bin/server/Server$updateImageData_args$updateImageData_argsTupleSchemeFactory.class create mode 100644 Dozentenmodulserver/bin/server/Server$updateImageData_args.class create mode 100644 Dozentenmodulserver/bin/server/Server$updateImageData_result$_Fields.class create mode 100644 Dozentenmodulserver/bin/server/Server$updateImageData_result$updateImageData_resultStandardScheme.class create mode 100644 Dozentenmodulserver/bin/server/Server$updateImageData_result$updateImageData_resultStandardSchemeFactory.class create mode 100644 Dozentenmodulserver/bin/server/Server$updateImageData_result$updateImageData_resultTupleScheme.class create mode 100644 Dozentenmodulserver/bin/server/Server$updateImageData_result$updateImageData_resultTupleSchemeFactory.class create mode 100644 Dozentenmodulserver/bin/server/Server$updateImageData_result.class create mode 100644 Dozentenmodulserver/lib/commons-io-2.4.jar diff --git a/Dozentenmodul/.classpath b/Dozentenmodul/.classpath index 83245409..bf04df77 100644 --- a/Dozentenmodul/.classpath +++ b/Dozentenmodul/.classpath @@ -14,7 +14,6 @@ - diff --git a/Dozentenmodul/bin/GUI/EditImageAllgemein_GUI$1.class b/Dozentenmodul/bin/GUI/EditImageAllgemein_GUI$1.class index 5e6450cd..8aac918a 100644 Binary files a/Dozentenmodul/bin/GUI/EditImageAllgemein_GUI$1.class and b/Dozentenmodul/bin/GUI/EditImageAllgemein_GUI$1.class differ diff --git a/Dozentenmodul/bin/GUI/EditImageAllgemein_GUI$2.class b/Dozentenmodul/bin/GUI/EditImageAllgemein_GUI$2.class index ced30a41..fe3aa20e 100644 Binary files a/Dozentenmodul/bin/GUI/EditImageAllgemein_GUI$2.class and b/Dozentenmodul/bin/GUI/EditImageAllgemein_GUI$2.class differ diff --git a/Dozentenmodul/bin/GUI/EditImageAllgemein_GUI$3.class b/Dozentenmodul/bin/GUI/EditImageAllgemein_GUI$3.class index 48a6daee..04b61bfc 100644 Binary files a/Dozentenmodul/bin/GUI/EditImageAllgemein_GUI$3.class and b/Dozentenmodul/bin/GUI/EditImageAllgemein_GUI$3.class differ diff --git a/Dozentenmodul/bin/GUI/EditImageAllgemein_GUI$4.class b/Dozentenmodul/bin/GUI/EditImageAllgemein_GUI$4.class index 9dbe31c6..79d48c01 100644 Binary files a/Dozentenmodul/bin/GUI/EditImageAllgemein_GUI$4.class and b/Dozentenmodul/bin/GUI/EditImageAllgemein_GUI$4.class differ diff --git a/Dozentenmodul/bin/GUI/EditImageAllgemein_GUI.class b/Dozentenmodul/bin/GUI/EditImageAllgemein_GUI.class index 6b3d9bc7..b848f2b1 100644 Binary files a/Dozentenmodul/bin/GUI/EditImageAllgemein_GUI.class and b/Dozentenmodul/bin/GUI/EditImageAllgemein_GUI.class differ diff --git a/Dozentenmodul/bin/GUI/EditImageTechnisch_GUI$1.class b/Dozentenmodul/bin/GUI/EditImageTechnisch_GUI$1.class index 4d078f87..b17e4eea 100644 Binary files a/Dozentenmodul/bin/GUI/EditImageTechnisch_GUI$1.class and b/Dozentenmodul/bin/GUI/EditImageTechnisch_GUI$1.class differ diff --git a/Dozentenmodul/bin/GUI/EditImageTechnisch_GUI$2.class b/Dozentenmodul/bin/GUI/EditImageTechnisch_GUI$2.class index 19f99a6e..ce51d208 100644 Binary files a/Dozentenmodul/bin/GUI/EditImageTechnisch_GUI$2.class and b/Dozentenmodul/bin/GUI/EditImageTechnisch_GUI$2.class differ diff --git a/Dozentenmodul/bin/GUI/EditImageTechnisch_GUI$3.class b/Dozentenmodul/bin/GUI/EditImageTechnisch_GUI$3.class index f113d1d7..4439a63d 100644 Binary files a/Dozentenmodul/bin/GUI/EditImageTechnisch_GUI$3.class and b/Dozentenmodul/bin/GUI/EditImageTechnisch_GUI$3.class differ diff --git a/Dozentenmodul/bin/GUI/EditImageTechnisch_GUI$4.class b/Dozentenmodul/bin/GUI/EditImageTechnisch_GUI$4.class index d0382e9c..ed1c7c14 100644 Binary files a/Dozentenmodul/bin/GUI/EditImageTechnisch_GUI$4.class and b/Dozentenmodul/bin/GUI/EditImageTechnisch_GUI$4.class differ diff --git a/Dozentenmodul/bin/GUI/EditImageTechnisch_GUI.class b/Dozentenmodul/bin/GUI/EditImageTechnisch_GUI.class index 73430373..9d2ce374 100644 Binary files a/Dozentenmodul/bin/GUI/EditImageTechnisch_GUI.class and b/Dozentenmodul/bin/GUI/EditImageTechnisch_GUI.class differ diff --git a/Dozentenmodul/bin/GUI/EingabeImageAllgemein_GUI$1.class b/Dozentenmodul/bin/GUI/EingabeImageAllgemein_GUI$1.class index 0e9c4d8b..929a1184 100644 Binary files a/Dozentenmodul/bin/GUI/EingabeImageAllgemein_GUI$1.class and b/Dozentenmodul/bin/GUI/EingabeImageAllgemein_GUI$1.class differ diff --git a/Dozentenmodul/bin/GUI/EingabeImageAllgemein_GUI$2.class b/Dozentenmodul/bin/GUI/EingabeImageAllgemein_GUI$2.class index 4955ab2d..b87e4c2a 100644 Binary files a/Dozentenmodul/bin/GUI/EingabeImageAllgemein_GUI$2.class and b/Dozentenmodul/bin/GUI/EingabeImageAllgemein_GUI$2.class differ diff --git a/Dozentenmodul/bin/GUI/EingabeImageAllgemein_GUI$3.class b/Dozentenmodul/bin/GUI/EingabeImageAllgemein_GUI$3.class index bdd6d8c3..210e494d 100644 Binary files a/Dozentenmodul/bin/GUI/EingabeImageAllgemein_GUI$3.class and b/Dozentenmodul/bin/GUI/EingabeImageAllgemein_GUI$3.class differ diff --git a/Dozentenmodul/bin/GUI/EingabeImageAllgemein_GUI$4.class b/Dozentenmodul/bin/GUI/EingabeImageAllgemein_GUI$4.class index 507eaf5d..69b2a2a7 100644 Binary files a/Dozentenmodul/bin/GUI/EingabeImageAllgemein_GUI$4.class and b/Dozentenmodul/bin/GUI/EingabeImageAllgemein_GUI$4.class differ diff --git a/Dozentenmodul/bin/GUI/EingabeImageAllgemein_GUI.class b/Dozentenmodul/bin/GUI/EingabeImageAllgemein_GUI.class index 050bb3f3..3aa6d518 100644 Binary files a/Dozentenmodul/bin/GUI/EingabeImageAllgemein_GUI.class and b/Dozentenmodul/bin/GUI/EingabeImageAllgemein_GUI.class differ diff --git a/Dozentenmodul/bin/GUI/FTPUploader_GUI$5.class b/Dozentenmodul/bin/GUI/FTPUploader_GUI$5.class index 83efe314..556db5fc 100644 Binary files a/Dozentenmodul/bin/GUI/FTPUploader_GUI$5.class and b/Dozentenmodul/bin/GUI/FTPUploader_GUI$5.class differ diff --git a/Dozentenmodul/bin/GUI/FTPUploader_GUI.class b/Dozentenmodul/bin/GUI/FTPUploader_GUI.class index 25b2a092..64da3d54 100644 Binary files a/Dozentenmodul/bin/GUI/FTPUploader_GUI.class and b/Dozentenmodul/bin/GUI/FTPUploader_GUI.class differ diff --git a/Dozentenmodul/bin/GUI/Login_GUI$1.class b/Dozentenmodul/bin/GUI/Login_GUI$1.class index 95ef4bc2..3ba048a4 100644 Binary files a/Dozentenmodul/bin/GUI/Login_GUI$1.class and b/Dozentenmodul/bin/GUI/Login_GUI$1.class differ diff --git a/Dozentenmodul/bin/GUI/Login_GUI$2.class b/Dozentenmodul/bin/GUI/Login_GUI$2.class index a6218f8a..4c73519c 100644 Binary files a/Dozentenmodul/bin/GUI/Login_GUI$2.class and b/Dozentenmodul/bin/GUI/Login_GUI$2.class differ diff --git a/Dozentenmodul/bin/GUI/Login_GUI$3.class b/Dozentenmodul/bin/GUI/Login_GUI$3.class index faac433d..9d555d1d 100644 Binary files a/Dozentenmodul/bin/GUI/Login_GUI$3.class and b/Dozentenmodul/bin/GUI/Login_GUI$3.class differ diff --git a/Dozentenmodul/bin/GUI/Login_GUI.class b/Dozentenmodul/bin/GUI/Login_GUI.class index b1461bc3..621e1e3f 100644 Binary files a/Dozentenmodul/bin/GUI/Login_GUI.class and b/Dozentenmodul/bin/GUI/Login_GUI.class differ diff --git a/Dozentenmodul/bin/GUI/MainMenue_GUI$4.class b/Dozentenmodul/bin/GUI/MainMenue_GUI$4.class index 27d59c34..b6a1e26e 100644 Binary files a/Dozentenmodul/bin/GUI/MainMenue_GUI$4.class and b/Dozentenmodul/bin/GUI/MainMenue_GUI$4.class differ diff --git a/Dozentenmodul/bin/GUI/MainMenue_GUI.class b/Dozentenmodul/bin/GUI/MainMenue_GUI.class index 72a928ed..6faa718f 100644 Binary files a/Dozentenmodul/bin/GUI/MainMenue_GUI.class and b/Dozentenmodul/bin/GUI/MainMenue_GUI.class differ diff --git a/Dozentenmodul/bin/GUI/SearchImage_GUI$1.class b/Dozentenmodul/bin/GUI/SearchImage_GUI$1.class index c23e49f9..be572a32 100644 Binary files a/Dozentenmodul/bin/GUI/SearchImage_GUI$1.class and b/Dozentenmodul/bin/GUI/SearchImage_GUI$1.class differ diff --git a/Dozentenmodul/bin/GUI/SearchImage_GUI.class b/Dozentenmodul/bin/GUI/SearchImage_GUI.class index a8dbcfe7..c676d0a8 100644 Binary files a/Dozentenmodul/bin/GUI/SearchImage_GUI.class and b/Dozentenmodul/bin/GUI/SearchImage_GUI.class differ diff --git a/Dozentenmodul/bin/GUI/VmWareLink_GUI$1.class b/Dozentenmodul/bin/GUI/VmWareLink_GUI$1.class index efb86a09..65a75adf 100644 Binary files a/Dozentenmodul/bin/GUI/VmWareLink_GUI$1.class and b/Dozentenmodul/bin/GUI/VmWareLink_GUI$1.class differ diff --git a/Dozentenmodul/bin/GUI/VmWareLink_GUI$2.class b/Dozentenmodul/bin/GUI/VmWareLink_GUI$2.class index 1d99d01e..1c73d190 100644 Binary files a/Dozentenmodul/bin/GUI/VmWareLink_GUI$2.class and b/Dozentenmodul/bin/GUI/VmWareLink_GUI$2.class differ diff --git a/Dozentenmodul/bin/GUI/VmWareLink_GUI$3.class b/Dozentenmodul/bin/GUI/VmWareLink_GUI$3.class index b3c0ab3a..ba568bd7 100644 Binary files a/Dozentenmodul/bin/GUI/VmWareLink_GUI$3.class and b/Dozentenmodul/bin/GUI/VmWareLink_GUI$3.class differ diff --git a/Dozentenmodul/bin/GUI/VmWareLink_GUI.class b/Dozentenmodul/bin/GUI/VmWareLink_GUI.class index 907d6eb8..4431fe00 100644 Binary files a/Dozentenmodul/bin/GUI/VmWareLink_GUI.class and b/Dozentenmodul/bin/GUI/VmWareLink_GUI.class differ diff --git a/Dozentenmodul/bin/auth/Authentification.class b/Dozentenmodul/bin/auth/Authentification.class new file mode 100644 index 00000000..e7a2611d Binary files /dev/null and b/Dozentenmodul/bin/auth/Authentification.class differ diff --git a/Dozentenmodul/bin/auth/Ldap.class b/Dozentenmodul/bin/auth/Ldap.class deleted file mode 100644 index 1fdf2400..00000000 Binary files a/Dozentenmodul/bin/auth/Ldap.class and /dev/null differ diff --git a/Dozentenmodul/bin/config/config_file.class b/Dozentenmodul/bin/config/config_file.class index e0afbded..9e074954 100644 Binary files a/Dozentenmodul/bin/config/config_file.class and b/Dozentenmodul/bin/config/config_file.class differ diff --git a/Dozentenmodul/bin/gui/EditImageAllgemein_GUI$1.class b/Dozentenmodul/bin/gui/EditImageAllgemein_GUI$1.class new file mode 100644 index 00000000..8aac918a Binary files /dev/null and b/Dozentenmodul/bin/gui/EditImageAllgemein_GUI$1.class differ diff --git a/Dozentenmodul/bin/gui/EditImageAllgemein_GUI$2.class b/Dozentenmodul/bin/gui/EditImageAllgemein_GUI$2.class new file mode 100644 index 00000000..fe3aa20e Binary files /dev/null and b/Dozentenmodul/bin/gui/EditImageAllgemein_GUI$2.class differ diff --git a/Dozentenmodul/bin/gui/EditImageAllgemein_GUI$3.class b/Dozentenmodul/bin/gui/EditImageAllgemein_GUI$3.class new file mode 100644 index 00000000..04b61bfc Binary files /dev/null and b/Dozentenmodul/bin/gui/EditImageAllgemein_GUI$3.class differ diff --git a/Dozentenmodul/bin/gui/EditImageAllgemein_GUI$4.class b/Dozentenmodul/bin/gui/EditImageAllgemein_GUI$4.class new file mode 100644 index 00000000..79d48c01 Binary files /dev/null and b/Dozentenmodul/bin/gui/EditImageAllgemein_GUI$4.class differ diff --git a/Dozentenmodul/bin/gui/EditImageAllgemein_GUI.class b/Dozentenmodul/bin/gui/EditImageAllgemein_GUI.class index 6b3d9bc7..b848f2b1 100644 Binary files a/Dozentenmodul/bin/gui/EditImageAllgemein_GUI.class and b/Dozentenmodul/bin/gui/EditImageAllgemein_GUI.class differ diff --git a/Dozentenmodul/bin/gui/EditImageTechnisch_GUI$1.class b/Dozentenmodul/bin/gui/EditImageTechnisch_GUI$1.class index 4d078f87..b17e4eea 100644 Binary files a/Dozentenmodul/bin/gui/EditImageTechnisch_GUI$1.class and b/Dozentenmodul/bin/gui/EditImageTechnisch_GUI$1.class differ diff --git a/Dozentenmodul/bin/gui/EditImageTechnisch_GUI$2.class b/Dozentenmodul/bin/gui/EditImageTechnisch_GUI$2.class index 19f99a6e..ce51d208 100644 Binary files a/Dozentenmodul/bin/gui/EditImageTechnisch_GUI$2.class and b/Dozentenmodul/bin/gui/EditImageTechnisch_GUI$2.class differ diff --git a/Dozentenmodul/bin/gui/EditImageTechnisch_GUI$3.class b/Dozentenmodul/bin/gui/EditImageTechnisch_GUI$3.class index f113d1d7..4439a63d 100644 Binary files a/Dozentenmodul/bin/gui/EditImageTechnisch_GUI$3.class and b/Dozentenmodul/bin/gui/EditImageTechnisch_GUI$3.class differ diff --git a/Dozentenmodul/bin/gui/EditImageTechnisch_GUI$4.class b/Dozentenmodul/bin/gui/EditImageTechnisch_GUI$4.class index d0382e9c..ed1c7c14 100644 Binary files a/Dozentenmodul/bin/gui/EditImageTechnisch_GUI$4.class and b/Dozentenmodul/bin/gui/EditImageTechnisch_GUI$4.class differ diff --git a/Dozentenmodul/bin/gui/EditImageTechnisch_GUI.class b/Dozentenmodul/bin/gui/EditImageTechnisch_GUI.class index 73430373..9d2ce374 100644 Binary files a/Dozentenmodul/bin/gui/EditImageTechnisch_GUI.class and b/Dozentenmodul/bin/gui/EditImageTechnisch_GUI.class differ diff --git a/Dozentenmodul/bin/gui/EingabeImageAllgemein_GUI$1.class b/Dozentenmodul/bin/gui/EingabeImageAllgemein_GUI$1.class index 0e9c4d8b..929a1184 100644 Binary files a/Dozentenmodul/bin/gui/EingabeImageAllgemein_GUI$1.class and b/Dozentenmodul/bin/gui/EingabeImageAllgemein_GUI$1.class differ diff --git a/Dozentenmodul/bin/gui/EingabeImageAllgemein_GUI$2.class b/Dozentenmodul/bin/gui/EingabeImageAllgemein_GUI$2.class index 4955ab2d..b87e4c2a 100644 Binary files a/Dozentenmodul/bin/gui/EingabeImageAllgemein_GUI$2.class and b/Dozentenmodul/bin/gui/EingabeImageAllgemein_GUI$2.class differ diff --git a/Dozentenmodul/bin/gui/EingabeImageAllgemein_GUI$3.class b/Dozentenmodul/bin/gui/EingabeImageAllgemein_GUI$3.class index bdd6d8c3..210e494d 100644 Binary files a/Dozentenmodul/bin/gui/EingabeImageAllgemein_GUI$3.class and b/Dozentenmodul/bin/gui/EingabeImageAllgemein_GUI$3.class differ diff --git a/Dozentenmodul/bin/gui/EingabeImageAllgemein_GUI$4.class b/Dozentenmodul/bin/gui/EingabeImageAllgemein_GUI$4.class index 507eaf5d..69b2a2a7 100644 Binary files a/Dozentenmodul/bin/gui/EingabeImageAllgemein_GUI$4.class and b/Dozentenmodul/bin/gui/EingabeImageAllgemein_GUI$4.class differ diff --git a/Dozentenmodul/bin/gui/EingabeImageAllgemein_GUI.class b/Dozentenmodul/bin/gui/EingabeImageAllgemein_GUI.class index 050bb3f3..3aa6d518 100644 Binary files a/Dozentenmodul/bin/gui/EingabeImageAllgemein_GUI.class and b/Dozentenmodul/bin/gui/EingabeImageAllgemein_GUI.class differ diff --git a/Dozentenmodul/bin/gui/FTPEditUploader_GUI$1.class b/Dozentenmodul/bin/gui/FTPEditUploader_GUI$1.class new file mode 100644 index 00000000..4312cd42 Binary files /dev/null and b/Dozentenmodul/bin/gui/FTPEditUploader_GUI$1.class differ diff --git a/Dozentenmodul/bin/gui/FTPEditUploader_GUI$2.class b/Dozentenmodul/bin/gui/FTPEditUploader_GUI$2.class new file mode 100644 index 00000000..6834e2ba Binary files /dev/null and b/Dozentenmodul/bin/gui/FTPEditUploader_GUI$2.class differ diff --git a/Dozentenmodul/bin/gui/FTPEditUploader_GUI$3.class b/Dozentenmodul/bin/gui/FTPEditUploader_GUI$3.class new file mode 100644 index 00000000..1614a880 Binary files /dev/null and b/Dozentenmodul/bin/gui/FTPEditUploader_GUI$3.class differ diff --git a/Dozentenmodul/bin/gui/FTPEditUploader_GUI$4.class b/Dozentenmodul/bin/gui/FTPEditUploader_GUI$4.class new file mode 100644 index 00000000..dbece136 Binary files /dev/null and b/Dozentenmodul/bin/gui/FTPEditUploader_GUI$4.class differ diff --git a/Dozentenmodul/bin/gui/FTPEditUploader_GUI$5.class b/Dozentenmodul/bin/gui/FTPEditUploader_GUI$5.class new file mode 100644 index 00000000..4beacc01 Binary files /dev/null and b/Dozentenmodul/bin/gui/FTPEditUploader_GUI$5.class differ diff --git a/Dozentenmodul/bin/gui/FTPEditUploader_GUI$6.class b/Dozentenmodul/bin/gui/FTPEditUploader_GUI$6.class new file mode 100644 index 00000000..875eb9e8 Binary files /dev/null and b/Dozentenmodul/bin/gui/FTPEditUploader_GUI$6.class differ diff --git a/Dozentenmodul/bin/gui/FTPEditUploader_GUI.class b/Dozentenmodul/bin/gui/FTPEditUploader_GUI.class new file mode 100644 index 00000000..ffe9b318 Binary files /dev/null and b/Dozentenmodul/bin/gui/FTPEditUploader_GUI.class differ diff --git a/Dozentenmodul/bin/gui/FTPUploader_GUI$5.class b/Dozentenmodul/bin/gui/FTPUploader_GUI$5.class index 83efe314..556db5fc 100644 Binary files a/Dozentenmodul/bin/gui/FTPUploader_GUI$5.class and b/Dozentenmodul/bin/gui/FTPUploader_GUI$5.class differ diff --git a/Dozentenmodul/bin/gui/FTPUploader_GUI$6.class b/Dozentenmodul/bin/gui/FTPUploader_GUI$6.class new file mode 100644 index 00000000..d6b733e8 Binary files /dev/null and b/Dozentenmodul/bin/gui/FTPUploader_GUI$6.class differ diff --git a/Dozentenmodul/bin/gui/FTPUploader_GUI.class b/Dozentenmodul/bin/gui/FTPUploader_GUI.class index 25b2a092..64da3d54 100644 Binary files a/Dozentenmodul/bin/gui/FTPUploader_GUI.class and b/Dozentenmodul/bin/gui/FTPUploader_GUI.class differ diff --git a/Dozentenmodul/bin/gui/Login_GUI$1.class b/Dozentenmodul/bin/gui/Login_GUI$1.class index 95ef4bc2..3ba048a4 100644 Binary files a/Dozentenmodul/bin/gui/Login_GUI$1.class and b/Dozentenmodul/bin/gui/Login_GUI$1.class differ diff --git a/Dozentenmodul/bin/gui/Login_GUI$2.class b/Dozentenmodul/bin/gui/Login_GUI$2.class index a6218f8a..4c73519c 100644 Binary files a/Dozentenmodul/bin/gui/Login_GUI$2.class and b/Dozentenmodul/bin/gui/Login_GUI$2.class differ diff --git a/Dozentenmodul/bin/gui/Login_GUI$3.class b/Dozentenmodul/bin/gui/Login_GUI$3.class index faac433d..9d555d1d 100644 Binary files a/Dozentenmodul/bin/gui/Login_GUI$3.class and b/Dozentenmodul/bin/gui/Login_GUI$3.class differ diff --git a/Dozentenmodul/bin/gui/Login_GUI.class b/Dozentenmodul/bin/gui/Login_GUI.class index b1461bc3..621e1e3f 100644 Binary files a/Dozentenmodul/bin/gui/Login_GUI.class and b/Dozentenmodul/bin/gui/Login_GUI.class differ diff --git a/Dozentenmodul/bin/gui/MainMenue_GUI$4.class b/Dozentenmodul/bin/gui/MainMenue_GUI$4.class index 27d59c34..b6a1e26e 100644 Binary files a/Dozentenmodul/bin/gui/MainMenue_GUI$4.class and b/Dozentenmodul/bin/gui/MainMenue_GUI$4.class differ diff --git a/Dozentenmodul/bin/gui/MainMenue_GUI.class b/Dozentenmodul/bin/gui/MainMenue_GUI.class index 72a928ed..6faa718f 100644 Binary files a/Dozentenmodul/bin/gui/MainMenue_GUI.class and b/Dozentenmodul/bin/gui/MainMenue_GUI.class differ diff --git a/Dozentenmodul/bin/gui/SearchEditImage_GUI$1.class b/Dozentenmodul/bin/gui/SearchEditImage_GUI$1.class new file mode 100644 index 00000000..fd15e92d Binary files /dev/null and b/Dozentenmodul/bin/gui/SearchEditImage_GUI$1.class differ diff --git a/Dozentenmodul/bin/gui/SearchEditImage_GUI$2.class b/Dozentenmodul/bin/gui/SearchEditImage_GUI$2.class new file mode 100644 index 00000000..88ddae37 Binary files /dev/null and b/Dozentenmodul/bin/gui/SearchEditImage_GUI$2.class differ diff --git a/Dozentenmodul/bin/gui/SearchEditImage_GUI$3.class b/Dozentenmodul/bin/gui/SearchEditImage_GUI$3.class new file mode 100644 index 00000000..497574cd Binary files /dev/null and b/Dozentenmodul/bin/gui/SearchEditImage_GUI$3.class differ diff --git a/Dozentenmodul/bin/gui/SearchEditImage_GUI$4.class b/Dozentenmodul/bin/gui/SearchEditImage_GUI$4.class new file mode 100644 index 00000000..440eeb02 Binary files /dev/null and b/Dozentenmodul/bin/gui/SearchEditImage_GUI$4.class differ diff --git a/Dozentenmodul/bin/gui/SearchEditImage_GUI$5.class b/Dozentenmodul/bin/gui/SearchEditImage_GUI$5.class new file mode 100644 index 00000000..1d88aaf2 Binary files /dev/null and b/Dozentenmodul/bin/gui/SearchEditImage_GUI$5.class differ diff --git a/Dozentenmodul/bin/gui/SearchEditImage_GUI$6.class b/Dozentenmodul/bin/gui/SearchEditImage_GUI$6.class new file mode 100644 index 00000000..ae739673 Binary files /dev/null and b/Dozentenmodul/bin/gui/SearchEditImage_GUI$6.class differ diff --git a/Dozentenmodul/bin/gui/SearchEditImage_GUI$7.class b/Dozentenmodul/bin/gui/SearchEditImage_GUI$7.class new file mode 100644 index 00000000..030ef361 Binary files /dev/null and b/Dozentenmodul/bin/gui/SearchEditImage_GUI$7.class differ diff --git a/Dozentenmodul/bin/gui/SearchEditImage_GUI$8.class b/Dozentenmodul/bin/gui/SearchEditImage_GUI$8.class new file mode 100644 index 00000000..9c94ae89 Binary files /dev/null and b/Dozentenmodul/bin/gui/SearchEditImage_GUI$8.class differ diff --git a/Dozentenmodul/bin/gui/SearchEditImage_GUI$9.class b/Dozentenmodul/bin/gui/SearchEditImage_GUI$9.class new file mode 100644 index 00000000..eaa57353 Binary files /dev/null and b/Dozentenmodul/bin/gui/SearchEditImage_GUI$9.class differ diff --git a/Dozentenmodul/bin/gui/SearchEditImage_GUI.class b/Dozentenmodul/bin/gui/SearchEditImage_GUI.class new file mode 100644 index 00000000..616e48d6 Binary files /dev/null and b/Dozentenmodul/bin/gui/SearchEditImage_GUI.class differ diff --git a/Dozentenmodul/bin/gui/SearchImage_GUI$1.class b/Dozentenmodul/bin/gui/SearchImage_GUI$1.class new file mode 100644 index 00000000..be572a32 Binary files /dev/null and b/Dozentenmodul/bin/gui/SearchImage_GUI$1.class differ diff --git a/Dozentenmodul/bin/gui/SearchImage_GUI$2.class b/Dozentenmodul/bin/gui/SearchImage_GUI$2.class new file mode 100644 index 00000000..3a6ee9ab Binary files /dev/null and b/Dozentenmodul/bin/gui/SearchImage_GUI$2.class differ diff --git a/Dozentenmodul/bin/gui/SearchImage_GUI$3.class b/Dozentenmodul/bin/gui/SearchImage_GUI$3.class new file mode 100644 index 00000000..721116df Binary files /dev/null and b/Dozentenmodul/bin/gui/SearchImage_GUI$3.class differ diff --git a/Dozentenmodul/bin/gui/SearchImage_GUI$4.class b/Dozentenmodul/bin/gui/SearchImage_GUI$4.class new file mode 100644 index 00000000..33a3f111 Binary files /dev/null and b/Dozentenmodul/bin/gui/SearchImage_GUI$4.class differ diff --git a/Dozentenmodul/bin/gui/SearchImage_GUI$5.class b/Dozentenmodul/bin/gui/SearchImage_GUI$5.class new file mode 100644 index 00000000..6673eef5 Binary files /dev/null and b/Dozentenmodul/bin/gui/SearchImage_GUI$5.class differ diff --git a/Dozentenmodul/bin/gui/SearchImage_GUI$6.class b/Dozentenmodul/bin/gui/SearchImage_GUI$6.class new file mode 100644 index 00000000..1863e40f Binary files /dev/null and b/Dozentenmodul/bin/gui/SearchImage_GUI$6.class differ diff --git a/Dozentenmodul/bin/gui/SearchImage_GUI$7.class b/Dozentenmodul/bin/gui/SearchImage_GUI$7.class new file mode 100644 index 00000000..ef51173a Binary files /dev/null and b/Dozentenmodul/bin/gui/SearchImage_GUI$7.class differ diff --git a/Dozentenmodul/bin/gui/SearchImage_GUI$8.class b/Dozentenmodul/bin/gui/SearchImage_GUI$8.class new file mode 100644 index 00000000..5e5bfeb5 Binary files /dev/null and b/Dozentenmodul/bin/gui/SearchImage_GUI$8.class differ diff --git a/Dozentenmodul/bin/gui/SearchImage_GUI$9.class b/Dozentenmodul/bin/gui/SearchImage_GUI$9.class index e7f32dce..e231bdf7 100644 Binary files a/Dozentenmodul/bin/gui/SearchImage_GUI$9.class and b/Dozentenmodul/bin/gui/SearchImage_GUI$9.class differ diff --git a/Dozentenmodul/bin/gui/SearchImage_GUI.class b/Dozentenmodul/bin/gui/SearchImage_GUI.class index a8dbcfe7..c676d0a8 100644 Binary files a/Dozentenmodul/bin/gui/SearchImage_GUI.class and b/Dozentenmodul/bin/gui/SearchImage_GUI.class differ diff --git a/Dozentenmodul/bin/models/Image.class b/Dozentenmodul/bin/models/Image.class index dfcc1d27..fcd1a276 100644 Binary files a/Dozentenmodul/bin/models/Image.class and b/Dozentenmodul/bin/models/Image.class differ diff --git a/Dozentenmodul/bin/thrift/ThriftConnection.class b/Dozentenmodul/bin/thrift/ThriftConnection.class index 6d255bd4..25f7f5fe 100644 Binary files a/Dozentenmodul/bin/thrift/ThriftConnection.class and b/Dozentenmodul/bin/thrift/ThriftConnection.class differ diff --git a/Dozentenmodul/src/GUI/EditImageAllgemein_GUI.java b/Dozentenmodul/src/GUI/EditImageAllgemein_GUI.java index 160a7fb4..58cab4ec 100644 --- a/Dozentenmodul/src/GUI/EditImageAllgemein_GUI.java +++ b/Dozentenmodul/src/GUI/EditImageAllgemein_GUI.java @@ -20,7 +20,6 @@ import javax.swing.JLabel; import javax.swing.JMenu; import javax.swing.JMenuBar; import javax.swing.JMenuItem; -import javax.swing.JOptionPane; import javax.swing.JPanel; import javax.swing.JSeparator; import javax.swing.JTextArea; @@ -31,11 +30,12 @@ import javax.swing.UnsupportedLookAndFeelException; import javax.swing.border.EmptyBorder; import javax.swing.border.TitledBorder; -import server.Server.Client; -import thrift.ThriftConnection; +import org.apache.thrift.TException; import models.Image; import models.person; +import server.Server.Client; +import thrift.ThriftConnection; @SuppressWarnings("serial") public class EditImageAllgemein_GUI extends JFrame { @@ -46,11 +46,9 @@ public class EditImageAllgemein_GUI extends JFrame { private JTextField Nachname; private JTextField Hochschule; private JTextField EMail; - private JTextField Tel; - private JTextField Fak; private JTextField imagename; - ThriftConnection thrift=new ThriftConnection(); - Client client=thrift.getThriftConnection(); + ThriftConnection con=new ThriftConnection(); + Client client=con.getThriftConnection(); /** * Create the dialog. @@ -75,13 +73,13 @@ public class EditImageAllgemein_GUI extends JFrame { } //Setzt den Fenstertitel setTitle("bwLehrpool Suite *Prototyp*"); - + //Zentriert das Fenster in der Bildmitte Dimension screenSize = Toolkit.getDefaultToolkit().getScreenSize(); int top=(screenSize.height - 722) / 2; int left=(screenSize.width - 603) / 2; setBounds(left, top, 603, 722); - + initData(); getContentPane().setLayout(null); { JPanel panel = new JPanel(); @@ -118,76 +116,60 @@ public class EditImageAllgemein_GUI extends JFrame { JLabel label = new JLabel("Vorname: *"); label.setBackground(SystemColor.menu); - label.setBounds(10, 183, 125, 20); + label.setBounds(10, 245, 125, 20); panel_1.add(label); Vorname = new JTextField(); + Vorname.setEditable(false); + Vorname.setEnabled(false); Vorname.setBackground(Color.WHITE); Vorname.setText(person.verantowrtlicher.getVorname()); Vorname.setColumns(10); - Vorname.setBounds(145, 183, 350, 20); + Vorname.setBounds(145, 245, 350, 20); panel_1.add(Vorname); JLabel label_7 = new JLabel("Nachname: *"); label_7.setBackground(SystemColor.menu); - label_7.setBounds(10, 214, 125, 20); + label_7.setBounds(10, 276, 125, 20); panel_1.add(label_7); Nachname = new JTextField(); + Nachname.setEnabled(false); + Nachname.setEditable(false); Nachname.setBackground(Color.WHITE); Nachname.setText(person.verantowrtlicher.getName()); Nachname.setColumns(10); - Nachname.setBounds(145, 214, 350, 20); + Nachname.setBounds(145, 276, 350, 20); panel_1.add(Nachname); JLabel label_8 = new JLabel("Hochschule: *"); label_8.setBackground(SystemColor.menu); - label_8.setBounds(10, 245, 125, 20); + label_8.setBounds(10, 307, 125, 20); panel_1.add(label_8); Hochschule = new JTextField(); + Hochschule.setEnabled(false); + Hochschule.setEditable(false); Hochschule.setBackground(Color.WHITE); Hochschule.setText(person.verantowrtlicher.getHochschule()); Hochschule.setColumns(10); - Hochschule.setBounds(145, 245, 350, 20); + Hochschule.setBounds(145, 307, 350, 20); panel_1.add(Hochschule); JLabel label_9 = new JLabel("E-Mail: *"); label_9.setBackground(SystemColor.menu); - label_9.setBounds(10, 276, 125, 20); + label_9.setBounds(10, 338, 125, 20); panel_1.add(label_9); EMail = new JTextField(); + EMail.setEnabled(false); + EMail.setEditable(false); EMail.setBackground(Color.WHITE); EMail.setText(person.verantowrtlicher.getEMail()); EMail.setColumns(10); - EMail.setBounds(145, 276, 350, 20); + EMail.setBounds(145, 338, 350, 20); panel_1.add(EMail); - JLabel label_10 = new JLabel("Tel.-Nummer:"); - label_10.setBackground(SystemColor.menu); - label_10.setBounds(10, 307, 125, 20); - panel_1.add(label_10); - - Tel = new JTextField(); - Tel.setBackground(Color.WHITE); - Tel.setText(person.verantowrtlicher.getTel()); - Tel.setColumns(10); - Tel.setBounds(145, 307, 350, 20); - panel_1.add(Tel); - - JLabel lblFakulttinstitution = new JLabel("Fakult\u00E4t/Institution:"); - lblFakulttinstitution.setBackground(SystemColor.menu); - lblFakulttinstitution.setBounds(10, 338, 125, 20); - panel_1.add(lblFakulttinstitution); - - Fak = new JTextField(); - Fak.setBackground(Color.WHITE); - Fak.setText(person.verantowrtlicher.getFakultät()); - Fak.setColumns(10); - Fak.setBounds(145, 338, 350, 20); - panel_1.add(Fak); - JLabel lblImagename = new JLabel("Imagename: *"); lblImagename.setBackground(SystemColor.menu); lblImagename.setBounds(10, 31, 125, 20); @@ -261,13 +243,7 @@ public class EditImageAllgemein_GUI extends JFrame { public void actionPerformed(ActionEvent e) { //Setzen der Eingabe im Model, dadurch bleiben die Daten bei einem erneuten Aufruf verfügbar - person.verantowrtlicher.setVorname(Vorname.getText()); - person.verantowrtlicher.setName(Nachname.getText()); - person.verantowrtlicher.setEMail(EMail.getText()); - person.verantowrtlicher.setFakultät(Fak.getText()); - person.verantowrtlicher.setHochschule(Hochschule.getText()); - person.verantowrtlicher.setTel(Tel.getText()); - Image.image.setImagename(imagename.getText()); + //Image.image.setImagename(imagename.getText()); MainMenue_GUI sr=new MainMenue_GUI(); sr.setVisible(true); @@ -283,25 +259,14 @@ public class EditImageAllgemein_GUI extends JFrame { cancelButton.addActionListener(new ActionListener() { public void actionPerformed(ActionEvent e) { //Prüfung ob alle notwendigen Felder ausgefüllt sind - if(Vorname.getText().isEmpty()==false && Nachname.getText().isEmpty()==false && Hochschule.getText().isEmpty()==false&&EMail.getText().isEmpty()==false) - { //Setzen der Eingabe im Model, dadurch bleiben die Daten bei einem erneuten Aufruf verfügbar - person.verantowrtlicher.setVorname(Vorname.getText()); - person.verantowrtlicher.setName(Nachname.getText()); - person.verantowrtlicher.setEMail(EMail.getText()); - person.verantowrtlicher.setFakultät(Fak.getText()); - person.verantowrtlicher.setHochschule(Hochschule.getText()); - person.verantowrtlicher.setTel(Tel.getText()); - Image.image.setImagename(imagename.getText()); + System.out.println(imagename.getText()); + Image.image.setNewName(imagename.getText()); + con.closeThriftConnection(); EditImageTechnisch_GUI ea=new EditImageTechnisch_GUI(); ea.setVisible(true); dispose(); - } - else{ - //Erzeugen einer Fehlermeldung wenn nicht alle notwendigen Felder ausgefüllt sind - JOptionPane.showMessageDialog(null, "Bitte geben Sie alle notwendigen Daten an!", - "Error", JOptionPane.ERROR_MESSAGE); - } + } }); cancelButton.setActionCommand("Cancel"); @@ -331,5 +296,30 @@ public class EditImageAllgemein_GUI extends JFrame { } + public void initData(){ + try { + System.out.println("initdata1:"+Image.image.getImagename()); + Map map=client.getImageData(Image.image.getImagename()); + if(map.get("internet").equals("0")){ + Image.image.setInternet(false); + } + else + { + Image.image.setInternet(true); + } + if(map.get("license").equals("0")){ + Image.image.setLicensed(false); + } + else{ + Image.image.setLicensed(true); + } + Image.image.setRam(Integer.parseInt(map.get("ram"))); + Image.image.setCpu(Integer.parseInt(map.get("cpu"))); + } catch (TException e) { + // TODO Auto-generated catch block + e.printStackTrace(); + } + } + } diff --git a/Dozentenmodul/src/GUI/EditImageTechnisch_GUI.java b/Dozentenmodul/src/GUI/EditImageTechnisch_GUI.java index f589a091..d8ab833f 100644 --- a/Dozentenmodul/src/GUI/EditImageTechnisch_GUI.java +++ b/Dozentenmodul/src/GUI/EditImageTechnisch_GUI.java @@ -13,6 +13,8 @@ import java.awt.event.MouseAdapter; import java.awt.event.MouseEvent; import java.awt.event.WindowAdapter; import java.awt.event.WindowEvent; +import java.util.HashMap; +import java.util.Map; import javax.swing.ButtonGroup; import javax.swing.JButton; @@ -33,6 +35,11 @@ import javax.swing.UnsupportedLookAndFeelException; import javax.swing.border.EmptyBorder; import javax.swing.border.TitledBorder; +import org.apache.thrift.TException; + +import server.Server.Client; +import thrift.ThriftConnection; + import models.Image; @SuppressWarnings("serial") @@ -60,6 +67,7 @@ public class EditImageTechnisch_GUI extends JFrame { //Beendet die Anwendung bei Klick auf das X System.exit(0); } + }); //Verhindert das Vergrößern des Fensters setResizable(false); @@ -79,7 +87,8 @@ public class EditImageTechnisch_GUI extends JFrame { int top=(screenSize.height - 722) / 2; int left=(screenSize.width - 603) / 2; setBounds(left, top, 603, 722); - + + getContentPane().setLayout(null); { JPanel panel = new JPanel(); @@ -106,7 +115,7 @@ public class EditImageTechnisch_GUI extends JFrame { contentPanel.setBorder(new EmptyBorder(5, 5, 5, 5)); getContentPane().add(contentPanel); contentPanel.setLayout(null); - + JPanel panel_1 = new JPanel(); panel_1.setBackground(SystemColor.menu); panel_1.setBorder(new TitledBorder(null, "Informationen zum Image", TitledBorder.LEADING, TitledBorder.TOP, null, null)); @@ -119,7 +128,6 @@ public class EditImageTechnisch_GUI extends JFrame { panel_1.add(lblNewLabel_2); rdbtnlicenseJa = new JRadioButton("Ja"); - rdbtnlicenseJa.setSelected(true); buttonGrouplicense.add(rdbtnlicenseJa); rdbtnlicenseJa.setBounds(266, 29, 109, 23); panel_1.add(rdbtnlicenseJa); @@ -128,22 +136,37 @@ public class EditImageTechnisch_GUI extends JFrame { buttonGrouplicense.add(rdbtnlicenseNein); rdbtnlicenseNein.setBounds(377, 29, 109, 23); panel_1.add(rdbtnlicenseNein); + if(Image.image.isLicensed()==true){ + rdbtnlicenseJa.setSelected(true); + } + else + { + rdbtnlicenseNein.setSelected(true); + } + + JLabel lblInternetIstInnerhalb = new JLabel("Internet ist innerhalb des Image gesperrt:"); lblInternetIstInnerhalb.setBounds(10, 58, 250, 20); panel_1.add(lblInternetIstInnerhalb); - JRadioButton rdbtnInternetJa = new JRadioButton("Ja"); + rdbtnInternetJa = new JRadioButton("Ja"); buttonGroupInternet.add(rdbtnInternetJa); rdbtnInternetJa.setBounds(266, 57, 109, 23); panel_1.add(rdbtnInternetJa); - JRadioButton rdbtnInternetNein = new JRadioButton("Nein"); + rdbtnInternetNein = new JRadioButton("Nein"); rdbtnInternetNein.setSelected(true); buttonGroupInternet.add(rdbtnInternetNein); rdbtnInternetNein.setBounds(377, 57, 109, 23); panel_1.add(rdbtnInternetNein); - + if(Image.image.isInternet()==true){ + rdbtnInternetJa.setSelected(true); + } + else + { + rdbtnInternetNein.setSelected(true); + } JLabel lblHauptmen = new JLabel("Hauptmen\u00FC"); lblHauptmen.addMouseListener(new MouseAdapter() { @Override @@ -200,6 +223,7 @@ public class EditImageTechnisch_GUI extends JFrame { spinnerRam = new JSpinner(); spinnerRam.setModel(new SpinnerNumberModel(1, 1, 8, 1)); spinnerRam.setBounds(385, 88, 29, 20); + spinnerRam.setValue(Image.image.getRam()); panel_2.add(spinnerRam); JLabel lblGbyte = new JLabel("GByte"); @@ -231,6 +255,7 @@ public class EditImageTechnisch_GUI extends JFrame { spinnerCPU = new JSpinner(); spinnerCPU.setModel(new SpinnerNumberModel(1, 1, 4, 1)); spinnerCPU.setBounds(385, 188, 29, 20); + spinnerCPU.setValue(Image.image.getCpu()); panel_2.add(spinnerCPU); JLabel lblKerne = new JLabel("Kerne"); @@ -249,6 +274,23 @@ public class EditImageTechnisch_GUI extends JFrame { //Setzt die Imagewerte in das Model Image.image.setCpu(Integer.valueOf(spinnerCPU.getValue().toString()).intValue()); Image.image.setRam(Integer.valueOf(spinnerRam.getValue().toString()).intValue()); + if(rdbtnInternetJa.isSelected()==true) + { + Image.image.setInternet(true); + } + else + { + Image.image.setInternet(false); + } + + if(rdbtnlicenseJa.isSelected()==true) + { + Image.image.setLicensed(true); + } + else + { + Image.image.setLicensed(false); + } //Öffnet das vorherige Fenster EingabeImageAllgemein_GUI sr=new EingabeImageAllgemein_GUI(); sr.setVisible(true); @@ -263,8 +305,27 @@ public class EditImageTechnisch_GUI extends JFrame { JButton cancelButton = new JButton("Weiter"); cancelButton.addActionListener(new ActionListener() { public void actionPerformed(ActionEvent e) { + Image.image.setCpu(Integer.valueOf(spinnerCPU.getValue().toString()).intValue()); + Image.image.setRam(Integer.valueOf(spinnerRam.getValue().toString()).intValue()); + if(rdbtnInternetJa.isSelected()==true) + { + Image.image.setInternet(true); + } + else + { + Image.image.setInternet(false); + } + + if(rdbtnlicenseJa.isSelected()==true) + { + Image.image.setLicensed(true); + } + else + { + Image.image.setLicensed(false); + } //Öffnet das nächste Fenster - FTPUploader_GUI ea=new FTPUploader_GUI(); + FTPEditUploader_GUI ea=new FTPEditUploader_GUI(); ea.setVisible(true); dispose(); @@ -296,4 +357,8 @@ public class EditImageTechnisch_GUI extends JFrame { mnNewMenu_1.add(mntmOtrs); } -} + + + + } + diff --git a/Dozentenmodul/src/GUI/EingabeImageAllgemein_GUI.java b/Dozentenmodul/src/GUI/EingabeImageAllgemein_GUI.java index bfd4354c..12678e0e 100644 --- a/Dozentenmodul/src/GUI/EingabeImageAllgemein_GUI.java +++ b/Dozentenmodul/src/GUI/EingabeImageAllgemein_GUI.java @@ -44,8 +44,6 @@ public class EingabeImageAllgemein_GUI extends JFrame { private JTextField Nachname; private JTextField Hochschule; private JTextField EMail; - private JTextField Tel; - private JTextField Fak; private JTextField imagename; /** @@ -114,76 +112,60 @@ public class EingabeImageAllgemein_GUI extends JFrame { JLabel label = new JLabel("Vorname: *"); label.setBackground(SystemColor.menu); - label.setBounds(10, 183, 125, 20); + label.setBounds(10, 245, 125, 20); panel_1.add(label); Vorname = new JTextField(); + Vorname.setEnabled(false); + Vorname.setEditable(false); Vorname.setBackground(Color.WHITE); - Vorname.setText((String) null); + Vorname.setText(person.verantowrtlicher.getVorname()); Vorname.setColumns(10); - Vorname.setBounds(145, 183, 350, 20); + Vorname.setBounds(145, 245, 350, 20); panel_1.add(Vorname); JLabel label_7 = new JLabel("Nachname: *"); label_7.setBackground(SystemColor.menu); - label_7.setBounds(10, 214, 125, 20); + label_7.setBounds(10, 276, 125, 20); panel_1.add(label_7); Nachname = new JTextField(); + Nachname.setEnabled(false); + Nachname.setEditable(false); Nachname.setBackground(Color.WHITE); - Nachname.setText((String) null); + Nachname.setText(person.verantowrtlicher.getName()); Nachname.setColumns(10); - Nachname.setBounds(145, 214, 350, 20); + Nachname.setBounds(145, 276, 350, 20); panel_1.add(Nachname); JLabel label_8 = new JLabel("Hochschule: *"); label_8.setBackground(SystemColor.menu); - label_8.setBounds(10, 245, 125, 20); + label_8.setBounds(10, 307, 125, 20); panel_1.add(label_8); Hochschule = new JTextField(); + Hochschule.setEnabled(false); + Hochschule.setEditable(false); Hochschule.setBackground(Color.WHITE); - Hochschule.setText((String) null); + Hochschule.setText(person.verantowrtlicher.getHochschule()); Hochschule.setColumns(10); - Hochschule.setBounds(145, 245, 350, 20); + Hochschule.setBounds(145, 307, 350, 20); panel_1.add(Hochschule); JLabel label_9 = new JLabel("E-Mail: *"); label_9.setBackground(SystemColor.menu); - label_9.setBounds(10, 276, 125, 20); + label_9.setBounds(10, 338, 125, 20); panel_1.add(label_9); EMail = new JTextField(); + EMail.setEnabled(false); + EMail.setEditable(false); EMail.setBackground(Color.WHITE); - EMail.setText((String) null); + EMail.setText(person.verantowrtlicher.getEMail()); EMail.setColumns(10); - EMail.setBounds(145, 276, 350, 20); + EMail.setBounds(145, 338, 350, 20); panel_1.add(EMail); - JLabel label_10 = new JLabel("Tel.-Nummer:"); - label_10.setBackground(SystemColor.menu); - label_10.setBounds(10, 307, 125, 20); - panel_1.add(label_10); - - Tel = new JTextField(); - Tel.setBackground(Color.WHITE); - Tel.setText((String) null); - Tel.setColumns(10); - Tel.setBounds(145, 307, 350, 20); - panel_1.add(Tel); - - JLabel lblFakulttinstitution = new JLabel("Fakult\u00E4t/Institution:"); - lblFakulttinstitution.setBackground(SystemColor.menu); - lblFakulttinstitution.setBounds(10, 338, 125, 20); - panel_1.add(lblFakulttinstitution); - - Fak = new JTextField(); - Fak.setBackground(Color.WHITE); - Fak.setText((String) null); - Fak.setColumns(10); - Fak.setBounds(145, 338, 350, 20); - panel_1.add(Fak); - JLabel lblImagename = new JLabel("Imagename: *"); lblImagename.setBackground(SystemColor.menu); lblImagename.setBounds(10, 31, 125, 20); @@ -255,13 +237,6 @@ public class EingabeImageAllgemein_GUI extends JFrame { JButton okButton = new JButton("Zur\u00FCck"); okButton.addActionListener(new ActionListener() { public void actionPerformed(ActionEvent e) { - //schreibt die Daten in das Model - person.verantowrtlicher.setVorname(Vorname.getText()); - person.verantowrtlicher.setName(Nachname.getText()); - person.verantowrtlicher.setEMail(EMail.getText()); - person.verantowrtlicher.setFakultät(Fak.getText()); - person.verantowrtlicher.setHochschule(Hochschule.getText()); - person.verantowrtlicher.setTel(Tel.getText()); Image.image.setImagename(imagename.getText()); MainMenue_GUI sr=new MainMenue_GUI(); sr.setVisible(true); @@ -280,12 +255,6 @@ public class EingabeImageAllgemein_GUI extends JFrame { if(Vorname.getText().isEmpty()==false && Nachname.getText().isEmpty()==false && Hochschule.getText().isEmpty()==false&&EMail.getText().isEmpty()==false) { //Schreibt die Daten in das Model - person.verantowrtlicher.setVorname(Vorname.getText()); - person.verantowrtlicher.setName(Nachname.getText()); - person.verantowrtlicher.setEMail(EMail.getText()); - person.verantowrtlicher.setFakultät(Fak.getText()); - person.verantowrtlicher.setHochschule(Hochschule.getText()); - person.verantowrtlicher.setTel(Tel.getText()); Image.image.setImagename(imagename.getText()); EingabeImageTechnisch_GUI ea=new EingabeImageTechnisch_GUI(); ea.setVisible(true); diff --git a/Dozentenmodul/src/GUI/FTPUploader_GUI.java b/Dozentenmodul/src/GUI/FTPUploader_GUI.java index 1a76b7b3..078f8075 100644 --- a/Dozentenmodul/src/GUI/FTPUploader_GUI.java +++ b/Dozentenmodul/src/GUI/FTPUploader_GUI.java @@ -259,6 +259,20 @@ public class FTPUploader_GUI extends JFrame implements PropertyChangeListener { JSeparator separator_1 = new JSeparator(); separator_1.setBounds(0, 627, 597, 2); contentPanel.add(separator_1); + + JButton btnCopyFileTo = new JButton("Copy File to Prod"); + btnCopyFileTo.addActionListener(new ActionListener() { + public void actionPerformed(ActionEvent e) { + try { + client.startFileCopy(user.path+"/"+uploadFile.getName()); + } catch (TException e1) { + // TODO Auto-generated catch block + e1.printStackTrace(); + } + } + }); + btnCopyFileTo.setBounds(10, 375, 264, 23); + contentPanel.add(btnCopyFileTo); { JPanel buttonPane = new JPanel(); buttonPane.setBackground(UIManager.getColor("Button.background")); @@ -276,7 +290,7 @@ public class FTPUploader_GUI extends JFrame implements PropertyChangeListener { { try { client.DeleteFtpUser(user.userName); - + thrift.closeThriftConnection(); } catch (TException e1) { // TODO Auto-generated catch block e1.printStackTrace(); @@ -388,6 +402,9 @@ public class FTPUploader_GUI extends JFrame implements PropertyChangeListener { public boolean writeData(){ try { + + + client.writeVLdata(Image.image.getImagename(), person.verantowrtlicher.getVorname(), person.verantowrtlicher.getName(), person.verantowrtlicher.getHochschule(), person.verantowrtlicher.getEMail(), person.verantowrtlicher.getTel(), person.verantowrtlicher.getFakultät(), Image.image.isLicensed(), Image.image.isInternet(), Image.image.getRam(), Image.image.getCpu()); } catch (TException e) { // TODO Auto-generated catch block diff --git a/Dozentenmodul/src/GUI/Login_GUI.java b/Dozentenmodul/src/GUI/Login_GUI.java index 990500db..cc558261 100644 --- a/Dozentenmodul/src/GUI/Login_GUI.java +++ b/Dozentenmodul/src/GUI/Login_GUI.java @@ -4,32 +4,33 @@ package gui; import java.awt.Dimension; import java.awt.EventQueue; import java.awt.Image; +import java.awt.SystemColor; import java.awt.Toolkit; +import java.awt.event.ActionEvent; +import java.awt.event.ActionListener; +import java.awt.event.WindowAdapter; +import java.awt.event.WindowEvent; +import java.io.File; +import java.io.IOException; + import javax.swing.ImageIcon; +import javax.swing.JButton; import javax.swing.JFrame; +import javax.swing.JLabel; import javax.swing.JOptionPane; import javax.swing.JPanel; +import javax.swing.JPasswordField; +import javax.swing.JTextField; import javax.swing.UIManager; import javax.swing.UnsupportedLookAndFeelException; import javax.swing.border.EmptyBorder; -import javax.swing.JLabel; -import javax.swing.JTextField; -import javax.swing.JButton; -import java.awt.event.ActionListener; -import java.awt.event.ActionEvent; -import javax.swing.JPasswordField; -import org.ini4j.InvalidFileFormatException; +import models.person; + import org.ini4j.Wini; import config.config_file; -import java.awt.event.WindowAdapter; -import java.awt.event.WindowEvent; -import java.awt.SystemColor; -import java.io.File; -import java.io.IOException; - @SuppressWarnings("serial") public class Login_GUI extends JFrame { @@ -45,7 +46,7 @@ public class Login_GUI extends JFrame { EventQueue.invokeLater(new Runnable() { public void run() { try { - + //Prüfe und Erzeuge gegebenfalls Config config_file cf=new config_file(); boolean conf=cf.createConfig(); if(conf==true) @@ -149,6 +150,7 @@ public class Login_GUI extends JFrame { try { Wini ini=new Wini(new File("C:\\Users\\"+System.getProperty("user.name")+"\\AppData\\Roaming\\bwLehrpoolSuite\\config.ini")); + //Prüfe ob Bills Of Rights schon akzeptiert wurden, wenn nicht zeige diese an if(ini.get("main", "BillOfRights",boolean.class)==false){ //Erstellen einer Instanz der Aktionsauswahl BillOfRights_GUI re=new BillOfRights_GUI(); @@ -158,6 +160,7 @@ public class Login_GUI extends JFrame { } else { + //Prüfe ob die Links zu vmware angezeigt werden sollen if(ini.get("main", "vmware",boolean.class)==false){ VmWareLink_GUI vm=new VmWareLink_GUI(); vm.setVisible(true); @@ -165,6 +168,11 @@ public class Login_GUI extends JFrame { } else { + person.verantowrtlicher.setName("Spitzer"); + person.verantowrtlicher.setVorname("Tobias"); + person.verantowrtlicher.setEMail("tspitzer@hs-offenburg.de"); + person.verantowrtlicher.setHochschule("HS Offenburg"); + //Öffne das Hauprmenü MainMenue_GUI main=new MainMenue_GUI(); main.setVisible(true); setVisible(false); diff --git a/Dozentenmodul/src/GUI/MainMenue_GUI.java b/Dozentenmodul/src/GUI/MainMenue_GUI.java index 0f80d372..ddf89269 100644 --- a/Dozentenmodul/src/GUI/MainMenue_GUI.java +++ b/Dozentenmodul/src/GUI/MainMenue_GUI.java @@ -276,7 +276,8 @@ public class MainMenue_GUI extends JFrame { dispose(); } else if(rdbtnImageEdit.isSelected()==true) { - SearchImage_GUI si=new SearchImage_GUI(); + + SearchEditImage_GUI si=new SearchEditImage_GUI(); si.setVisible(true); dispose(); }else if(rdbtnImageSearchDownload.isSelected()==true) diff --git a/Dozentenmodul/src/GUI/SearchImage_GUI.java b/Dozentenmodul/src/GUI/SearchImage_GUI.java index 64b37898..ad474768 100644 --- a/Dozentenmodul/src/GUI/SearchImage_GUI.java +++ b/Dozentenmodul/src/GUI/SearchImage_GUI.java @@ -45,8 +45,6 @@ import javax.swing.table.DefaultTableModel; import javax.swing.table.TableModel; import javax.swing.table.TableRowSorter; -import models.person; - import org.apache.thrift.TException; import server.Server.Client; @@ -390,7 +388,8 @@ public class SearchImage_GUI extends JFrame { EditImageAllgemein_GUI ea=new EditImageAllgemein_GUI(); ea.setVisible(true); - dispose(); + dispose(); + } }); cancelButton.setActionCommand("Cancel"); @@ -424,6 +423,7 @@ public class SearchImage_GUI extends JFrame { List images; try { //Hole eine Liste der Images + images = client.getImageList(); Iterator i=images.iterator(); diff --git a/Dozentenmodul/src/GUI/VmWareLink_GUI.java b/Dozentenmodul/src/GUI/VmWareLink_GUI.java index b803ee44..43df06a6 100644 --- a/Dozentenmodul/src/GUI/VmWareLink_GUI.java +++ b/Dozentenmodul/src/GUI/VmWareLink_GUI.java @@ -23,12 +23,18 @@ import javax.swing.JMenu; import javax.swing.JMenuItem; import java.awt.event.MouseAdapter; import java.awt.event.MouseEvent; +import java.io.File; import java.io.IOException; import java.net.URI; import java.net.URISyntaxException; import java.awt.event.WindowAdapter; import java.awt.event.WindowEvent; import javax.swing.JCheckBox; +import javax.swing.event.ChangeListener; +import javax.swing.event.ChangeEvent; + +import org.ini4j.InvalidFileFormatException; +import org.ini4j.Wini; @SuppressWarnings("serial") @@ -36,6 +42,7 @@ public class VmWareLink_GUI extends JFrame { private final JPanel contentPanel = new JPanel(); String[] result; + JCheckBox chckbxNewCheckBox; /** * Launch the application. */ @@ -123,7 +130,25 @@ public class VmWareLink_GUI extends JFrame { lblNewLabel_1.setBounds(10, 93, 499, 14); contentPanel.add(lblNewLabel_1); - JCheckBox chckbxNewCheckBox = new JCheckBox("Diese Benachrichtigung nicht mehr anzeigen."); + chckbxNewCheckBox = new JCheckBox("Diese Benachrichtigung nicht mehr anzeigen."); + chckbxNewCheckBox.addChangeListener(new ChangeListener() { + public void stateChanged(ChangeEvent arg0) { + if(chckbxNewCheckBox.isSelected()==true) + { + try { + Wini ini=new Wini(new File("C:\\Users\\"+System.getProperty("user.name")+"\\AppData\\Roaming\\bwLehrpoolSuite\\config.ini")); + ini.put("main", "vmware",true); + ini.store(); + } catch (InvalidFileFormatException e1) { + // TODO Auto-generated catch block + e1.printStackTrace(); + } catch (IOException e1) { + // TODO Auto-generated catch block + e1.printStackTrace(); + } + } + } + }); chckbxNewCheckBox.setBounds(6, 472, 555, 23); contentPanel.add(chckbxNewCheckBox); diff --git a/Dozentenmodul/src/auth/Authentification.java b/Dozentenmodul/src/auth/Authentification.java new file mode 100644 index 00000000..cf1a4b04 --- /dev/null +++ b/Dozentenmodul/src/auth/Authentification.java @@ -0,0 +1,5 @@ +package auth; + +public class Authentification { + +} diff --git a/Dozentenmodul/src/auth/Ldap.java b/Dozentenmodul/src/auth/Ldap.java deleted file mode 100644 index b50bfeaa..00000000 --- a/Dozentenmodul/src/auth/Ldap.java +++ /dev/null @@ -1,48 +0,0 @@ -package auth; - -import java.util.Hashtable; -import java.util.logging.Level; -import java.util.logging.Logger; -import javax.naming.Context; -import javax.naming.NamingException; -import javax.naming.directory.DirContext; -import javax.naming.directory.InitialDirContext; -import javax.swing.JOptionPane; - - -public class Ldap { - - public boolean LdapAuth(String user, String pass) - { - String base = "ou=hrz,o=fho"; - String dn = "cn="+user + "," + base; - String ldapURL = "ldaps://fs3.rz.hs-offenburg.de"; - boolean userok=false; - - Hashtable environment = new Hashtable(); - environment.put(Context.INITIAL_CONTEXT_FACTORY, "com.sun.jndi.ldap.LdapCtxFactory"); - environment.put(Context.PROVIDER_URL, ldapURL); - environment.put(Context.SECURITY_AUTHENTICATION, "simple"); - environment.put(Context.SECURITY_PRINCIPAL, dn); - environment.put(Context.SECURITY_CREDENTIALS, pass); - - try { - @SuppressWarnings("unused") - DirContext authContext = new InitialDirContext(environment); - // user is authenticated - - userok=true; - - } catch (NamingException ex) { - userok=false; - //user hat keine Zugriffsrechte - JOptionPane.showMessageDialog(null, - ex.toString(), "Message", - JOptionPane.INFORMATION_MESSAGE); - Logger.getLogger(Ldap.class.getName()).log(Level.SEVERE, null, ex); - } - return userok; - - } - -} diff --git a/Dozentenmodul/src/config/config_file.java b/Dozentenmodul/src/config/config_file.java index 31fb5b1d..de8f1483 100644 --- a/Dozentenmodul/src/config/config_file.java +++ b/Dozentenmodul/src/config/config_file.java @@ -8,21 +8,29 @@ public class config_file { public boolean createConfig() throws IOException{ + String config_file="C:\\Users\\"+System.getProperty("user.name")+"\\AppData\\Roaming\\bwLehrpoolSuite"; + //File für den Ordner erzeugen File config=new File(config_file); String file=config_file+"\\config.ini"; + //ini File erzeugen File conf=new File(file); Wini ini; + + //Prüfen ob Ordner schon existiert if(config.exists()==false) { + //Wenn nicht erzeuge Ordner config.mkdir(); - + //Erzeuge eine neue Datei conf.createNewFile(); ini=new Wini(conf); + //Wenn in die Datei geschrieben werden kann if(conf.canWrite()==true) { + //Schreibe Config ini.put("main", "BillOfRights",false); ini.put("main", "vmware", false); ini.store(); @@ -33,14 +41,16 @@ public class config_file { } else { - + //Wenn Ordner schon existiert, prüfe ob Datei existiert if(conf.exists()==false) { + //Wenn nicht, erzeuge diese conf.createNewFile(); ini=new Wini(conf); if(conf.canWrite()==true) { + //Schreibe Konfig in File ini.put("main", "BillOfRights",false); ini.put("main", "vmware", false); ini.store(); diff --git a/Dozentenmodul/src/gui/EditImageAllgemein_GUI.java b/Dozentenmodul/src/gui/EditImageAllgemein_GUI.java index 160a7fb4..58cab4ec 100644 --- a/Dozentenmodul/src/gui/EditImageAllgemein_GUI.java +++ b/Dozentenmodul/src/gui/EditImageAllgemein_GUI.java @@ -20,7 +20,6 @@ import javax.swing.JLabel; import javax.swing.JMenu; import javax.swing.JMenuBar; import javax.swing.JMenuItem; -import javax.swing.JOptionPane; import javax.swing.JPanel; import javax.swing.JSeparator; import javax.swing.JTextArea; @@ -31,11 +30,12 @@ import javax.swing.UnsupportedLookAndFeelException; import javax.swing.border.EmptyBorder; import javax.swing.border.TitledBorder; -import server.Server.Client; -import thrift.ThriftConnection; +import org.apache.thrift.TException; import models.Image; import models.person; +import server.Server.Client; +import thrift.ThriftConnection; @SuppressWarnings("serial") public class EditImageAllgemein_GUI extends JFrame { @@ -46,11 +46,9 @@ public class EditImageAllgemein_GUI extends JFrame { private JTextField Nachname; private JTextField Hochschule; private JTextField EMail; - private JTextField Tel; - private JTextField Fak; private JTextField imagename; - ThriftConnection thrift=new ThriftConnection(); - Client client=thrift.getThriftConnection(); + ThriftConnection con=new ThriftConnection(); + Client client=con.getThriftConnection(); /** * Create the dialog. @@ -75,13 +73,13 @@ public class EditImageAllgemein_GUI extends JFrame { } //Setzt den Fenstertitel setTitle("bwLehrpool Suite *Prototyp*"); - + //Zentriert das Fenster in der Bildmitte Dimension screenSize = Toolkit.getDefaultToolkit().getScreenSize(); int top=(screenSize.height - 722) / 2; int left=(screenSize.width - 603) / 2; setBounds(left, top, 603, 722); - + initData(); getContentPane().setLayout(null); { JPanel panel = new JPanel(); @@ -118,76 +116,60 @@ public class EditImageAllgemein_GUI extends JFrame { JLabel label = new JLabel("Vorname: *"); label.setBackground(SystemColor.menu); - label.setBounds(10, 183, 125, 20); + label.setBounds(10, 245, 125, 20); panel_1.add(label); Vorname = new JTextField(); + Vorname.setEditable(false); + Vorname.setEnabled(false); Vorname.setBackground(Color.WHITE); Vorname.setText(person.verantowrtlicher.getVorname()); Vorname.setColumns(10); - Vorname.setBounds(145, 183, 350, 20); + Vorname.setBounds(145, 245, 350, 20); panel_1.add(Vorname); JLabel label_7 = new JLabel("Nachname: *"); label_7.setBackground(SystemColor.menu); - label_7.setBounds(10, 214, 125, 20); + label_7.setBounds(10, 276, 125, 20); panel_1.add(label_7); Nachname = new JTextField(); + Nachname.setEnabled(false); + Nachname.setEditable(false); Nachname.setBackground(Color.WHITE); Nachname.setText(person.verantowrtlicher.getName()); Nachname.setColumns(10); - Nachname.setBounds(145, 214, 350, 20); + Nachname.setBounds(145, 276, 350, 20); panel_1.add(Nachname); JLabel label_8 = new JLabel("Hochschule: *"); label_8.setBackground(SystemColor.menu); - label_8.setBounds(10, 245, 125, 20); + label_8.setBounds(10, 307, 125, 20); panel_1.add(label_8); Hochschule = new JTextField(); + Hochschule.setEnabled(false); + Hochschule.setEditable(false); Hochschule.setBackground(Color.WHITE); Hochschule.setText(person.verantowrtlicher.getHochschule()); Hochschule.setColumns(10); - Hochschule.setBounds(145, 245, 350, 20); + Hochschule.setBounds(145, 307, 350, 20); panel_1.add(Hochschule); JLabel label_9 = new JLabel("E-Mail: *"); label_9.setBackground(SystemColor.menu); - label_9.setBounds(10, 276, 125, 20); + label_9.setBounds(10, 338, 125, 20); panel_1.add(label_9); EMail = new JTextField(); + EMail.setEnabled(false); + EMail.setEditable(false); EMail.setBackground(Color.WHITE); EMail.setText(person.verantowrtlicher.getEMail()); EMail.setColumns(10); - EMail.setBounds(145, 276, 350, 20); + EMail.setBounds(145, 338, 350, 20); panel_1.add(EMail); - JLabel label_10 = new JLabel("Tel.-Nummer:"); - label_10.setBackground(SystemColor.menu); - label_10.setBounds(10, 307, 125, 20); - panel_1.add(label_10); - - Tel = new JTextField(); - Tel.setBackground(Color.WHITE); - Tel.setText(person.verantowrtlicher.getTel()); - Tel.setColumns(10); - Tel.setBounds(145, 307, 350, 20); - panel_1.add(Tel); - - JLabel lblFakulttinstitution = new JLabel("Fakult\u00E4t/Institution:"); - lblFakulttinstitution.setBackground(SystemColor.menu); - lblFakulttinstitution.setBounds(10, 338, 125, 20); - panel_1.add(lblFakulttinstitution); - - Fak = new JTextField(); - Fak.setBackground(Color.WHITE); - Fak.setText(person.verantowrtlicher.getFakultät()); - Fak.setColumns(10); - Fak.setBounds(145, 338, 350, 20); - panel_1.add(Fak); - JLabel lblImagename = new JLabel("Imagename: *"); lblImagename.setBackground(SystemColor.menu); lblImagename.setBounds(10, 31, 125, 20); @@ -261,13 +243,7 @@ public class EditImageAllgemein_GUI extends JFrame { public void actionPerformed(ActionEvent e) { //Setzen der Eingabe im Model, dadurch bleiben die Daten bei einem erneuten Aufruf verfügbar - person.verantowrtlicher.setVorname(Vorname.getText()); - person.verantowrtlicher.setName(Nachname.getText()); - person.verantowrtlicher.setEMail(EMail.getText()); - person.verantowrtlicher.setFakultät(Fak.getText()); - person.verantowrtlicher.setHochschule(Hochschule.getText()); - person.verantowrtlicher.setTel(Tel.getText()); - Image.image.setImagename(imagename.getText()); + //Image.image.setImagename(imagename.getText()); MainMenue_GUI sr=new MainMenue_GUI(); sr.setVisible(true); @@ -283,25 +259,14 @@ public class EditImageAllgemein_GUI extends JFrame { cancelButton.addActionListener(new ActionListener() { public void actionPerformed(ActionEvent e) { //Prüfung ob alle notwendigen Felder ausgefüllt sind - if(Vorname.getText().isEmpty()==false && Nachname.getText().isEmpty()==false && Hochschule.getText().isEmpty()==false&&EMail.getText().isEmpty()==false) - { //Setzen der Eingabe im Model, dadurch bleiben die Daten bei einem erneuten Aufruf verfügbar - person.verantowrtlicher.setVorname(Vorname.getText()); - person.verantowrtlicher.setName(Nachname.getText()); - person.verantowrtlicher.setEMail(EMail.getText()); - person.verantowrtlicher.setFakultät(Fak.getText()); - person.verantowrtlicher.setHochschule(Hochschule.getText()); - person.verantowrtlicher.setTel(Tel.getText()); - Image.image.setImagename(imagename.getText()); + System.out.println(imagename.getText()); + Image.image.setNewName(imagename.getText()); + con.closeThriftConnection(); EditImageTechnisch_GUI ea=new EditImageTechnisch_GUI(); ea.setVisible(true); dispose(); - } - else{ - //Erzeugen einer Fehlermeldung wenn nicht alle notwendigen Felder ausgefüllt sind - JOptionPane.showMessageDialog(null, "Bitte geben Sie alle notwendigen Daten an!", - "Error", JOptionPane.ERROR_MESSAGE); - } + } }); cancelButton.setActionCommand("Cancel"); @@ -331,5 +296,30 @@ public class EditImageAllgemein_GUI extends JFrame { } + public void initData(){ + try { + System.out.println("initdata1:"+Image.image.getImagename()); + Map map=client.getImageData(Image.image.getImagename()); + if(map.get("internet").equals("0")){ + Image.image.setInternet(false); + } + else + { + Image.image.setInternet(true); + } + if(map.get("license").equals("0")){ + Image.image.setLicensed(false); + } + else{ + Image.image.setLicensed(true); + } + Image.image.setRam(Integer.parseInt(map.get("ram"))); + Image.image.setCpu(Integer.parseInt(map.get("cpu"))); + } catch (TException e) { + // TODO Auto-generated catch block + e.printStackTrace(); + } + } + } diff --git a/Dozentenmodul/src/gui/EditImageTechnisch_GUI.java b/Dozentenmodul/src/gui/EditImageTechnisch_GUI.java index f589a091..d8ab833f 100644 --- a/Dozentenmodul/src/gui/EditImageTechnisch_GUI.java +++ b/Dozentenmodul/src/gui/EditImageTechnisch_GUI.java @@ -13,6 +13,8 @@ import java.awt.event.MouseAdapter; import java.awt.event.MouseEvent; import java.awt.event.WindowAdapter; import java.awt.event.WindowEvent; +import java.util.HashMap; +import java.util.Map; import javax.swing.ButtonGroup; import javax.swing.JButton; @@ -33,6 +35,11 @@ import javax.swing.UnsupportedLookAndFeelException; import javax.swing.border.EmptyBorder; import javax.swing.border.TitledBorder; +import org.apache.thrift.TException; + +import server.Server.Client; +import thrift.ThriftConnection; + import models.Image; @SuppressWarnings("serial") @@ -60,6 +67,7 @@ public class EditImageTechnisch_GUI extends JFrame { //Beendet die Anwendung bei Klick auf das X System.exit(0); } + }); //Verhindert das Vergrößern des Fensters setResizable(false); @@ -79,7 +87,8 @@ public class EditImageTechnisch_GUI extends JFrame { int top=(screenSize.height - 722) / 2; int left=(screenSize.width - 603) / 2; setBounds(left, top, 603, 722); - + + getContentPane().setLayout(null); { JPanel panel = new JPanel(); @@ -106,7 +115,7 @@ public class EditImageTechnisch_GUI extends JFrame { contentPanel.setBorder(new EmptyBorder(5, 5, 5, 5)); getContentPane().add(contentPanel); contentPanel.setLayout(null); - + JPanel panel_1 = new JPanel(); panel_1.setBackground(SystemColor.menu); panel_1.setBorder(new TitledBorder(null, "Informationen zum Image", TitledBorder.LEADING, TitledBorder.TOP, null, null)); @@ -119,7 +128,6 @@ public class EditImageTechnisch_GUI extends JFrame { panel_1.add(lblNewLabel_2); rdbtnlicenseJa = new JRadioButton("Ja"); - rdbtnlicenseJa.setSelected(true); buttonGrouplicense.add(rdbtnlicenseJa); rdbtnlicenseJa.setBounds(266, 29, 109, 23); panel_1.add(rdbtnlicenseJa); @@ -128,22 +136,37 @@ public class EditImageTechnisch_GUI extends JFrame { buttonGrouplicense.add(rdbtnlicenseNein); rdbtnlicenseNein.setBounds(377, 29, 109, 23); panel_1.add(rdbtnlicenseNein); + if(Image.image.isLicensed()==true){ + rdbtnlicenseJa.setSelected(true); + } + else + { + rdbtnlicenseNein.setSelected(true); + } + + JLabel lblInternetIstInnerhalb = new JLabel("Internet ist innerhalb des Image gesperrt:"); lblInternetIstInnerhalb.setBounds(10, 58, 250, 20); panel_1.add(lblInternetIstInnerhalb); - JRadioButton rdbtnInternetJa = new JRadioButton("Ja"); + rdbtnInternetJa = new JRadioButton("Ja"); buttonGroupInternet.add(rdbtnInternetJa); rdbtnInternetJa.setBounds(266, 57, 109, 23); panel_1.add(rdbtnInternetJa); - JRadioButton rdbtnInternetNein = new JRadioButton("Nein"); + rdbtnInternetNein = new JRadioButton("Nein"); rdbtnInternetNein.setSelected(true); buttonGroupInternet.add(rdbtnInternetNein); rdbtnInternetNein.setBounds(377, 57, 109, 23); panel_1.add(rdbtnInternetNein); - + if(Image.image.isInternet()==true){ + rdbtnInternetJa.setSelected(true); + } + else + { + rdbtnInternetNein.setSelected(true); + } JLabel lblHauptmen = new JLabel("Hauptmen\u00FC"); lblHauptmen.addMouseListener(new MouseAdapter() { @Override @@ -200,6 +223,7 @@ public class EditImageTechnisch_GUI extends JFrame { spinnerRam = new JSpinner(); spinnerRam.setModel(new SpinnerNumberModel(1, 1, 8, 1)); spinnerRam.setBounds(385, 88, 29, 20); + spinnerRam.setValue(Image.image.getRam()); panel_2.add(spinnerRam); JLabel lblGbyte = new JLabel("GByte"); @@ -231,6 +255,7 @@ public class EditImageTechnisch_GUI extends JFrame { spinnerCPU = new JSpinner(); spinnerCPU.setModel(new SpinnerNumberModel(1, 1, 4, 1)); spinnerCPU.setBounds(385, 188, 29, 20); + spinnerCPU.setValue(Image.image.getCpu()); panel_2.add(spinnerCPU); JLabel lblKerne = new JLabel("Kerne"); @@ -249,6 +274,23 @@ public class EditImageTechnisch_GUI extends JFrame { //Setzt die Imagewerte in das Model Image.image.setCpu(Integer.valueOf(spinnerCPU.getValue().toString()).intValue()); Image.image.setRam(Integer.valueOf(spinnerRam.getValue().toString()).intValue()); + if(rdbtnInternetJa.isSelected()==true) + { + Image.image.setInternet(true); + } + else + { + Image.image.setInternet(false); + } + + if(rdbtnlicenseJa.isSelected()==true) + { + Image.image.setLicensed(true); + } + else + { + Image.image.setLicensed(false); + } //Öffnet das vorherige Fenster EingabeImageAllgemein_GUI sr=new EingabeImageAllgemein_GUI(); sr.setVisible(true); @@ -263,8 +305,27 @@ public class EditImageTechnisch_GUI extends JFrame { JButton cancelButton = new JButton("Weiter"); cancelButton.addActionListener(new ActionListener() { public void actionPerformed(ActionEvent e) { + Image.image.setCpu(Integer.valueOf(spinnerCPU.getValue().toString()).intValue()); + Image.image.setRam(Integer.valueOf(spinnerRam.getValue().toString()).intValue()); + if(rdbtnInternetJa.isSelected()==true) + { + Image.image.setInternet(true); + } + else + { + Image.image.setInternet(false); + } + + if(rdbtnlicenseJa.isSelected()==true) + { + Image.image.setLicensed(true); + } + else + { + Image.image.setLicensed(false); + } //Öffnet das nächste Fenster - FTPUploader_GUI ea=new FTPUploader_GUI(); + FTPEditUploader_GUI ea=new FTPEditUploader_GUI(); ea.setVisible(true); dispose(); @@ -296,4 +357,8 @@ public class EditImageTechnisch_GUI extends JFrame { mnNewMenu_1.add(mntmOtrs); } -} + + + + } + diff --git a/Dozentenmodul/src/gui/EingabeImageAllgemein_GUI.java b/Dozentenmodul/src/gui/EingabeImageAllgemein_GUI.java index bfd4354c..12678e0e 100644 --- a/Dozentenmodul/src/gui/EingabeImageAllgemein_GUI.java +++ b/Dozentenmodul/src/gui/EingabeImageAllgemein_GUI.java @@ -44,8 +44,6 @@ public class EingabeImageAllgemein_GUI extends JFrame { private JTextField Nachname; private JTextField Hochschule; private JTextField EMail; - private JTextField Tel; - private JTextField Fak; private JTextField imagename; /** @@ -114,76 +112,60 @@ public class EingabeImageAllgemein_GUI extends JFrame { JLabel label = new JLabel("Vorname: *"); label.setBackground(SystemColor.menu); - label.setBounds(10, 183, 125, 20); + label.setBounds(10, 245, 125, 20); panel_1.add(label); Vorname = new JTextField(); + Vorname.setEnabled(false); + Vorname.setEditable(false); Vorname.setBackground(Color.WHITE); - Vorname.setText((String) null); + Vorname.setText(person.verantowrtlicher.getVorname()); Vorname.setColumns(10); - Vorname.setBounds(145, 183, 350, 20); + Vorname.setBounds(145, 245, 350, 20); panel_1.add(Vorname); JLabel label_7 = new JLabel("Nachname: *"); label_7.setBackground(SystemColor.menu); - label_7.setBounds(10, 214, 125, 20); + label_7.setBounds(10, 276, 125, 20); panel_1.add(label_7); Nachname = new JTextField(); + Nachname.setEnabled(false); + Nachname.setEditable(false); Nachname.setBackground(Color.WHITE); - Nachname.setText((String) null); + Nachname.setText(person.verantowrtlicher.getName()); Nachname.setColumns(10); - Nachname.setBounds(145, 214, 350, 20); + Nachname.setBounds(145, 276, 350, 20); panel_1.add(Nachname); JLabel label_8 = new JLabel("Hochschule: *"); label_8.setBackground(SystemColor.menu); - label_8.setBounds(10, 245, 125, 20); + label_8.setBounds(10, 307, 125, 20); panel_1.add(label_8); Hochschule = new JTextField(); + Hochschule.setEnabled(false); + Hochschule.setEditable(false); Hochschule.setBackground(Color.WHITE); - Hochschule.setText((String) null); + Hochschule.setText(person.verantowrtlicher.getHochschule()); Hochschule.setColumns(10); - Hochschule.setBounds(145, 245, 350, 20); + Hochschule.setBounds(145, 307, 350, 20); panel_1.add(Hochschule); JLabel label_9 = new JLabel("E-Mail: *"); label_9.setBackground(SystemColor.menu); - label_9.setBounds(10, 276, 125, 20); + label_9.setBounds(10, 338, 125, 20); panel_1.add(label_9); EMail = new JTextField(); + EMail.setEnabled(false); + EMail.setEditable(false); EMail.setBackground(Color.WHITE); - EMail.setText((String) null); + EMail.setText(person.verantowrtlicher.getEMail()); EMail.setColumns(10); - EMail.setBounds(145, 276, 350, 20); + EMail.setBounds(145, 338, 350, 20); panel_1.add(EMail); - JLabel label_10 = new JLabel("Tel.-Nummer:"); - label_10.setBackground(SystemColor.menu); - label_10.setBounds(10, 307, 125, 20); - panel_1.add(label_10); - - Tel = new JTextField(); - Tel.setBackground(Color.WHITE); - Tel.setText((String) null); - Tel.setColumns(10); - Tel.setBounds(145, 307, 350, 20); - panel_1.add(Tel); - - JLabel lblFakulttinstitution = new JLabel("Fakult\u00E4t/Institution:"); - lblFakulttinstitution.setBackground(SystemColor.menu); - lblFakulttinstitution.setBounds(10, 338, 125, 20); - panel_1.add(lblFakulttinstitution); - - Fak = new JTextField(); - Fak.setBackground(Color.WHITE); - Fak.setText((String) null); - Fak.setColumns(10); - Fak.setBounds(145, 338, 350, 20); - panel_1.add(Fak); - JLabel lblImagename = new JLabel("Imagename: *"); lblImagename.setBackground(SystemColor.menu); lblImagename.setBounds(10, 31, 125, 20); @@ -255,13 +237,6 @@ public class EingabeImageAllgemein_GUI extends JFrame { JButton okButton = new JButton("Zur\u00FCck"); okButton.addActionListener(new ActionListener() { public void actionPerformed(ActionEvent e) { - //schreibt die Daten in das Model - person.verantowrtlicher.setVorname(Vorname.getText()); - person.verantowrtlicher.setName(Nachname.getText()); - person.verantowrtlicher.setEMail(EMail.getText()); - person.verantowrtlicher.setFakultät(Fak.getText()); - person.verantowrtlicher.setHochschule(Hochschule.getText()); - person.verantowrtlicher.setTel(Tel.getText()); Image.image.setImagename(imagename.getText()); MainMenue_GUI sr=new MainMenue_GUI(); sr.setVisible(true); @@ -280,12 +255,6 @@ public class EingabeImageAllgemein_GUI extends JFrame { if(Vorname.getText().isEmpty()==false && Nachname.getText().isEmpty()==false && Hochschule.getText().isEmpty()==false&&EMail.getText().isEmpty()==false) { //Schreibt die Daten in das Model - person.verantowrtlicher.setVorname(Vorname.getText()); - person.verantowrtlicher.setName(Nachname.getText()); - person.verantowrtlicher.setEMail(EMail.getText()); - person.verantowrtlicher.setFakultät(Fak.getText()); - person.verantowrtlicher.setHochschule(Hochschule.getText()); - person.verantowrtlicher.setTel(Tel.getText()); Image.image.setImagename(imagename.getText()); EingabeImageTechnisch_GUI ea=new EingabeImageTechnisch_GUI(); ea.setVisible(true); diff --git a/Dozentenmodul/src/gui/FTPEditUploader_GUI.java b/Dozentenmodul/src/gui/FTPEditUploader_GUI.java new file mode 100644 index 00000000..0adf2739 --- /dev/null +++ b/Dozentenmodul/src/gui/FTPEditUploader_GUI.java @@ -0,0 +1,420 @@ +package gui; + +import java.awt.BorderLayout; +import java.awt.Color; +import java.awt.Dimension; +import java.awt.EventQueue; +import java.awt.FlowLayout; +import java.awt.Font; +import java.awt.SystemColor; +import java.awt.Toolkit; +import java.awt.event.ActionEvent; +import java.awt.event.ActionListener; +import java.awt.event.WindowAdapter; +import java.awt.event.WindowEvent; +import java.beans.PropertyChangeEvent; +import java.beans.PropertyChangeListener; +import java.io.File; + +import javax.swing.JButton; +import javax.swing.JFileChooser; +import javax.swing.JFrame; +import javax.swing.JLabel; +import javax.swing.JMenu; +import javax.swing.JMenuBar; +import javax.swing.JPanel; +import javax.swing.JProgressBar; +import javax.swing.JSeparator; +import javax.swing.JTextPane; +import javax.swing.SwingConstants; +import javax.swing.UIManager; +import javax.swing.UnsupportedLookAndFeelException; +import javax.swing.border.EmptyBorder; + +import models.Image; +import models.person; + +import org.apache.thrift.TException; + +import server.Server.Client; +import thrift.ThriftConnection; +import ftp.UploadTask; + + +@SuppressWarnings("serial") +public class FTPEditUploader_GUI extends JFrame implements PropertyChangeListener { + + @SuppressWarnings("unused") + private JPanel contentPane; + private final JPanel contentPanel = new JPanel(); + JLabel lblNewLabel; + JProgressBar progressBar; + String host="141.79.128.121"; + int port=21; + server.User user; + String filename=""; + File uploadFile; + static String arg=""; + UploadTask task; + JLabel UpSpeed; + JLabel labelfertig; + JLabel labelfilesize; + JLabel labelZeit; + JLabel labelverbleibend; + long filesize; + double speed; + long bytesread; + boolean taskrun=false; + ThriftConnection thrift=new ThriftConnection(); + Client client=thrift.getThriftConnection(); + /** + * Launch the application. + */ + public static void main(String[] args) { + EventQueue.invokeLater(new Runnable() { + public void run() { + try { + FTPEditUploader_GUI frame = new FTPEditUploader_GUI(); + frame.setVisible(true); + } catch (Exception e) { + e.printStackTrace(); + } + } + }); + } + + /** + * Create the frame. + */ + public FTPEditUploader_GUI() { + addWindowListener(new WindowAdapter() { + @Override + public void windowClosing(WindowEvent arg0) { + if(taskrun==true) + { + try { + + client.DeleteFtpUser(user.userName); + } catch (TException e1) { + // TODO Auto-generated catch block + e1.printStackTrace(); + } + task.cancel(true); + } + } + }); + setResizable(false); + //setDefaultCloseOperation(JDialog.DISPOSE_ON_CLOSE); + + + + try { + UIManager.setLookAndFeel(UIManager.getSystemLookAndFeelClassName()); + } catch (ClassNotFoundException | InstantiationException + | IllegalAccessException | UnsupportedLookAndFeelException e) { + // TODO Auto-generated catch block + e.printStackTrace(); + } + + //filename=name; + setBackground(Color.WHITE); + setTitle("Dozentenmodul *Prototyp*"); + Dimension screenSize = Toolkit.getDefaultToolkit().getScreenSize(); + int top=(screenSize.height - 722) / 2; + int left=(screenSize.width - 603) / 2; + setBounds(left, top, 603, 722); + //setBounds(100, 100, 603, 250); + getContentPane().setLayout(new BorderLayout()); + contentPanel.setBackground(SystemColor.menu); + contentPanel.setBorder(new EmptyBorder(5, 5, 5, 5)); + getContentPane().add(contentPanel, BorderLayout.CENTER); + contentPanel.setLayout(null); + { + JButton btnSpeicherortAuswhlen = new JButton("VMDK ausw\u00E4hlen"); + btnSpeicherortAuswhlen.addActionListener(new ActionListener() { + public void actionPerformed(ActionEvent arg0) { + JFileChooser fc=new JFileChooser(); + fc.setFileSelectionMode(JFileChooser.FILES_ONLY); + + fc.showOpenDialog(getParent()); + File dir=fc.getSelectedFile(); + uploadFile=dir; + filename=uploadFile.getName(); + lblNewLabel.setText(dir.getAbsolutePath()); + } + }); + + btnSpeicherortAuswhlen.setBounds(10, 124, 141, 23); + btnSpeicherortAuswhlen.setVerticalAlignment(SwingConstants.TOP); + btnSpeicherortAuswhlen.setHorizontalAlignment(SwingConstants.LEFT); + contentPanel.add(btnSpeicherortAuswhlen); + } + + lblNewLabel = new JLabel(""); + lblNewLabel.setBounds(184, 124, 255, 23); + contentPanel.add(lblNewLabel); + + JButton btnDownloadStarten = new JButton("Upload starten"); + btnDownloadStarten.addActionListener(new ActionListener() { + public void actionPerformed(ActionEvent arg0) { + buttonUploadActionPerformed(arg0); + + } + }); + + btnDownloadStarten.setBounds(10, 330, 141, 23); + contentPanel.add(btnDownloadStarten); + + progressBar = new JProgressBar(0,100); + progressBar.setStringPainted(true); + + + progressBar.setBounds(10, 158, 577, 30); + contentPanel.add(progressBar); + + JLabel label = new JLabel("Downloadgeschwindigkeit:"); + label.setBounds(10, 199, 141, 14); + contentPanel.add(label); + + JLabel label_1 = new JLabel("Fertig:"); + label_1.setBounds(10, 249, 46, 14); + contentPanel.add(label_1); + + labelfertig = new JLabel("0"); + labelfertig.setBounds(66, 249, 108, 14); + contentPanel.add(labelfertig); + + UpSpeed = new JLabel("0"); + UpSpeed.setBounds(329, 199, 95, 14); + contentPanel.add(UpSpeed); + + JLabel label_4 = new JLabel("von:"); + label_4.setBounds(184, 249, 46, 14); + contentPanel.add(label_4); + + labelfilesize = new JLabel("0"); + labelfilesize.setBounds(240, 249, 108, 14); + contentPanel.add(labelfilesize); + + JLabel label_6 = new JLabel("Verbleibend:"); + label_6.setBounds(10, 274, 71, 14); + contentPanel.add(label_6); + + JLabel label_7 = new JLabel("Gesch\u00E4tzte Verbleibende Zeit:"); + label_7.setBounds(10, 224, 150, 14); + contentPanel.add(label_7); + + labelZeit = new JLabel("0"); + labelZeit.setBounds(329, 224, 117, 14); + contentPanel.add(labelZeit); + + labelverbleibend = new JLabel("0"); + labelverbleibend.setBounds(91, 274, 108, 14); + contentPanel.add(labelverbleibend); + + JPanel panel = new JPanel(); + panel.setLayout(null); + panel.setBackground(SystemColor.menu); + panel.setBounds(10, 11, 577, 57); + contentPanel.add(panel); + + JLabel label_2 = new JLabel("Eingabe Ihrer Daten"); + label_2.setFont(new Font("Tahoma", Font.BOLD, 18)); + label_2.setBounds(10, 11, 509, 22); + panel.add(label_2); + + JTextPane textPane = new JTextPane(); + textPane.setText("Geben Sie hier bitte einen sprechenden Imagename sowie Ihre Kontaktdaten an"); + textPane.setEditable(false); + textPane.setBackground(SystemColor.menu); + textPane.setBounds(10, 36, 509, 32); + panel.add(textPane); + + JSeparator separator = new JSeparator(); + separator.setBounds(0, 79, 597, 2); + contentPanel.add(separator); + + JLabel lblNewLabel_1 = new JLabel("Hauptmen\u00FC"); + lblNewLabel_1.setForeground(Color.BLUE); + lblNewLabel_1.setBounds(20, 88, 61, 20); + contentPanel.add(lblNewLabel_1); + + JLabel label_3 = new JLabel(">"); + label_3.setBounds(80, 91, 14, 14); + contentPanel.add(label_3); + + JLabel lblVlimage = new JLabel("VL-Image"); + lblVlimage.setForeground(Color.BLUE); + lblVlimage.setBounds(91, 88, 46, 20); + contentPanel.add(lblVlimage); + + JLabel label_5 = new JLabel(">"); + label_5.setBounds(139, 91, 14, 14); + contentPanel.add(label_5); + + JLabel lblNeubearbeiten = new JLabel("Neu/Bearbeiten"); + lblNeubearbeiten.setBounds(149, 91, 108, 14); + contentPanel.add(lblNeubearbeiten); + + JSeparator separator_1 = new JSeparator(); + separator_1.setBounds(0, 627, 597, 2); + contentPanel.add(separator_1); + + JButton btnCopyFileTo = new JButton("Copy File to Prod"); + btnCopyFileTo.addActionListener(new ActionListener() { + public void actionPerformed(ActionEvent e) { + try { + client.startFileCopy(user.path+"/"+uploadFile.getName()); + } catch (TException e1) { + // TODO Auto-generated catch block + e1.printStackTrace(); + } + } + }); + btnCopyFileTo.setBounds(10, 375, 264, 23); + contentPanel.add(btnCopyFileTo); + { + JPanel buttonPane = new JPanel(); + buttonPane.setBackground(UIManager.getColor("Button.background")); + buttonPane.setLayout(new FlowLayout(FlowLayout.RIGHT)); + getContentPane().add(buttonPane, BorderLayout.SOUTH); + { + JButton ButtonReady = new JButton("Abschlie\u00DFen"); + ButtonReady.addActionListener(new ActionListener() { + public void actionPerformed(ActionEvent e) { + + updateData(); + dispose(); + MainMenue_GUI m=new MainMenue_GUI(); + m.setVisible(true); + + if(taskrun==true) + { + try { + client.DeleteFtpUser(user.userName); + + } catch (TException e1) { + // TODO Auto-generated catch block + e1.printStackTrace(); + } + task.cancel(true); + } + thrift.closeThriftConnection(); + } + }); + + JButton buttonCancel = new JButton("Schlie\u00DFen"); + buttonCancel.setActionCommand("Cancel"); + buttonPane.add(buttonCancel); + ButtonReady.setActionCommand("Cancel"); + buttonPane.add(ButtonReady); + } + } + + JMenuBar menuBar = new JMenuBar(); + setJMenuBar(menuBar); + + JMenu mnHillfe = new JMenu("Hillfe"); + menuBar.add(mnHillfe); + setVisible(true); + + } + + private void buttonUploadActionPerformed(ActionEvent event) { + // File (or directory) with old name + // File file = new File(lblNewLabel.getText()); + + // File (or directory) with new name + //System.out.println(file.getAbsolutePath().substring(0,file.getAbsolutePath().lastIndexOf("\\"))+"\\"+vm.vl.getLaborname()+".vmdk"); + //File file2 = new File(file.getAbsoluteFile()+"\\"+vm.vl.getLaborname()+".vmdk"); + + + // Rename file (or directory) + //boolean success = file.renameTo(file2); + //if (!success) { + // File was not successfully renamed + //System.out.println("Not OK"); + //} + //else + //{ + //System.out.println("OK"); + //} + progressBar.setValue(0); + + try { + user=client.getFtpUser(); + System.out.println("name"+user.userName); + System.out.println("path"+user.path); + System.out.println("pass"+user.password); + } catch (TException e) { + // TODO Auto-generated catch block + e.printStackTrace(); + } + + task=new UploadTask(host,port,user.userName,user.password,user.path, uploadFile); + + task.addPropertyChangeListener(this); + task.execute(); + taskrun=true; + + //createXML(); + //TransferToSatellit(); + + + } + + public void propertyChange(PropertyChangeEvent arg0) { + if ("progress" == arg0.getPropertyName()) { + int progress = (Integer) arg0.getNewValue(); + progressBar.setValue(progress); + } + if("speed"==arg0.getPropertyName()){ + speed=(double)arg0.getNewValue(); + //if(speed<=1){ + + UpSpeed.setText(String.valueOf(speed).substring(0,String.valueOf(speed).lastIndexOf(".")+3)+" MB/s"); + + // }else + //{ + //double MBSpeed=speed/1024; + //downspeed.setText(String.valueOf((MBSpeed)).substring(0, String.valueOf(MBSpeed).indexOf("."))); + //} + + } + if("bytesread"==arg0.getPropertyName()) + { + bytesread=(long)arg0.getNewValue(); + labelfertig.setText((bytesread/1024/1024)+" MB"); + labelverbleibend.setText(((filesize/1024/1024)-(bytesread/1024/1024))+" MB"); + + + labelZeit.setText(String.valueOf(((((filesize/1024/1024)-(bytesread/1024/1024))/speed)/60)+1).substring(0,String.valueOf((((filesize/1024/1024)-(bytesread/1024/1024))/speed)/60).lastIndexOf("."))+ " Minuten"); + + + } + if("filesize"==arg0.getPropertyName()) + { + filesize=(long)arg0.getNewValue(); + labelfilesize.setText((filesize/1024/1024)+" MB"); + + } + + } + + public boolean updateData(){ + + try { + + + System.out.println("Start Update"); + client.updateImageData(Image.image.getImagename(),Image.image.getNewName(), Image.image.isLicensed(), Image.image.isInternet(), Image.image.getRam(), Image.image.getCpu()); + } catch (TException e) { + // TODO Auto-generated catch block + e.printStackTrace(); + return false; + } + return true; + + + } +} \ No newline at end of file diff --git a/Dozentenmodul/src/gui/FTPUploader_GUI.java b/Dozentenmodul/src/gui/FTPUploader_GUI.java index 980f3481..0bf92b82 100644 --- a/Dozentenmodul/src/gui/FTPUploader_GUI.java +++ b/Dozentenmodul/src/gui/FTPUploader_GUI.java @@ -259,6 +259,20 @@ public class FTPUploader_GUI extends JFrame implements PropertyChangeListener { JSeparator separator_1 = new JSeparator(); separator_1.setBounds(0, 627, 597, 2); contentPanel.add(separator_1); + + JButton btnCopyFileTo = new JButton("Copy File to Prod"); + btnCopyFileTo.addActionListener(new ActionListener() { + public void actionPerformed(ActionEvent e) { + try { + client.startFileCopy(user.path+"/"+uploadFile.getName()); + } catch (TException e1) { + // TODO Auto-generated catch block + e1.printStackTrace(); + } + } + }); + btnCopyFileTo.setBounds(10, 375, 264, 23); + contentPanel.add(btnCopyFileTo); { JPanel buttonPane = new JPanel(); buttonPane.setBackground(UIManager.getColor("Button.background")); @@ -276,7 +290,7 @@ public class FTPUploader_GUI extends JFrame implements PropertyChangeListener { { try { client.DeleteFtpUser(user.userName); - + thrift.closeThriftConnection(); } catch (TException e1) { // TODO Auto-generated catch block e1.printStackTrace(); @@ -388,6 +402,9 @@ public class FTPUploader_GUI extends JFrame implements PropertyChangeListener { public boolean writeData(){ try { + + + client.writeVLdata(Image.image.getImagename(), person.verantowrtlicher.getVorname(), person.verantowrtlicher.getName(), person.verantowrtlicher.getHochschule(), person.verantowrtlicher.getEMail(), person.verantowrtlicher.getTel(), person.verantowrtlicher.getFakultät(), Image.image.isLicensed(), Image.image.isInternet(), Image.image.getRam(), Image.image.getCpu()); } catch (TException e) { // TODO Auto-generated catch block diff --git a/Dozentenmodul/src/gui/Login_GUI.java b/Dozentenmodul/src/gui/Login_GUI.java index 990500db..cc558261 100644 --- a/Dozentenmodul/src/gui/Login_GUI.java +++ b/Dozentenmodul/src/gui/Login_GUI.java @@ -4,32 +4,33 @@ package gui; import java.awt.Dimension; import java.awt.EventQueue; import java.awt.Image; +import java.awt.SystemColor; import java.awt.Toolkit; +import java.awt.event.ActionEvent; +import java.awt.event.ActionListener; +import java.awt.event.WindowAdapter; +import java.awt.event.WindowEvent; +import java.io.File; +import java.io.IOException; + import javax.swing.ImageIcon; +import javax.swing.JButton; import javax.swing.JFrame; +import javax.swing.JLabel; import javax.swing.JOptionPane; import javax.swing.JPanel; +import javax.swing.JPasswordField; +import javax.swing.JTextField; import javax.swing.UIManager; import javax.swing.UnsupportedLookAndFeelException; import javax.swing.border.EmptyBorder; -import javax.swing.JLabel; -import javax.swing.JTextField; -import javax.swing.JButton; -import java.awt.event.ActionListener; -import java.awt.event.ActionEvent; -import javax.swing.JPasswordField; -import org.ini4j.InvalidFileFormatException; +import models.person; + import org.ini4j.Wini; import config.config_file; -import java.awt.event.WindowAdapter; -import java.awt.event.WindowEvent; -import java.awt.SystemColor; -import java.io.File; -import java.io.IOException; - @SuppressWarnings("serial") public class Login_GUI extends JFrame { @@ -45,7 +46,7 @@ public class Login_GUI extends JFrame { EventQueue.invokeLater(new Runnable() { public void run() { try { - + //Prüfe und Erzeuge gegebenfalls Config config_file cf=new config_file(); boolean conf=cf.createConfig(); if(conf==true) @@ -149,6 +150,7 @@ public class Login_GUI extends JFrame { try { Wini ini=new Wini(new File("C:\\Users\\"+System.getProperty("user.name")+"\\AppData\\Roaming\\bwLehrpoolSuite\\config.ini")); + //Prüfe ob Bills Of Rights schon akzeptiert wurden, wenn nicht zeige diese an if(ini.get("main", "BillOfRights",boolean.class)==false){ //Erstellen einer Instanz der Aktionsauswahl BillOfRights_GUI re=new BillOfRights_GUI(); @@ -158,6 +160,7 @@ public class Login_GUI extends JFrame { } else { + //Prüfe ob die Links zu vmware angezeigt werden sollen if(ini.get("main", "vmware",boolean.class)==false){ VmWareLink_GUI vm=new VmWareLink_GUI(); vm.setVisible(true); @@ -165,6 +168,11 @@ public class Login_GUI extends JFrame { } else { + person.verantowrtlicher.setName("Spitzer"); + person.verantowrtlicher.setVorname("Tobias"); + person.verantowrtlicher.setEMail("tspitzer@hs-offenburg.de"); + person.verantowrtlicher.setHochschule("HS Offenburg"); + //Öffne das Hauprmenü MainMenue_GUI main=new MainMenue_GUI(); main.setVisible(true); setVisible(false); diff --git a/Dozentenmodul/src/gui/MainMenue_GUI.java b/Dozentenmodul/src/gui/MainMenue_GUI.java index e44e5c90..4e45a030 100644 --- a/Dozentenmodul/src/gui/MainMenue_GUI.java +++ b/Dozentenmodul/src/gui/MainMenue_GUI.java @@ -276,7 +276,8 @@ public class MainMenue_GUI extends JFrame { dispose(); } else if(rdbtnImageEdit.isSelected()==true) { - SearchImage_GUI si=new SearchImage_GUI(); + + SearchEditImage_GUI si=new SearchEditImage_GUI(); si.setVisible(true); dispose(); }else if(rdbtnImageSearchDownload.isSelected()==true) diff --git a/Dozentenmodul/src/gui/SearchEditImage_GUI.java b/Dozentenmodul/src/gui/SearchEditImage_GUI.java new file mode 100644 index 00000000..840f283c --- /dev/null +++ b/Dozentenmodul/src/gui/SearchEditImage_GUI.java @@ -0,0 +1,460 @@ +package gui; + + +import java.awt.Color; +import java.awt.Dimension; +import java.awt.FlowLayout; +import java.awt.Font; +import java.awt.SystemColor; +import java.awt.Toolkit; +import java.awt.event.ActionEvent; +import java.awt.event.ActionListener; +import java.awt.event.KeyAdapter; +import java.awt.event.KeyEvent; +import java.awt.event.MouseAdapter; +import java.awt.event.MouseEvent; +import java.awt.event.WindowAdapter; +import java.awt.event.WindowEvent; +import java.util.Iterator; +import java.util.List; +import java.util.Map; + +import javax.swing.JButton; +import javax.swing.JComboBox; +import javax.swing.JDialog; +import javax.swing.JFrame; +import javax.swing.JLabel; +import javax.swing.JMenu; +import javax.swing.JMenuBar; +import javax.swing.JMenuItem; +import javax.swing.JPanel; +import javax.swing.JRadioButton; +import javax.swing.JScrollPane; +import javax.swing.JSeparator; +import javax.swing.JTabbedPane; +import javax.swing.JTable; +import javax.swing.JTextField; +import javax.swing.JTextPane; +import javax.swing.RowFilter; +import javax.swing.UIManager; +import javax.swing.UnsupportedLookAndFeelException; +import javax.swing.border.EmptyBorder; +import javax.swing.border.TitledBorder; +import javax.swing.event.ChangeEvent; +import javax.swing.event.ChangeListener; +import javax.swing.table.DefaultTableModel; +import javax.swing.table.TableModel; +import javax.swing.table.TableRowSorter; + +import models.Image; +import models.person; + +import org.apache.thrift.TException; + +import server.Server.Client; +import thrift.ThriftConnection; + +@SuppressWarnings("serial") +public class SearchEditImage_GUI extends JFrame { + + private final JPanel contentPanel = new JPanel(); + String[] result; + JRadioButton rdbtnInternetJa; + JRadioButton rdbtnInternetNein; + JComboBox comboBox; + JTable tableAllImages; + JTable tablemyImages; + private JTextField textFieldName; + JTabbedPane tabbedPane; + String[] titles= {"Image-Name", "Lizenzpflichtig", "OS", "Veranstaltung", "Verantwortlicher", "Letztes Update", "Schlagwort"}; + ThriftConnection con=new ThriftConnection(); + Client client=con.getThriftConnection(); + final DefaultTableModel modelAll = new DefaultTableModel( titles, 0 ); + final DefaultTableModel modelMyImages = new DefaultTableModel( titles, 0 ); + final TableRowSorter rowSorterAll = new TableRowSorter( modelAll ); + final TableRowSorter rowSorterMyImages = new TableRowSorter( modelMyImages ); + + /** + * Launch the application. + */ + public static void main(String[] args) { + try { + SearchEditImage_GUI dialog = new SearchEditImage_GUI(); + dialog.setDefaultCloseOperation(JDialog.DISPOSE_ON_CLOSE); + dialog.setVisible(true); + } catch (Exception e) { + e.printStackTrace(); + } + } + + /** + * Create the dialog. + */ + public SearchEditImage_GUI() { + addWindowListener(new WindowAdapter() { + @Override + public void windowClosing(WindowEvent arg0) { + //Beendet die Anwendung nach klick auf X + System.exit(0); + } + }); + //Verhindert das Vergrößern Des Fensters + setResizable(false); + + try { + //Setzt das Look & Feel auf System + UIManager.setLookAndFeel(UIManager.getSystemLookAndFeelClassName()); + } catch (ClassNotFoundException | InstantiationException + | IllegalAccessException | UnsupportedLookAndFeelException e) { + // TODO Auto-generated catch block + e.printStackTrace(); + } + //Setzt den Fenstertitel + setTitle("bwLehrpool Suite *Prototyp*"); + //Zentriert das Fenster in die Bildmitte + Dimension screenSize = Toolkit.getDefaultToolkit().getScreenSize(); + int top=(screenSize.height - 722) / 2; + int left=(screenSize.width - 603) / 2; + setBounds(left, top, 603, 722); + + + + final DefaultTableModel model = new DefaultTableModel( titles, 0 ); + + + getContentPane().setLayout(null); + { + JPanel panel = new JPanel(); + panel.setBackground(SystemColor.menu); + panel.setBounds(10, 11, 577, 57); + getContentPane().add(panel); + panel.setLayout(null); + { + JLabel lblNewLabel = new JLabel("Suche nach VL-Image"); + lblNewLabel.setBounds(10, 11, 509, 22); + panel.add(lblNewLabel); + lblNewLabel.setFont(new Font("Tahoma", Font.BOLD, 18)); + } + + JTextPane txtpnBitteWhlenSie = new JTextPane(); + txtpnBitteWhlenSie.setEditable(false); + txtpnBitteWhlenSie.setBackground(SystemColor.menu); + txtpnBitteWhlenSie.setText("Hier k\u00F6nnen Sie nach Ihrem gew\u00FCnschten VL-Image suchen und dieses f\u00FCr weitere Schritte ausw\u00E4hlen"); + txtpnBitteWhlenSie.setBounds(10, 36, 509, 32); + panel.add(txtpnBitteWhlenSie); + } + contentPanel.setBounds(10, 85, 577, 531); + contentPanel.setBackground(SystemColor.menu); + contentPanel.setBorder(new EmptyBorder(5, 5, 5, 5)); + getContentPane().add(contentPanel); + contentPanel.setLayout(null); + + JPanel panel_1 = new JPanel(); + panel_1.setBackground(SystemColor.menu); + panel_1.setBorder(new TitledBorder(null, "Filterfunktionen", TitledBorder.LEADING, TitledBorder.TOP, null, null)); + panel_1.setBounds(10, 49, 557, 131); + contentPanel.add(panel_1); + panel_1.setLayout(null); + + JLabel lblNewLabel_2 = new JLabel("Anzeigename:"); + lblNewLabel_2.setBounds(10, 30, 250, 20); + panel_1.add(lblNewLabel_2); + + JLabel lblInternetIstInnerhalb = new JLabel("Betriebssystem:"); + lblInternetIstInnerhalb.setBounds(10, 58, 250, 20); + panel_1.add(lblInternetIstInnerhalb); + + textFieldName = new JTextField(); + //Key Listener der Tastatureingabe registriert + textFieldName.addKeyListener(new KeyAdapter() { + @Override + public void keyReleased(KeyEvent e) { + //Textfield eingabe auslesen + String stext=textFieldName.getText(); + + //Wenn Textfield nicht leer + if(stext!="") + { + //Filtere nach der Eingabe + rowSorterAll.setRowFilter(RowFilter.regexFilter(textFieldName.getText(), 0)); + rowSorterMyImages.setRowFilter(RowFilter.regexFilter(textFieldName.getText(), 0)); + + } + }}); + + + textFieldName.setBounds(270, 30, 250, 20); + panel_1.add(textFieldName); + textFieldName.setColumns(10); + + JLabel lblErweiterteSuche = new JLabel("Erweiterte Suche"); + lblErweiterteSuche.addMouseListener(new MouseAdapter() { + @Override + public void mouseClicked(MouseEvent arg0) { + //Öffnet das Fenster Extended GUI + ExtendedSearch_GUI es=new ExtendedSearch_GUI(); + es.setVisible(true); + } + }); + lblErweiterteSuche.setForeground(Color.BLUE); + + lblErweiterteSuche.setBounds(431, 106, 89, 14); + panel_1.add(lblErweiterteSuche); + + comboBox = new JComboBox(); + try { + //Holt sich eine Liste aller verfügbaren Betriebssysteme vom Server + List list=client.getAllOS(); + //Leeres Item hinzufügen + comboBox.addItem(""); + for(int i=0;i"); + label_1.setBounds(69, 11, 13, 14); + contentPanel.add(label_1); + + JLabel lblVlimage = new JLabel("VL-Image"); + lblVlimage.setForeground(Color.BLUE); + lblVlimage.setBounds(81, 11, 45, 14); + contentPanel.add(lblVlimage); + + JLabel label_2 = new JLabel(">"); + label_2.setBounds(133, 11, 13, 14); + contentPanel.add(label_2); + + JLabel lblNewLabel_1 = new JLabel("Imageauswahl"); + lblNewLabel_1.setBounds(146, 11, 85, 14); + contentPanel.add(lblNewLabel_1); + + tabbedPane = new JTabbedPane(JTabbedPane.TOP); + tabbedPane.addChangeListener(new ChangeListener() { + public void stateChanged(ChangeEvent arg0) { + System.out.println(tabbedPane.getSelectedIndex()); + if(tabbedPane.getSelectedIndex()==0){ + + + + } + else if(tabbedPane.getSelectedIndex()==1){ + String username="Spitzer Tobias"; + rowSorterMyImages.setRowFilter(RowFilter.regexFilter(username, 4)); + + //rowSorterMyImages.toggleSortOrder(0); + } + + } + }); + + tabbedPane.setBounds(10, 197, 557, 300); + contentPanel.add(tabbedPane); + + JScrollPane scrollPaneMyImage = new JScrollPane(); + tablemyImages=new JTable(); + tablemyImages.setModel(modelMyImages); + tablemyImages.getColumnModel().getColumn(1).sizeWidthToFit(); + tablemyImages.getColumnModel().getColumn(2).sizeWidthToFit(); + tablemyImages.getColumnModel().getColumn(3).sizeWidthToFit(); + tablemyImages.getColumnModel().getColumn(4).sizeWidthToFit(); + tablemyImages.getColumnModel().getColumn(5).sizeWidthToFit(); + initTableModel(modelMyImages); + tablemyImages.setRowSorter(rowSorterMyImages); + + JScrollPane scrollPaneAllImages = new JScrollPane(); + tableAllImages=new JTable(); + tableAllImages.setModel(modelAll); + tableAllImages.getColumnModel().getColumn(1).sizeWidthToFit(); + tableAllImages.getColumnModel().getColumn(2).sizeWidthToFit(); + tableAllImages.getColumnModel().getColumn(3).sizeWidthToFit(); + tableAllImages.getColumnModel().getColumn(4).sizeWidthToFit(); + tableAllImages.getColumnModel().getColumn(5).sizeWidthToFit(); + initTableModel(modelAll); + tableAllImages.setRowSorter(rowSorterAll); + + scrollPaneAllImages.setViewportView(tableAllImages); + tabbedPane.addTab("Alle", null, scrollPaneAllImages, null); + + scrollPaneMyImage.setViewportView(tablemyImages); + tabbedPane.addTab("Meine Images", null, scrollPaneMyImage, null); + + JScrollPane scrollPaneCoopImages = new JScrollPane(); + JTable tableCoopImages=new JTable(); + tableCoopImages.setModel(model); + tableCoopImages.getColumnModel().getColumn(1).sizeWidthToFit(); + tableCoopImages.getColumnModel().getColumn(2).sizeWidthToFit(); + tableCoopImages.getColumnModel().getColumn(3).sizeWidthToFit(); + tableCoopImages.getColumnModel().getColumn(4).sizeWidthToFit(); + tableCoopImages.getColumnModel().getColumn(5).sizeWidthToFit(); + + scrollPaneCoopImages.setViewportView(tableCoopImages); + tabbedPane.addTab("Kooperative Images", null, scrollPaneCoopImages, null); + tabbedPane.setEnabledAt(2, false); + + JScrollPane scrollPanePublicImages = new JScrollPane(); + JTable tablePublicImages=new JTable(); + tablePublicImages.setModel(model); + tablePublicImages.getColumnModel().getColumn(1).sizeWidthToFit(); + tablePublicImages.getColumnModel().getColumn(2).sizeWidthToFit(); + tablePublicImages.getColumnModel().getColumn(3).sizeWidthToFit(); + tablePublicImages.getColumnModel().getColumn(4).sizeWidthToFit(); + tablePublicImages.getColumnModel().getColumn(5).sizeWidthToFit(); + + scrollPanePublicImages.setViewportView(tablePublicImages); + tabbedPane.addTab("\u00D6ffentliche Images", null, scrollPanePublicImages, null); + tabbedPane.setEnabledAt(3, false); + + JScrollPane scrollPanePublicVorlagen = new JScrollPane(); + JTable tablePublicVorlagen=new JTable(); + tablePublicVorlagen.setModel(model); + tablePublicVorlagen.getColumnModel().getColumn(1).sizeWidthToFit(); + tablePublicVorlagen.getColumnModel().getColumn(2).sizeWidthToFit(); + tablePublicVorlagen.getColumnModel().getColumn(3).sizeWidthToFit(); + tablePublicVorlagen.getColumnModel().getColumn(4).sizeWidthToFit(); + tablePublicVorlagen.getColumnModel().getColumn(5).sizeWidthToFit(); + + scrollPanePublicVorlagen.setViewportView(tablePublicVorlagen); + tabbedPane.addTab("\u00D6ffentliche Vorlagen", null, scrollPanePublicVorlagen, null); + tabbedPane.setEnabledAt(4, false); + + + + + JButton btnDownload = new JButton("Download"); + btnDownload.addActionListener(new ActionListener() { + public void actionPerformed(ActionEvent arg0) { + //Öffnet den Downloader + FTPDownloader_GUI down=new FTPDownloader_GUI("Test"); + down.setVisible(true); + SearchEditImage_GUI.this.setVisible(false); + } + }); + btnDownload.setBounds(449, 508, 118, 23); + contentPanel.add(btnDownload); + { + JPanel buttonPane = new JPanel(); + buttonPane.setBounds(0, 640, 597, 33); + buttonPane.setBackground(SystemColor.menu); + buttonPane.setLayout(new FlowLayout(FlowLayout.RIGHT)); + getContentPane().add(buttonPane); + { + JButton okButton = new JButton("Zur\u00FCck"); + okButton.addActionListener(new ActionListener() { + public void actionPerformed(ActionEvent e) { + //Öffnet das Hauptmenü + + MainMenue_GUI main=new MainMenue_GUI(); + main.setVisible(true); + dispose(); + } + }); + okButton.setActionCommand("OK"); + buttonPane.add(okButton); + getRootPane().setDefaultButton(okButton); + } + { + JButton cancelButton = new JButton("Weiter"); + cancelButton.addActionListener(new ActionListener() { + public void actionPerformed(ActionEvent e) { + con.closeThriftConnection(); + String imagename=modelMyImages.getValueAt(tablemyImages.convertRowIndexToModel(tablemyImages.getSelectedRow()), 0).toString(); + Image.image.setImagename(imagename); + EditImageAllgemein_GUI ea=new EditImageAllgemein_GUI(); + ea.setVisible(true); + dispose(); + } + }); + cancelButton.setActionCommand("Cancel"); + buttonPane.add(cancelButton); + } + } + + JSeparator separator = new JSeparator(); + separator.setBounds(0, 78, 597, 2); + getContentPane().add(separator); + + JSeparator separator_1 = new JSeparator(); + separator_1.setBounds(0, 627, 597, 2); + getContentPane().add(separator_1); + + JMenuBar menuBar = new JMenuBar(); + setJMenuBar(menuBar); + + JMenu mnNewMenu_1 = new JMenu("Hilfe"); + menuBar.add(mnNewMenu_1); + + JMenuItem mntmFaq = new JMenuItem("FAQ"); + mnNewMenu_1.add(mntmFaq); + + JMenuItem mntmOtrs = new JMenuItem("OTRS"); + mnNewMenu_1.add(mntmOtrs); + + } + //Initiale Beffülung eines Table models + public DefaultTableModel initTableModel(DefaultTableModel model){ + List images; + try { + //Hole eine Liste der Images + images = client.getImageList(); + + Iterator i=images.iterator(); + + int x=0; + + while(i.hasNext()) + { + //erzeuge Objekte für die Tabelle + Object [] obj={images.get(x).getImageName(),images.get(x).getLicenseRestriction(),images.get(x).getOsName(),images.get(x).getLectureName(),images.get(x).getUserData(),images.get(x).getUpdateTime()}; + //Füge diese Objekte der Tabelle hinzu + model.addRow(obj); + x++; + i.next(); + + } + + return model; + } catch (TException e1) { + // TODO Auto-generated catch block + e1.printStackTrace(); + } + return model; + } + + } + + diff --git a/Dozentenmodul/src/gui/SearchImage_GUI.java b/Dozentenmodul/src/gui/SearchImage_GUI.java index 6ee58903..4225a295 100644 --- a/Dozentenmodul/src/gui/SearchImage_GUI.java +++ b/Dozentenmodul/src/gui/SearchImage_GUI.java @@ -45,8 +45,6 @@ import javax.swing.table.DefaultTableModel; import javax.swing.table.TableModel; import javax.swing.table.TableRowSorter; -import models.person; - import org.apache.thrift.TException; import server.Server.Client; @@ -390,7 +388,8 @@ public class SearchImage_GUI extends JFrame { EditImageAllgemein_GUI ea=new EditImageAllgemein_GUI(); ea.setVisible(true); - dispose(); + dispose(); + } }); cancelButton.setActionCommand("Cancel"); @@ -424,6 +423,7 @@ public class SearchImage_GUI extends JFrame { List images; try { //Hole eine Liste der Images + images = client.getImageList(); Iterator i=images.iterator(); diff --git a/Dozentenmodul/src/models/Image.java b/Dozentenmodul/src/models/Image.java index f16a7594..2a8c4fcd 100644 --- a/Dozentenmodul/src/models/Image.java +++ b/Dozentenmodul/src/models/Image.java @@ -2,6 +2,7 @@ package models; public class Image { private String imagename; + private String newName; private boolean licensed; private boolean internet; private int ram; @@ -39,5 +40,10 @@ public class Image { public void setCpu(int cpu) { this.cpu = cpu; } - + public String getNewName() { + return newName; + } + public void setNewName(String newName) { + this.newName = newName; + } } diff --git a/Dozentenmodul/src/thrift/ThriftConnection.java b/Dozentenmodul/src/thrift/ThriftConnection.java index 6a65c948..21baff96 100644 --- a/Dozentenmodul/src/thrift/ThriftConnection.java +++ b/Dozentenmodul/src/thrift/ThriftConnection.java @@ -10,14 +10,14 @@ import server.Server; import server.Server.Client; public class ThriftConnection { - + final TTransport transport = new TSocket("141.79.128.121", 9090); public Client getThriftConnection() { - final TTransport transport = new TSocket("141.79.128.121", 9090); + try { transport.open(); } catch (TTransportException e) { - System.out.println("Keine Verbindung zum Master möglich!"); + System.out.println("Keine Verbindung möglich!"); return null; } @@ -25,8 +25,13 @@ public class ThriftConnection { final Server.Client client = new Server.Client(protocol); - System.out.println("Der Zentralserver läuft!"); + System.out.println("Der Server läuft!"); + return client; } + public void closeThriftConnection() + { + transport.close(); + } } diff --git a/Dozentenmodulserver/.classpath b/Dozentenmodulserver/.classpath index ecda71d7..3268b41f 100644 --- a/Dozentenmodulserver/.classpath +++ b/Dozentenmodulserver/.classpath @@ -30,5 +30,6 @@ + diff --git a/Dozentenmodulserver/bin/server/Image$ImageStandardScheme.class b/Dozentenmodulserver/bin/server/Image$ImageStandardScheme.class index 24a0ce08..2355b1c5 100644 Binary files a/Dozentenmodulserver/bin/server/Image$ImageStandardScheme.class and b/Dozentenmodulserver/bin/server/Image$ImageStandardScheme.class differ diff --git a/Dozentenmodulserver/bin/server/Image$ImageStandardSchemeFactory.class b/Dozentenmodulserver/bin/server/Image$ImageStandardSchemeFactory.class index c03e8e34..6ae79b2d 100644 Binary files a/Dozentenmodulserver/bin/server/Image$ImageStandardSchemeFactory.class and b/Dozentenmodulserver/bin/server/Image$ImageStandardSchemeFactory.class differ diff --git a/Dozentenmodulserver/bin/server/Image$ImageTupleScheme.class b/Dozentenmodulserver/bin/server/Image$ImageTupleScheme.class index e577ea19..17a94e26 100644 Binary files a/Dozentenmodulserver/bin/server/Image$ImageTupleScheme.class and b/Dozentenmodulserver/bin/server/Image$ImageTupleScheme.class differ diff --git a/Dozentenmodulserver/bin/server/Image$ImageTupleSchemeFactory.class b/Dozentenmodulserver/bin/server/Image$ImageTupleSchemeFactory.class index 51290eba..f37368bd 100644 Binary files a/Dozentenmodulserver/bin/server/Image$ImageTupleSchemeFactory.class and b/Dozentenmodulserver/bin/server/Image$ImageTupleSchemeFactory.class differ diff --git a/Dozentenmodulserver/bin/server/Image$_Fields.class b/Dozentenmodulserver/bin/server/Image$_Fields.class index 01586c34..9b307a8e 100644 Binary files a/Dozentenmodulserver/bin/server/Image$_Fields.class and b/Dozentenmodulserver/bin/server/Image$_Fields.class differ diff --git a/Dozentenmodulserver/bin/server/Image.class b/Dozentenmodulserver/bin/server/Image.class index 290c32a4..1e1a241d 100644 Binary files a/Dozentenmodulserver/bin/server/Image.class and b/Dozentenmodulserver/bin/server/Image.class differ diff --git a/Dozentenmodulserver/bin/server/Server$AsyncClient$DeleteFtpUser_call.class b/Dozentenmodulserver/bin/server/Server$AsyncClient$DeleteFtpUser_call.class index 3fd8d648..abf4c581 100644 Binary files a/Dozentenmodulserver/bin/server/Server$AsyncClient$DeleteFtpUser_call.class and b/Dozentenmodulserver/bin/server/Server$AsyncClient$DeleteFtpUser_call.class differ diff --git a/Dozentenmodulserver/bin/server/Server$AsyncClient$Factory.class b/Dozentenmodulserver/bin/server/Server$AsyncClient$Factory.class index 02090e03..acdef304 100644 Binary files a/Dozentenmodulserver/bin/server/Server$AsyncClient$Factory.class and b/Dozentenmodulserver/bin/server/Server$AsyncClient$Factory.class differ diff --git a/Dozentenmodulserver/bin/server/Server$AsyncClient$getAllOS_call.class b/Dozentenmodulserver/bin/server/Server$AsyncClient$getAllOS_call.class index ee79e7f0..0cb35fc5 100644 Binary files a/Dozentenmodulserver/bin/server/Server$AsyncClient$getAllOS_call.class and b/Dozentenmodulserver/bin/server/Server$AsyncClient$getAllOS_call.class differ diff --git a/Dozentenmodulserver/bin/server/Server$AsyncClient$getFtpUser_call.class b/Dozentenmodulserver/bin/server/Server$AsyncClient$getFtpUser_call.class index 860b6413..2f623ddb 100644 Binary files a/Dozentenmodulserver/bin/server/Server$AsyncClient$getFtpUser_call.class and b/Dozentenmodulserver/bin/server/Server$AsyncClient$getFtpUser_call.class differ diff --git a/Dozentenmodulserver/bin/server/Server$AsyncClient$getImageData_call.class b/Dozentenmodulserver/bin/server/Server$AsyncClient$getImageData_call.class new file mode 100644 index 00000000..001d6cfe Binary files /dev/null and b/Dozentenmodulserver/bin/server/Server$AsyncClient$getImageData_call.class differ diff --git a/Dozentenmodulserver/bin/server/Server$AsyncClient$getImageList_call.class b/Dozentenmodulserver/bin/server/Server$AsyncClient$getImageList_call.class index ec81909c..48e04b70 100644 Binary files a/Dozentenmodulserver/bin/server/Server$AsyncClient$getImageList_call.class and b/Dozentenmodulserver/bin/server/Server$AsyncClient$getImageList_call.class differ diff --git a/Dozentenmodulserver/bin/server/Server$AsyncClient$getImages_call.class b/Dozentenmodulserver/bin/server/Server$AsyncClient$getImages_call.class index 8429995b..237f1345 100644 Binary files a/Dozentenmodulserver/bin/server/Server$AsyncClient$getImages_call.class and b/Dozentenmodulserver/bin/server/Server$AsyncClient$getImages_call.class differ diff --git a/Dozentenmodulserver/bin/server/Server$AsyncClient$getPathOfImage_call.class b/Dozentenmodulserver/bin/server/Server$AsyncClient$getPathOfImage_call.class index dac1a6e9..4252ebe5 100644 Binary files a/Dozentenmodulserver/bin/server/Server$AsyncClient$getPathOfImage_call.class and b/Dozentenmodulserver/bin/server/Server$AsyncClient$getPathOfImage_call.class differ diff --git a/Dozentenmodulserver/bin/server/Server$AsyncClient$getPersonData_call.class b/Dozentenmodulserver/bin/server/Server$AsyncClient$getPersonData_call.class index 49bd00d0..f9a7d59c 100644 Binary files a/Dozentenmodulserver/bin/server/Server$AsyncClient$getPersonData_call.class and b/Dozentenmodulserver/bin/server/Server$AsyncClient$getPersonData_call.class differ diff --git a/Dozentenmodulserver/bin/server/Server$AsyncClient$startFileCopy_call.class b/Dozentenmodulserver/bin/server/Server$AsyncClient$startFileCopy_call.class new file mode 100644 index 00000000..5af5b67f Binary files /dev/null and b/Dozentenmodulserver/bin/server/Server$AsyncClient$startFileCopy_call.class differ diff --git a/Dozentenmodulserver/bin/server/Server$AsyncClient$updateImageData_call.class b/Dozentenmodulserver/bin/server/Server$AsyncClient$updateImageData_call.class new file mode 100644 index 00000000..d6ba0c07 Binary files /dev/null and b/Dozentenmodulserver/bin/server/Server$AsyncClient$updateImageData_call.class differ diff --git a/Dozentenmodulserver/bin/server/Server$AsyncClient$writeLecturedata_call.class b/Dozentenmodulserver/bin/server/Server$AsyncClient$writeLecturedata_call.class index 20fd007f..5fabc8b7 100644 Binary files a/Dozentenmodulserver/bin/server/Server$AsyncClient$writeLecturedata_call.class and b/Dozentenmodulserver/bin/server/Server$AsyncClient$writeLecturedata_call.class differ diff --git a/Dozentenmodulserver/bin/server/Server$AsyncClient$writeVLdata_call.class b/Dozentenmodulserver/bin/server/Server$AsyncClient$writeVLdata_call.class index 07def1d7..fe0ef5f5 100644 Binary files a/Dozentenmodulserver/bin/server/Server$AsyncClient$writeVLdata_call.class and b/Dozentenmodulserver/bin/server/Server$AsyncClient$writeVLdata_call.class differ diff --git a/Dozentenmodulserver/bin/server/Server$AsyncClient.class b/Dozentenmodulserver/bin/server/Server$AsyncClient.class index d1be51a1..67c5c2e5 100644 Binary files a/Dozentenmodulserver/bin/server/Server$AsyncClient.class and b/Dozentenmodulserver/bin/server/Server$AsyncClient.class differ diff --git a/Dozentenmodulserver/bin/server/Server$AsyncIface.class b/Dozentenmodulserver/bin/server/Server$AsyncIface.class index 9aa7b280..8b9ee74b 100644 Binary files a/Dozentenmodulserver/bin/server/Server$AsyncIface.class and b/Dozentenmodulserver/bin/server/Server$AsyncIface.class differ diff --git a/Dozentenmodulserver/bin/server/Server$AsyncProcessor$DeleteFtpUser$1.class b/Dozentenmodulserver/bin/server/Server$AsyncProcessor$DeleteFtpUser$1.class deleted file mode 100644 index bc0a316b..00000000 Binary files a/Dozentenmodulserver/bin/server/Server$AsyncProcessor$DeleteFtpUser$1.class and /dev/null differ diff --git a/Dozentenmodulserver/bin/server/Server$AsyncProcessor$DeleteFtpUser.class b/Dozentenmodulserver/bin/server/Server$AsyncProcessor$DeleteFtpUser.class index 61d10987..78f5e45f 100644 Binary files a/Dozentenmodulserver/bin/server/Server$AsyncProcessor$DeleteFtpUser.class and b/Dozentenmodulserver/bin/server/Server$AsyncProcessor$DeleteFtpUser.class differ diff --git a/Dozentenmodulserver/bin/server/Server$AsyncProcessor$getAllOS$1.class b/Dozentenmodulserver/bin/server/Server$AsyncProcessor$getAllOS$1.class deleted file mode 100644 index ac1435db..00000000 Binary files a/Dozentenmodulserver/bin/server/Server$AsyncProcessor$getAllOS$1.class and /dev/null differ diff --git a/Dozentenmodulserver/bin/server/Server$AsyncProcessor$getAllOS.class b/Dozentenmodulserver/bin/server/Server$AsyncProcessor$getAllOS.class index 87fedf44..aaefe6b7 100644 Binary files a/Dozentenmodulserver/bin/server/Server$AsyncProcessor$getAllOS.class and b/Dozentenmodulserver/bin/server/Server$AsyncProcessor$getAllOS.class differ diff --git a/Dozentenmodulserver/bin/server/Server$AsyncProcessor$getFtpUser$1.class b/Dozentenmodulserver/bin/server/Server$AsyncProcessor$getFtpUser$1.class deleted file mode 100644 index 40feea3c..00000000 Binary files a/Dozentenmodulserver/bin/server/Server$AsyncProcessor$getFtpUser$1.class and /dev/null differ diff --git a/Dozentenmodulserver/bin/server/Server$AsyncProcessor$getFtpUser.class b/Dozentenmodulserver/bin/server/Server$AsyncProcessor$getFtpUser.class index 71d85012..49a0f26b 100644 Binary files a/Dozentenmodulserver/bin/server/Server$AsyncProcessor$getFtpUser.class and b/Dozentenmodulserver/bin/server/Server$AsyncProcessor$getFtpUser.class differ diff --git a/Dozentenmodulserver/bin/server/Server$AsyncProcessor$getImageData$1.class b/Dozentenmodulserver/bin/server/Server$AsyncProcessor$getImageData$1.class new file mode 100644 index 00000000..97226ece Binary files /dev/null and b/Dozentenmodulserver/bin/server/Server$AsyncProcessor$getImageData$1.class differ diff --git a/Dozentenmodulserver/bin/server/Server$AsyncProcessor$getImageData.class b/Dozentenmodulserver/bin/server/Server$AsyncProcessor$getImageData.class new file mode 100644 index 00000000..b13764ef Binary files /dev/null and b/Dozentenmodulserver/bin/server/Server$AsyncProcessor$getImageData.class differ diff --git a/Dozentenmodulserver/bin/server/Server$AsyncProcessor$getImageList$1.class b/Dozentenmodulserver/bin/server/Server$AsyncProcessor$getImageList$1.class deleted file mode 100644 index 14789d7a..00000000 Binary files a/Dozentenmodulserver/bin/server/Server$AsyncProcessor$getImageList$1.class and /dev/null differ diff --git a/Dozentenmodulserver/bin/server/Server$AsyncProcessor$getImageList.class b/Dozentenmodulserver/bin/server/Server$AsyncProcessor$getImageList.class index e2898535..3a88ce37 100644 Binary files a/Dozentenmodulserver/bin/server/Server$AsyncProcessor$getImageList.class and b/Dozentenmodulserver/bin/server/Server$AsyncProcessor$getImageList.class differ diff --git a/Dozentenmodulserver/bin/server/Server$AsyncProcessor$getImages$1.class b/Dozentenmodulserver/bin/server/Server$AsyncProcessor$getImages$1.class deleted file mode 100644 index ddc2db72..00000000 Binary files a/Dozentenmodulserver/bin/server/Server$AsyncProcessor$getImages$1.class and /dev/null differ diff --git a/Dozentenmodulserver/bin/server/Server$AsyncProcessor$getImages.class b/Dozentenmodulserver/bin/server/Server$AsyncProcessor$getImages.class index c1c4dc48..9fc4ea92 100644 Binary files a/Dozentenmodulserver/bin/server/Server$AsyncProcessor$getImages.class and b/Dozentenmodulserver/bin/server/Server$AsyncProcessor$getImages.class differ diff --git a/Dozentenmodulserver/bin/server/Server$AsyncProcessor$getPathOfImage$1.class b/Dozentenmodulserver/bin/server/Server$AsyncProcessor$getPathOfImage$1.class deleted file mode 100644 index 4a288d59..00000000 Binary files a/Dozentenmodulserver/bin/server/Server$AsyncProcessor$getPathOfImage$1.class and /dev/null differ diff --git a/Dozentenmodulserver/bin/server/Server$AsyncProcessor$getPathOfImage.class b/Dozentenmodulserver/bin/server/Server$AsyncProcessor$getPathOfImage.class index f94ad804..fbf940f7 100644 Binary files a/Dozentenmodulserver/bin/server/Server$AsyncProcessor$getPathOfImage.class and b/Dozentenmodulserver/bin/server/Server$AsyncProcessor$getPathOfImage.class differ diff --git a/Dozentenmodulserver/bin/server/Server$AsyncProcessor$getPersonData$1.class b/Dozentenmodulserver/bin/server/Server$AsyncProcessor$getPersonData$1.class deleted file mode 100644 index 4e7bfb81..00000000 Binary files a/Dozentenmodulserver/bin/server/Server$AsyncProcessor$getPersonData$1.class and /dev/null differ diff --git a/Dozentenmodulserver/bin/server/Server$AsyncProcessor$getPersonData.class b/Dozentenmodulserver/bin/server/Server$AsyncProcessor$getPersonData.class index ed49e98f..cb0fa3f3 100644 Binary files a/Dozentenmodulserver/bin/server/Server$AsyncProcessor$getPersonData.class and b/Dozentenmodulserver/bin/server/Server$AsyncProcessor$getPersonData.class differ diff --git a/Dozentenmodulserver/bin/server/Server$AsyncProcessor$startFileCopy$1.class b/Dozentenmodulserver/bin/server/Server$AsyncProcessor$startFileCopy$1.class new file mode 100644 index 00000000..df7b394c Binary files /dev/null and b/Dozentenmodulserver/bin/server/Server$AsyncProcessor$startFileCopy$1.class differ diff --git a/Dozentenmodulserver/bin/server/Server$AsyncProcessor$startFileCopy.class b/Dozentenmodulserver/bin/server/Server$AsyncProcessor$startFileCopy.class new file mode 100644 index 00000000..157435ac Binary files /dev/null and b/Dozentenmodulserver/bin/server/Server$AsyncProcessor$startFileCopy.class differ diff --git a/Dozentenmodulserver/bin/server/Server$AsyncProcessor$updateImageData$1.class b/Dozentenmodulserver/bin/server/Server$AsyncProcessor$updateImageData$1.class new file mode 100644 index 00000000..b5758c82 Binary files /dev/null and b/Dozentenmodulserver/bin/server/Server$AsyncProcessor$updateImageData$1.class differ diff --git a/Dozentenmodulserver/bin/server/Server$AsyncProcessor$updateImageData.class b/Dozentenmodulserver/bin/server/Server$AsyncProcessor$updateImageData.class new file mode 100644 index 00000000..0a1bf7a6 Binary files /dev/null and b/Dozentenmodulserver/bin/server/Server$AsyncProcessor$updateImageData.class differ diff --git a/Dozentenmodulserver/bin/server/Server$AsyncProcessor$writeLecturedata$1.class b/Dozentenmodulserver/bin/server/Server$AsyncProcessor$writeLecturedata$1.class deleted file mode 100644 index df2b6a9c..00000000 Binary files a/Dozentenmodulserver/bin/server/Server$AsyncProcessor$writeLecturedata$1.class and /dev/null differ diff --git a/Dozentenmodulserver/bin/server/Server$AsyncProcessor$writeLecturedata.class b/Dozentenmodulserver/bin/server/Server$AsyncProcessor$writeLecturedata.class index 5664236e..33d60f15 100644 Binary files a/Dozentenmodulserver/bin/server/Server$AsyncProcessor$writeLecturedata.class and b/Dozentenmodulserver/bin/server/Server$AsyncProcessor$writeLecturedata.class differ diff --git a/Dozentenmodulserver/bin/server/Server$AsyncProcessor$writeVLdata$1.class b/Dozentenmodulserver/bin/server/Server$AsyncProcessor$writeVLdata$1.class deleted file mode 100644 index a1c6d582..00000000 Binary files a/Dozentenmodulserver/bin/server/Server$AsyncProcessor$writeVLdata$1.class and /dev/null differ diff --git a/Dozentenmodulserver/bin/server/Server$AsyncProcessor$writeVLdata.class b/Dozentenmodulserver/bin/server/Server$AsyncProcessor$writeVLdata.class index f0df5ac0..c5d0f961 100644 Binary files a/Dozentenmodulserver/bin/server/Server$AsyncProcessor$writeVLdata.class and b/Dozentenmodulserver/bin/server/Server$AsyncProcessor$writeVLdata.class differ diff --git a/Dozentenmodulserver/bin/server/Server$AsyncProcessor.class b/Dozentenmodulserver/bin/server/Server$AsyncProcessor.class index db502b47..6bbfa3a3 100644 Binary files a/Dozentenmodulserver/bin/server/Server$AsyncProcessor.class and b/Dozentenmodulserver/bin/server/Server$AsyncProcessor.class differ diff --git a/Dozentenmodulserver/bin/server/Server$Client$Factory.class b/Dozentenmodulserver/bin/server/Server$Client$Factory.class index 0406711b..a1088cef 100644 Binary files a/Dozentenmodulserver/bin/server/Server$Client$Factory.class and b/Dozentenmodulserver/bin/server/Server$Client$Factory.class differ diff --git a/Dozentenmodulserver/bin/server/Server$Client.class b/Dozentenmodulserver/bin/server/Server$Client.class index add04104..8945f922 100644 Binary files a/Dozentenmodulserver/bin/server/Server$Client.class and b/Dozentenmodulserver/bin/server/Server$Client.class differ diff --git a/Dozentenmodulserver/bin/server/Server$DeleteFtpUser_args$DeleteFtpUser_argsStandardScheme.class b/Dozentenmodulserver/bin/server/Server$DeleteFtpUser_args$DeleteFtpUser_argsStandardScheme.class index 1191867e..3e523047 100644 Binary files a/Dozentenmodulserver/bin/server/Server$DeleteFtpUser_args$DeleteFtpUser_argsStandardScheme.class and b/Dozentenmodulserver/bin/server/Server$DeleteFtpUser_args$DeleteFtpUser_argsStandardScheme.class differ diff --git a/Dozentenmodulserver/bin/server/Server$DeleteFtpUser_args$DeleteFtpUser_argsStandardSchemeFactory.class b/Dozentenmodulserver/bin/server/Server$DeleteFtpUser_args$DeleteFtpUser_argsStandardSchemeFactory.class index 02fc15bd..69764a0f 100644 Binary files a/Dozentenmodulserver/bin/server/Server$DeleteFtpUser_args$DeleteFtpUser_argsStandardSchemeFactory.class and b/Dozentenmodulserver/bin/server/Server$DeleteFtpUser_args$DeleteFtpUser_argsStandardSchemeFactory.class differ diff --git a/Dozentenmodulserver/bin/server/Server$DeleteFtpUser_args$DeleteFtpUser_argsTupleScheme.class b/Dozentenmodulserver/bin/server/Server$DeleteFtpUser_args$DeleteFtpUser_argsTupleScheme.class index 6c98f0d5..ee8e6598 100644 Binary files a/Dozentenmodulserver/bin/server/Server$DeleteFtpUser_args$DeleteFtpUser_argsTupleScheme.class and b/Dozentenmodulserver/bin/server/Server$DeleteFtpUser_args$DeleteFtpUser_argsTupleScheme.class differ diff --git a/Dozentenmodulserver/bin/server/Server$DeleteFtpUser_args$DeleteFtpUser_argsTupleSchemeFactory.class b/Dozentenmodulserver/bin/server/Server$DeleteFtpUser_args$DeleteFtpUser_argsTupleSchemeFactory.class index a7fbc48a..7f34e06e 100644 Binary files a/Dozentenmodulserver/bin/server/Server$DeleteFtpUser_args$DeleteFtpUser_argsTupleSchemeFactory.class and b/Dozentenmodulserver/bin/server/Server$DeleteFtpUser_args$DeleteFtpUser_argsTupleSchemeFactory.class differ diff --git a/Dozentenmodulserver/bin/server/Server$DeleteFtpUser_args$_Fields.class b/Dozentenmodulserver/bin/server/Server$DeleteFtpUser_args$_Fields.class index ba605764..1db5c5c4 100644 Binary files a/Dozentenmodulserver/bin/server/Server$DeleteFtpUser_args$_Fields.class and b/Dozentenmodulserver/bin/server/Server$DeleteFtpUser_args$_Fields.class differ diff --git a/Dozentenmodulserver/bin/server/Server$DeleteFtpUser_args.class b/Dozentenmodulserver/bin/server/Server$DeleteFtpUser_args.class index 102765ea..5685d9d1 100644 Binary files a/Dozentenmodulserver/bin/server/Server$DeleteFtpUser_args.class and b/Dozentenmodulserver/bin/server/Server$DeleteFtpUser_args.class differ diff --git a/Dozentenmodulserver/bin/server/Server$DeleteFtpUser_result$DeleteFtpUser_resultStandardScheme.class b/Dozentenmodulserver/bin/server/Server$DeleteFtpUser_result$DeleteFtpUser_resultStandardScheme.class index 2c99b1ff..0e5dd93f 100644 Binary files a/Dozentenmodulserver/bin/server/Server$DeleteFtpUser_result$DeleteFtpUser_resultStandardScheme.class and b/Dozentenmodulserver/bin/server/Server$DeleteFtpUser_result$DeleteFtpUser_resultStandardScheme.class differ diff --git a/Dozentenmodulserver/bin/server/Server$DeleteFtpUser_result$DeleteFtpUser_resultStandardSchemeFactory.class b/Dozentenmodulserver/bin/server/Server$DeleteFtpUser_result$DeleteFtpUser_resultStandardSchemeFactory.class index e9e4cce0..54bdfb03 100644 Binary files a/Dozentenmodulserver/bin/server/Server$DeleteFtpUser_result$DeleteFtpUser_resultStandardSchemeFactory.class and b/Dozentenmodulserver/bin/server/Server$DeleteFtpUser_result$DeleteFtpUser_resultStandardSchemeFactory.class differ diff --git a/Dozentenmodulserver/bin/server/Server$DeleteFtpUser_result$DeleteFtpUser_resultTupleScheme.class b/Dozentenmodulserver/bin/server/Server$DeleteFtpUser_result$DeleteFtpUser_resultTupleScheme.class index 677f7674..7fe07c2e 100644 Binary files a/Dozentenmodulserver/bin/server/Server$DeleteFtpUser_result$DeleteFtpUser_resultTupleScheme.class and b/Dozentenmodulserver/bin/server/Server$DeleteFtpUser_result$DeleteFtpUser_resultTupleScheme.class differ diff --git a/Dozentenmodulserver/bin/server/Server$DeleteFtpUser_result$DeleteFtpUser_resultTupleSchemeFactory.class b/Dozentenmodulserver/bin/server/Server$DeleteFtpUser_result$DeleteFtpUser_resultTupleSchemeFactory.class index 80950864..2dbb4d7e 100644 Binary files a/Dozentenmodulserver/bin/server/Server$DeleteFtpUser_result$DeleteFtpUser_resultTupleSchemeFactory.class and b/Dozentenmodulserver/bin/server/Server$DeleteFtpUser_result$DeleteFtpUser_resultTupleSchemeFactory.class differ diff --git a/Dozentenmodulserver/bin/server/Server$DeleteFtpUser_result$_Fields.class b/Dozentenmodulserver/bin/server/Server$DeleteFtpUser_result$_Fields.class index 8d98b743..0e16bb85 100644 Binary files a/Dozentenmodulserver/bin/server/Server$DeleteFtpUser_result$_Fields.class and b/Dozentenmodulserver/bin/server/Server$DeleteFtpUser_result$_Fields.class differ diff --git a/Dozentenmodulserver/bin/server/Server$DeleteFtpUser_result.class b/Dozentenmodulserver/bin/server/Server$DeleteFtpUser_result.class index b2ea20ca..b6439b75 100644 Binary files a/Dozentenmodulserver/bin/server/Server$DeleteFtpUser_result.class and b/Dozentenmodulserver/bin/server/Server$DeleteFtpUser_result.class differ diff --git a/Dozentenmodulserver/bin/server/Server$Iface.class b/Dozentenmodulserver/bin/server/Server$Iface.class index 0ea90ba1..e55efaca 100644 Binary files a/Dozentenmodulserver/bin/server/Server$Iface.class and b/Dozentenmodulserver/bin/server/Server$Iface.class differ diff --git a/Dozentenmodulserver/bin/server/Server$Processor$DeleteFtpUser.class b/Dozentenmodulserver/bin/server/Server$Processor$DeleteFtpUser.class index 9c0ee549..7bb704d7 100644 Binary files a/Dozentenmodulserver/bin/server/Server$Processor$DeleteFtpUser.class and b/Dozentenmodulserver/bin/server/Server$Processor$DeleteFtpUser.class differ diff --git a/Dozentenmodulserver/bin/server/Server$Processor$getAllOS.class b/Dozentenmodulserver/bin/server/Server$Processor$getAllOS.class index 5118d7c6..4d57dd86 100644 Binary files a/Dozentenmodulserver/bin/server/Server$Processor$getAllOS.class and b/Dozentenmodulserver/bin/server/Server$Processor$getAllOS.class differ diff --git a/Dozentenmodulserver/bin/server/Server$Processor$getFtpUser.class b/Dozentenmodulserver/bin/server/Server$Processor$getFtpUser.class index a9eb446d..2706645e 100644 Binary files a/Dozentenmodulserver/bin/server/Server$Processor$getFtpUser.class and b/Dozentenmodulserver/bin/server/Server$Processor$getFtpUser.class differ diff --git a/Dozentenmodulserver/bin/server/Server$Processor$getImageData.class b/Dozentenmodulserver/bin/server/Server$Processor$getImageData.class new file mode 100644 index 00000000..e434bff0 Binary files /dev/null and b/Dozentenmodulserver/bin/server/Server$Processor$getImageData.class differ diff --git a/Dozentenmodulserver/bin/server/Server$Processor$getImageList.class b/Dozentenmodulserver/bin/server/Server$Processor$getImageList.class index cba4cb71..314bfc7e 100644 Binary files a/Dozentenmodulserver/bin/server/Server$Processor$getImageList.class and b/Dozentenmodulserver/bin/server/Server$Processor$getImageList.class differ diff --git a/Dozentenmodulserver/bin/server/Server$Processor$getImages.class b/Dozentenmodulserver/bin/server/Server$Processor$getImages.class index 864e29b3..ab119e82 100644 Binary files a/Dozentenmodulserver/bin/server/Server$Processor$getImages.class and b/Dozentenmodulserver/bin/server/Server$Processor$getImages.class differ diff --git a/Dozentenmodulserver/bin/server/Server$Processor$getPathOfImage.class b/Dozentenmodulserver/bin/server/Server$Processor$getPathOfImage.class index b070d975..57c172ec 100644 Binary files a/Dozentenmodulserver/bin/server/Server$Processor$getPathOfImage.class and b/Dozentenmodulserver/bin/server/Server$Processor$getPathOfImage.class differ diff --git a/Dozentenmodulserver/bin/server/Server$Processor$getPersonData.class b/Dozentenmodulserver/bin/server/Server$Processor$getPersonData.class index 04eb7145..6f913f8b 100644 Binary files a/Dozentenmodulserver/bin/server/Server$Processor$getPersonData.class and b/Dozentenmodulserver/bin/server/Server$Processor$getPersonData.class differ diff --git a/Dozentenmodulserver/bin/server/Server$Processor$startFileCopy.class b/Dozentenmodulserver/bin/server/Server$Processor$startFileCopy.class new file mode 100644 index 00000000..3eb4149e Binary files /dev/null and b/Dozentenmodulserver/bin/server/Server$Processor$startFileCopy.class differ diff --git a/Dozentenmodulserver/bin/server/Server$Processor$updateImageData.class b/Dozentenmodulserver/bin/server/Server$Processor$updateImageData.class new file mode 100644 index 00000000..ef2188da Binary files /dev/null and b/Dozentenmodulserver/bin/server/Server$Processor$updateImageData.class differ diff --git a/Dozentenmodulserver/bin/server/Server$Processor$writeLecturedata.class b/Dozentenmodulserver/bin/server/Server$Processor$writeLecturedata.class index 6e6e9d4a..ce35be56 100644 Binary files a/Dozentenmodulserver/bin/server/Server$Processor$writeLecturedata.class and b/Dozentenmodulserver/bin/server/Server$Processor$writeLecturedata.class differ diff --git a/Dozentenmodulserver/bin/server/Server$Processor$writeVLdata.class b/Dozentenmodulserver/bin/server/Server$Processor$writeVLdata.class index e65ab367..c7ca3585 100644 Binary files a/Dozentenmodulserver/bin/server/Server$Processor$writeVLdata.class and b/Dozentenmodulserver/bin/server/Server$Processor$writeVLdata.class differ diff --git a/Dozentenmodulserver/bin/server/Server$Processor.class b/Dozentenmodulserver/bin/server/Server$Processor.class index c2490288..cdde28d3 100644 Binary files a/Dozentenmodulserver/bin/server/Server$Processor.class and b/Dozentenmodulserver/bin/server/Server$Processor.class differ diff --git a/Dozentenmodulserver/bin/server/Server$getAllOS_args$_Fields.class b/Dozentenmodulserver/bin/server/Server$getAllOS_args$_Fields.class index 8068ef6d..acd8c9a5 100644 Binary files a/Dozentenmodulserver/bin/server/Server$getAllOS_args$_Fields.class and b/Dozentenmodulserver/bin/server/Server$getAllOS_args$_Fields.class differ diff --git a/Dozentenmodulserver/bin/server/Server$getAllOS_args$getAllOS_argsStandardScheme.class b/Dozentenmodulserver/bin/server/Server$getAllOS_args$getAllOS_argsStandardScheme.class index d06adcd2..9fb46ff3 100644 Binary files a/Dozentenmodulserver/bin/server/Server$getAllOS_args$getAllOS_argsStandardScheme.class and b/Dozentenmodulserver/bin/server/Server$getAllOS_args$getAllOS_argsStandardScheme.class differ diff --git a/Dozentenmodulserver/bin/server/Server$getAllOS_args$getAllOS_argsStandardSchemeFactory.class b/Dozentenmodulserver/bin/server/Server$getAllOS_args$getAllOS_argsStandardSchemeFactory.class index 0892ad37..1202e7b8 100644 Binary files a/Dozentenmodulserver/bin/server/Server$getAllOS_args$getAllOS_argsStandardSchemeFactory.class and b/Dozentenmodulserver/bin/server/Server$getAllOS_args$getAllOS_argsStandardSchemeFactory.class differ diff --git a/Dozentenmodulserver/bin/server/Server$getAllOS_args$getAllOS_argsTupleScheme.class b/Dozentenmodulserver/bin/server/Server$getAllOS_args$getAllOS_argsTupleScheme.class index 256a7b53..d7204bce 100644 Binary files a/Dozentenmodulserver/bin/server/Server$getAllOS_args$getAllOS_argsTupleScheme.class and b/Dozentenmodulserver/bin/server/Server$getAllOS_args$getAllOS_argsTupleScheme.class differ diff --git a/Dozentenmodulserver/bin/server/Server$getAllOS_args$getAllOS_argsTupleSchemeFactory.class b/Dozentenmodulserver/bin/server/Server$getAllOS_args$getAllOS_argsTupleSchemeFactory.class index d42e3fa4..d2d24e50 100644 Binary files a/Dozentenmodulserver/bin/server/Server$getAllOS_args$getAllOS_argsTupleSchemeFactory.class and b/Dozentenmodulserver/bin/server/Server$getAllOS_args$getAllOS_argsTupleSchemeFactory.class differ diff --git a/Dozentenmodulserver/bin/server/Server$getAllOS_args.class b/Dozentenmodulserver/bin/server/Server$getAllOS_args.class index 8839c2d7..d99a33dd 100644 Binary files a/Dozentenmodulserver/bin/server/Server$getAllOS_args.class and b/Dozentenmodulserver/bin/server/Server$getAllOS_args.class differ diff --git a/Dozentenmodulserver/bin/server/Server$getAllOS_result$_Fields.class b/Dozentenmodulserver/bin/server/Server$getAllOS_result$_Fields.class index b31e3632..00fdbc3e 100644 Binary files a/Dozentenmodulserver/bin/server/Server$getAllOS_result$_Fields.class and b/Dozentenmodulserver/bin/server/Server$getAllOS_result$_Fields.class differ diff --git a/Dozentenmodulserver/bin/server/Server$getAllOS_result$getAllOS_resultStandardScheme.class b/Dozentenmodulserver/bin/server/Server$getAllOS_result$getAllOS_resultStandardScheme.class index c3f60d6b..dd3e2e62 100644 Binary files a/Dozentenmodulserver/bin/server/Server$getAllOS_result$getAllOS_resultStandardScheme.class and b/Dozentenmodulserver/bin/server/Server$getAllOS_result$getAllOS_resultStandardScheme.class differ diff --git a/Dozentenmodulserver/bin/server/Server$getAllOS_result$getAllOS_resultStandardSchemeFactory.class b/Dozentenmodulserver/bin/server/Server$getAllOS_result$getAllOS_resultStandardSchemeFactory.class index 485f0926..c8aa8086 100644 Binary files a/Dozentenmodulserver/bin/server/Server$getAllOS_result$getAllOS_resultStandardSchemeFactory.class and b/Dozentenmodulserver/bin/server/Server$getAllOS_result$getAllOS_resultStandardSchemeFactory.class differ diff --git a/Dozentenmodulserver/bin/server/Server$getAllOS_result$getAllOS_resultTupleScheme.class b/Dozentenmodulserver/bin/server/Server$getAllOS_result$getAllOS_resultTupleScheme.class index 0a2d584a..844999a7 100644 Binary files a/Dozentenmodulserver/bin/server/Server$getAllOS_result$getAllOS_resultTupleScheme.class and b/Dozentenmodulserver/bin/server/Server$getAllOS_result$getAllOS_resultTupleScheme.class differ diff --git a/Dozentenmodulserver/bin/server/Server$getAllOS_result$getAllOS_resultTupleSchemeFactory.class b/Dozentenmodulserver/bin/server/Server$getAllOS_result$getAllOS_resultTupleSchemeFactory.class index bcf78ee1..34be4d7f 100644 Binary files a/Dozentenmodulserver/bin/server/Server$getAllOS_result$getAllOS_resultTupleSchemeFactory.class and b/Dozentenmodulserver/bin/server/Server$getAllOS_result$getAllOS_resultTupleSchemeFactory.class differ diff --git a/Dozentenmodulserver/bin/server/Server$getAllOS_result.class b/Dozentenmodulserver/bin/server/Server$getAllOS_result.class index 536973c6..c55375d7 100644 Binary files a/Dozentenmodulserver/bin/server/Server$getAllOS_result.class and b/Dozentenmodulserver/bin/server/Server$getAllOS_result.class differ diff --git a/Dozentenmodulserver/bin/server/Server$getFtpUser_args$_Fields.class b/Dozentenmodulserver/bin/server/Server$getFtpUser_args$_Fields.class index 8d5287cb..5a4a8d06 100644 Binary files a/Dozentenmodulserver/bin/server/Server$getFtpUser_args$_Fields.class and b/Dozentenmodulserver/bin/server/Server$getFtpUser_args$_Fields.class differ diff --git a/Dozentenmodulserver/bin/server/Server$getFtpUser_args$getFtpUser_argsStandardScheme.class b/Dozentenmodulserver/bin/server/Server$getFtpUser_args$getFtpUser_argsStandardScheme.class index 131c1387..fe6500e8 100644 Binary files a/Dozentenmodulserver/bin/server/Server$getFtpUser_args$getFtpUser_argsStandardScheme.class and b/Dozentenmodulserver/bin/server/Server$getFtpUser_args$getFtpUser_argsStandardScheme.class differ diff --git a/Dozentenmodulserver/bin/server/Server$getFtpUser_args$getFtpUser_argsStandardSchemeFactory.class b/Dozentenmodulserver/bin/server/Server$getFtpUser_args$getFtpUser_argsStandardSchemeFactory.class index d7efbb6b..bd78a191 100644 Binary files a/Dozentenmodulserver/bin/server/Server$getFtpUser_args$getFtpUser_argsStandardSchemeFactory.class and b/Dozentenmodulserver/bin/server/Server$getFtpUser_args$getFtpUser_argsStandardSchemeFactory.class differ diff --git a/Dozentenmodulserver/bin/server/Server$getFtpUser_args$getFtpUser_argsTupleScheme.class b/Dozentenmodulserver/bin/server/Server$getFtpUser_args$getFtpUser_argsTupleScheme.class index c8f8519c..23759e1e 100644 Binary files a/Dozentenmodulserver/bin/server/Server$getFtpUser_args$getFtpUser_argsTupleScheme.class and b/Dozentenmodulserver/bin/server/Server$getFtpUser_args$getFtpUser_argsTupleScheme.class differ diff --git a/Dozentenmodulserver/bin/server/Server$getFtpUser_args$getFtpUser_argsTupleSchemeFactory.class b/Dozentenmodulserver/bin/server/Server$getFtpUser_args$getFtpUser_argsTupleSchemeFactory.class index df906712..763cf69d 100644 Binary files a/Dozentenmodulserver/bin/server/Server$getFtpUser_args$getFtpUser_argsTupleSchemeFactory.class and b/Dozentenmodulserver/bin/server/Server$getFtpUser_args$getFtpUser_argsTupleSchemeFactory.class differ diff --git a/Dozentenmodulserver/bin/server/Server$getFtpUser_args.class b/Dozentenmodulserver/bin/server/Server$getFtpUser_args.class index 542bb0f8..7df3a1e6 100644 Binary files a/Dozentenmodulserver/bin/server/Server$getFtpUser_args.class and b/Dozentenmodulserver/bin/server/Server$getFtpUser_args.class differ diff --git a/Dozentenmodulserver/bin/server/Server$getFtpUser_result$_Fields.class b/Dozentenmodulserver/bin/server/Server$getFtpUser_result$_Fields.class index eedf98f9..10a01836 100644 Binary files a/Dozentenmodulserver/bin/server/Server$getFtpUser_result$_Fields.class and b/Dozentenmodulserver/bin/server/Server$getFtpUser_result$_Fields.class differ diff --git a/Dozentenmodulserver/bin/server/Server$getFtpUser_result$getFtpUser_resultStandardScheme.class b/Dozentenmodulserver/bin/server/Server$getFtpUser_result$getFtpUser_resultStandardScheme.class index e39c03e8..fa864bb8 100644 Binary files a/Dozentenmodulserver/bin/server/Server$getFtpUser_result$getFtpUser_resultStandardScheme.class and b/Dozentenmodulserver/bin/server/Server$getFtpUser_result$getFtpUser_resultStandardScheme.class differ diff --git a/Dozentenmodulserver/bin/server/Server$getFtpUser_result$getFtpUser_resultStandardSchemeFactory.class b/Dozentenmodulserver/bin/server/Server$getFtpUser_result$getFtpUser_resultStandardSchemeFactory.class index ca3c644a..af13045e 100644 Binary files a/Dozentenmodulserver/bin/server/Server$getFtpUser_result$getFtpUser_resultStandardSchemeFactory.class and b/Dozentenmodulserver/bin/server/Server$getFtpUser_result$getFtpUser_resultStandardSchemeFactory.class differ diff --git a/Dozentenmodulserver/bin/server/Server$getFtpUser_result$getFtpUser_resultTupleScheme.class b/Dozentenmodulserver/bin/server/Server$getFtpUser_result$getFtpUser_resultTupleScheme.class index 0449919c..114f7ff8 100644 Binary files a/Dozentenmodulserver/bin/server/Server$getFtpUser_result$getFtpUser_resultTupleScheme.class and b/Dozentenmodulserver/bin/server/Server$getFtpUser_result$getFtpUser_resultTupleScheme.class differ diff --git a/Dozentenmodulserver/bin/server/Server$getFtpUser_result$getFtpUser_resultTupleSchemeFactory.class b/Dozentenmodulserver/bin/server/Server$getFtpUser_result$getFtpUser_resultTupleSchemeFactory.class index 7877a7fe..66340ce5 100644 Binary files a/Dozentenmodulserver/bin/server/Server$getFtpUser_result$getFtpUser_resultTupleSchemeFactory.class and b/Dozentenmodulserver/bin/server/Server$getFtpUser_result$getFtpUser_resultTupleSchemeFactory.class differ diff --git a/Dozentenmodulserver/bin/server/Server$getFtpUser_result.class b/Dozentenmodulserver/bin/server/Server$getFtpUser_result.class index f45a14f8..81000160 100644 Binary files a/Dozentenmodulserver/bin/server/Server$getFtpUser_result.class and b/Dozentenmodulserver/bin/server/Server$getFtpUser_result.class differ diff --git a/Dozentenmodulserver/bin/server/Server$getImageData_args$_Fields.class b/Dozentenmodulserver/bin/server/Server$getImageData_args$_Fields.class new file mode 100644 index 00000000..ea9b5219 Binary files /dev/null and b/Dozentenmodulserver/bin/server/Server$getImageData_args$_Fields.class differ diff --git a/Dozentenmodulserver/bin/server/Server$getImageData_args$getImageData_argsStandardScheme.class b/Dozentenmodulserver/bin/server/Server$getImageData_args$getImageData_argsStandardScheme.class new file mode 100644 index 00000000..10740a7b Binary files /dev/null and b/Dozentenmodulserver/bin/server/Server$getImageData_args$getImageData_argsStandardScheme.class differ diff --git a/Dozentenmodulserver/bin/server/Server$getImageData_args$getImageData_argsStandardSchemeFactory.class b/Dozentenmodulserver/bin/server/Server$getImageData_args$getImageData_argsStandardSchemeFactory.class new file mode 100644 index 00000000..f590572b Binary files /dev/null and b/Dozentenmodulserver/bin/server/Server$getImageData_args$getImageData_argsStandardSchemeFactory.class differ diff --git a/Dozentenmodulserver/bin/server/Server$getImageData_args$getImageData_argsTupleScheme.class b/Dozentenmodulserver/bin/server/Server$getImageData_args$getImageData_argsTupleScheme.class new file mode 100644 index 00000000..23c5d362 Binary files /dev/null and b/Dozentenmodulserver/bin/server/Server$getImageData_args$getImageData_argsTupleScheme.class differ diff --git a/Dozentenmodulserver/bin/server/Server$getImageData_args$getImageData_argsTupleSchemeFactory.class b/Dozentenmodulserver/bin/server/Server$getImageData_args$getImageData_argsTupleSchemeFactory.class new file mode 100644 index 00000000..5c6892f0 Binary files /dev/null and b/Dozentenmodulserver/bin/server/Server$getImageData_args$getImageData_argsTupleSchemeFactory.class differ diff --git a/Dozentenmodulserver/bin/server/Server$getImageData_args.class b/Dozentenmodulserver/bin/server/Server$getImageData_args.class new file mode 100644 index 00000000..ef701cf2 Binary files /dev/null and b/Dozentenmodulserver/bin/server/Server$getImageData_args.class differ diff --git a/Dozentenmodulserver/bin/server/Server$getImageData_result$_Fields.class b/Dozentenmodulserver/bin/server/Server$getImageData_result$_Fields.class new file mode 100644 index 00000000..d4d637a3 Binary files /dev/null and b/Dozentenmodulserver/bin/server/Server$getImageData_result$_Fields.class differ diff --git a/Dozentenmodulserver/bin/server/Server$getImageData_result$getImageData_resultStandardScheme.class b/Dozentenmodulserver/bin/server/Server$getImageData_result$getImageData_resultStandardScheme.class new file mode 100644 index 00000000..484443f0 Binary files /dev/null and b/Dozentenmodulserver/bin/server/Server$getImageData_result$getImageData_resultStandardScheme.class differ diff --git a/Dozentenmodulserver/bin/server/Server$getImageData_result$getImageData_resultStandardSchemeFactory.class b/Dozentenmodulserver/bin/server/Server$getImageData_result$getImageData_resultStandardSchemeFactory.class new file mode 100644 index 00000000..8267839a Binary files /dev/null and b/Dozentenmodulserver/bin/server/Server$getImageData_result$getImageData_resultStandardSchemeFactory.class differ diff --git a/Dozentenmodulserver/bin/server/Server$getImageData_result$getImageData_resultTupleScheme.class b/Dozentenmodulserver/bin/server/Server$getImageData_result$getImageData_resultTupleScheme.class new file mode 100644 index 00000000..bf6fd221 Binary files /dev/null and b/Dozentenmodulserver/bin/server/Server$getImageData_result$getImageData_resultTupleScheme.class differ diff --git a/Dozentenmodulserver/bin/server/Server$getImageData_result$getImageData_resultTupleSchemeFactory.class b/Dozentenmodulserver/bin/server/Server$getImageData_result$getImageData_resultTupleSchemeFactory.class new file mode 100644 index 00000000..b2bdf58c Binary files /dev/null and b/Dozentenmodulserver/bin/server/Server$getImageData_result$getImageData_resultTupleSchemeFactory.class differ diff --git a/Dozentenmodulserver/bin/server/Server$getImageData_result.class b/Dozentenmodulserver/bin/server/Server$getImageData_result.class new file mode 100644 index 00000000..199c9606 Binary files /dev/null and b/Dozentenmodulserver/bin/server/Server$getImageData_result.class differ diff --git a/Dozentenmodulserver/bin/server/Server$getImageList_args$_Fields.class b/Dozentenmodulserver/bin/server/Server$getImageList_args$_Fields.class index e27111e7..e09a2fac 100644 Binary files a/Dozentenmodulserver/bin/server/Server$getImageList_args$_Fields.class and b/Dozentenmodulserver/bin/server/Server$getImageList_args$_Fields.class differ diff --git a/Dozentenmodulserver/bin/server/Server$getImageList_args$getImageList_argsStandardScheme.class b/Dozentenmodulserver/bin/server/Server$getImageList_args$getImageList_argsStandardScheme.class index df3bcde4..b4e12fd3 100644 Binary files a/Dozentenmodulserver/bin/server/Server$getImageList_args$getImageList_argsStandardScheme.class and b/Dozentenmodulserver/bin/server/Server$getImageList_args$getImageList_argsStandardScheme.class differ diff --git a/Dozentenmodulserver/bin/server/Server$getImageList_args$getImageList_argsStandardSchemeFactory.class b/Dozentenmodulserver/bin/server/Server$getImageList_args$getImageList_argsStandardSchemeFactory.class index 957e3a30..1901ac4a 100644 Binary files a/Dozentenmodulserver/bin/server/Server$getImageList_args$getImageList_argsStandardSchemeFactory.class and b/Dozentenmodulserver/bin/server/Server$getImageList_args$getImageList_argsStandardSchemeFactory.class differ diff --git a/Dozentenmodulserver/bin/server/Server$getImageList_args$getImageList_argsTupleScheme.class b/Dozentenmodulserver/bin/server/Server$getImageList_args$getImageList_argsTupleScheme.class index f5a58df8..fe66de87 100644 Binary files a/Dozentenmodulserver/bin/server/Server$getImageList_args$getImageList_argsTupleScheme.class and b/Dozentenmodulserver/bin/server/Server$getImageList_args$getImageList_argsTupleScheme.class differ diff --git a/Dozentenmodulserver/bin/server/Server$getImageList_args$getImageList_argsTupleSchemeFactory.class b/Dozentenmodulserver/bin/server/Server$getImageList_args$getImageList_argsTupleSchemeFactory.class index 2138036c..63c43a95 100644 Binary files a/Dozentenmodulserver/bin/server/Server$getImageList_args$getImageList_argsTupleSchemeFactory.class and b/Dozentenmodulserver/bin/server/Server$getImageList_args$getImageList_argsTupleSchemeFactory.class differ diff --git a/Dozentenmodulserver/bin/server/Server$getImageList_args.class b/Dozentenmodulserver/bin/server/Server$getImageList_args.class index b1f224b6..2f4ec0d5 100644 Binary files a/Dozentenmodulserver/bin/server/Server$getImageList_args.class and b/Dozentenmodulserver/bin/server/Server$getImageList_args.class differ diff --git a/Dozentenmodulserver/bin/server/Server$getImageList_result$_Fields.class b/Dozentenmodulserver/bin/server/Server$getImageList_result$_Fields.class index eaa8b6b9..fda7bca2 100644 Binary files a/Dozentenmodulserver/bin/server/Server$getImageList_result$_Fields.class and b/Dozentenmodulserver/bin/server/Server$getImageList_result$_Fields.class differ diff --git a/Dozentenmodulserver/bin/server/Server$getImageList_result$getImageList_resultStandardScheme.class b/Dozentenmodulserver/bin/server/Server$getImageList_result$getImageList_resultStandardScheme.class index b6fa6a4b..a9128af0 100644 Binary files a/Dozentenmodulserver/bin/server/Server$getImageList_result$getImageList_resultStandardScheme.class and b/Dozentenmodulserver/bin/server/Server$getImageList_result$getImageList_resultStandardScheme.class differ diff --git a/Dozentenmodulserver/bin/server/Server$getImageList_result$getImageList_resultStandardSchemeFactory.class b/Dozentenmodulserver/bin/server/Server$getImageList_result$getImageList_resultStandardSchemeFactory.class index 7206f021..d48ea2ae 100644 Binary files a/Dozentenmodulserver/bin/server/Server$getImageList_result$getImageList_resultStandardSchemeFactory.class and b/Dozentenmodulserver/bin/server/Server$getImageList_result$getImageList_resultStandardSchemeFactory.class differ diff --git a/Dozentenmodulserver/bin/server/Server$getImageList_result$getImageList_resultTupleScheme.class b/Dozentenmodulserver/bin/server/Server$getImageList_result$getImageList_resultTupleScheme.class index 8f856522..c7717082 100644 Binary files a/Dozentenmodulserver/bin/server/Server$getImageList_result$getImageList_resultTupleScheme.class and b/Dozentenmodulserver/bin/server/Server$getImageList_result$getImageList_resultTupleScheme.class differ diff --git a/Dozentenmodulserver/bin/server/Server$getImageList_result$getImageList_resultTupleSchemeFactory.class b/Dozentenmodulserver/bin/server/Server$getImageList_result$getImageList_resultTupleSchemeFactory.class index 387484fd..3324aaca 100644 Binary files a/Dozentenmodulserver/bin/server/Server$getImageList_result$getImageList_resultTupleSchemeFactory.class and b/Dozentenmodulserver/bin/server/Server$getImageList_result$getImageList_resultTupleSchemeFactory.class differ diff --git a/Dozentenmodulserver/bin/server/Server$getImageList_result.class b/Dozentenmodulserver/bin/server/Server$getImageList_result.class index 87873368..8d1c3bc1 100644 Binary files a/Dozentenmodulserver/bin/server/Server$getImageList_result.class and b/Dozentenmodulserver/bin/server/Server$getImageList_result.class differ diff --git a/Dozentenmodulserver/bin/server/Server$getImages_args$_Fields.class b/Dozentenmodulserver/bin/server/Server$getImages_args$_Fields.class index 27a74ca1..6258e64a 100644 Binary files a/Dozentenmodulserver/bin/server/Server$getImages_args$_Fields.class and b/Dozentenmodulserver/bin/server/Server$getImages_args$_Fields.class differ diff --git a/Dozentenmodulserver/bin/server/Server$getImages_args$getImages_argsStandardScheme.class b/Dozentenmodulserver/bin/server/Server$getImages_args$getImages_argsStandardScheme.class index 528c6913..aed4d508 100644 Binary files a/Dozentenmodulserver/bin/server/Server$getImages_args$getImages_argsStandardScheme.class and b/Dozentenmodulserver/bin/server/Server$getImages_args$getImages_argsStandardScheme.class differ diff --git a/Dozentenmodulserver/bin/server/Server$getImages_args$getImages_argsStandardSchemeFactory.class b/Dozentenmodulserver/bin/server/Server$getImages_args$getImages_argsStandardSchemeFactory.class index 870a6eaf..2e843f94 100644 Binary files a/Dozentenmodulserver/bin/server/Server$getImages_args$getImages_argsStandardSchemeFactory.class and b/Dozentenmodulserver/bin/server/Server$getImages_args$getImages_argsStandardSchemeFactory.class differ diff --git a/Dozentenmodulserver/bin/server/Server$getImages_args$getImages_argsTupleScheme.class b/Dozentenmodulserver/bin/server/Server$getImages_args$getImages_argsTupleScheme.class index e1a61916..41a966f7 100644 Binary files a/Dozentenmodulserver/bin/server/Server$getImages_args$getImages_argsTupleScheme.class and b/Dozentenmodulserver/bin/server/Server$getImages_args$getImages_argsTupleScheme.class differ diff --git a/Dozentenmodulserver/bin/server/Server$getImages_args$getImages_argsTupleSchemeFactory.class b/Dozentenmodulserver/bin/server/Server$getImages_args$getImages_argsTupleSchemeFactory.class index fd625462..2a92204c 100644 Binary files a/Dozentenmodulserver/bin/server/Server$getImages_args$getImages_argsTupleSchemeFactory.class and b/Dozentenmodulserver/bin/server/Server$getImages_args$getImages_argsTupleSchemeFactory.class differ diff --git a/Dozentenmodulserver/bin/server/Server$getImages_args.class b/Dozentenmodulserver/bin/server/Server$getImages_args.class index b9b7f657..c68ca8ca 100644 Binary files a/Dozentenmodulserver/bin/server/Server$getImages_args.class and b/Dozentenmodulserver/bin/server/Server$getImages_args.class differ diff --git a/Dozentenmodulserver/bin/server/Server$getImages_result$_Fields.class b/Dozentenmodulserver/bin/server/Server$getImages_result$_Fields.class index 6cd10724..01bfd4f4 100644 Binary files a/Dozentenmodulserver/bin/server/Server$getImages_result$_Fields.class and b/Dozentenmodulserver/bin/server/Server$getImages_result$_Fields.class differ diff --git a/Dozentenmodulserver/bin/server/Server$getImages_result$getImages_resultStandardScheme.class b/Dozentenmodulserver/bin/server/Server$getImages_result$getImages_resultStandardScheme.class index 69242767..1ca5a9b1 100644 Binary files a/Dozentenmodulserver/bin/server/Server$getImages_result$getImages_resultStandardScheme.class and b/Dozentenmodulserver/bin/server/Server$getImages_result$getImages_resultStandardScheme.class differ diff --git a/Dozentenmodulserver/bin/server/Server$getImages_result$getImages_resultStandardSchemeFactory.class b/Dozentenmodulserver/bin/server/Server$getImages_result$getImages_resultStandardSchemeFactory.class index 67cd4169..61195369 100644 Binary files a/Dozentenmodulserver/bin/server/Server$getImages_result$getImages_resultStandardSchemeFactory.class and b/Dozentenmodulserver/bin/server/Server$getImages_result$getImages_resultStandardSchemeFactory.class differ diff --git a/Dozentenmodulserver/bin/server/Server$getImages_result$getImages_resultTupleScheme.class b/Dozentenmodulserver/bin/server/Server$getImages_result$getImages_resultTupleScheme.class index 67c22daa..5bc68640 100644 Binary files a/Dozentenmodulserver/bin/server/Server$getImages_result$getImages_resultTupleScheme.class and b/Dozentenmodulserver/bin/server/Server$getImages_result$getImages_resultTupleScheme.class differ diff --git a/Dozentenmodulserver/bin/server/Server$getImages_result$getImages_resultTupleSchemeFactory.class b/Dozentenmodulserver/bin/server/Server$getImages_result$getImages_resultTupleSchemeFactory.class index 40c4f449..3314acdf 100644 Binary files a/Dozentenmodulserver/bin/server/Server$getImages_result$getImages_resultTupleSchemeFactory.class and b/Dozentenmodulserver/bin/server/Server$getImages_result$getImages_resultTupleSchemeFactory.class differ diff --git a/Dozentenmodulserver/bin/server/Server$getImages_result.class b/Dozentenmodulserver/bin/server/Server$getImages_result.class index 4662ea85..04ab5e6d 100644 Binary files a/Dozentenmodulserver/bin/server/Server$getImages_result.class and b/Dozentenmodulserver/bin/server/Server$getImages_result.class differ diff --git a/Dozentenmodulserver/bin/server/Server$getPathOfImage_args$_Fields.class b/Dozentenmodulserver/bin/server/Server$getPathOfImage_args$_Fields.class index 497f1c9f..5f09f5db 100644 Binary files a/Dozentenmodulserver/bin/server/Server$getPathOfImage_args$_Fields.class and b/Dozentenmodulserver/bin/server/Server$getPathOfImage_args$_Fields.class differ diff --git a/Dozentenmodulserver/bin/server/Server$getPathOfImage_args$getPathOfImage_argsStandardScheme.class b/Dozentenmodulserver/bin/server/Server$getPathOfImage_args$getPathOfImage_argsStandardScheme.class index 99e88cea..808ebfe6 100644 Binary files a/Dozentenmodulserver/bin/server/Server$getPathOfImage_args$getPathOfImage_argsStandardScheme.class and b/Dozentenmodulserver/bin/server/Server$getPathOfImage_args$getPathOfImage_argsStandardScheme.class differ diff --git a/Dozentenmodulserver/bin/server/Server$getPathOfImage_args$getPathOfImage_argsStandardSchemeFactory.class b/Dozentenmodulserver/bin/server/Server$getPathOfImage_args$getPathOfImage_argsStandardSchemeFactory.class index 71e2febe..549b0df5 100644 Binary files a/Dozentenmodulserver/bin/server/Server$getPathOfImage_args$getPathOfImage_argsStandardSchemeFactory.class and b/Dozentenmodulserver/bin/server/Server$getPathOfImage_args$getPathOfImage_argsStandardSchemeFactory.class differ diff --git a/Dozentenmodulserver/bin/server/Server$getPathOfImage_args$getPathOfImage_argsTupleScheme.class b/Dozentenmodulserver/bin/server/Server$getPathOfImage_args$getPathOfImage_argsTupleScheme.class index 9dede6cc..1bf314d6 100644 Binary files a/Dozentenmodulserver/bin/server/Server$getPathOfImage_args$getPathOfImage_argsTupleScheme.class and b/Dozentenmodulserver/bin/server/Server$getPathOfImage_args$getPathOfImage_argsTupleScheme.class differ diff --git a/Dozentenmodulserver/bin/server/Server$getPathOfImage_args$getPathOfImage_argsTupleSchemeFactory.class b/Dozentenmodulserver/bin/server/Server$getPathOfImage_args$getPathOfImage_argsTupleSchemeFactory.class index 2dca70ac..c58d478f 100644 Binary files a/Dozentenmodulserver/bin/server/Server$getPathOfImage_args$getPathOfImage_argsTupleSchemeFactory.class and b/Dozentenmodulserver/bin/server/Server$getPathOfImage_args$getPathOfImage_argsTupleSchemeFactory.class differ diff --git a/Dozentenmodulserver/bin/server/Server$getPathOfImage_args.class b/Dozentenmodulserver/bin/server/Server$getPathOfImage_args.class index 95676a09..c95c1b12 100644 Binary files a/Dozentenmodulserver/bin/server/Server$getPathOfImage_args.class and b/Dozentenmodulserver/bin/server/Server$getPathOfImage_args.class differ diff --git a/Dozentenmodulserver/bin/server/Server$getPathOfImage_result$_Fields.class b/Dozentenmodulserver/bin/server/Server$getPathOfImage_result$_Fields.class index c8395862..5904aa96 100644 Binary files a/Dozentenmodulserver/bin/server/Server$getPathOfImage_result$_Fields.class and b/Dozentenmodulserver/bin/server/Server$getPathOfImage_result$_Fields.class differ diff --git a/Dozentenmodulserver/bin/server/Server$getPathOfImage_result$getPathOfImage_resultStandardScheme.class b/Dozentenmodulserver/bin/server/Server$getPathOfImage_result$getPathOfImage_resultStandardScheme.class index 1356f8ef..dc467539 100644 Binary files a/Dozentenmodulserver/bin/server/Server$getPathOfImage_result$getPathOfImage_resultStandardScheme.class and b/Dozentenmodulserver/bin/server/Server$getPathOfImage_result$getPathOfImage_resultStandardScheme.class differ diff --git a/Dozentenmodulserver/bin/server/Server$getPathOfImage_result$getPathOfImage_resultStandardSchemeFactory.class b/Dozentenmodulserver/bin/server/Server$getPathOfImage_result$getPathOfImage_resultStandardSchemeFactory.class index f3442bc9..4226c7a1 100644 Binary files a/Dozentenmodulserver/bin/server/Server$getPathOfImage_result$getPathOfImage_resultStandardSchemeFactory.class and b/Dozentenmodulserver/bin/server/Server$getPathOfImage_result$getPathOfImage_resultStandardSchemeFactory.class differ diff --git a/Dozentenmodulserver/bin/server/Server$getPathOfImage_result$getPathOfImage_resultTupleScheme.class b/Dozentenmodulserver/bin/server/Server$getPathOfImage_result$getPathOfImage_resultTupleScheme.class index c2b16d2c..dcc5ae29 100644 Binary files a/Dozentenmodulserver/bin/server/Server$getPathOfImage_result$getPathOfImage_resultTupleScheme.class and b/Dozentenmodulserver/bin/server/Server$getPathOfImage_result$getPathOfImage_resultTupleScheme.class differ diff --git a/Dozentenmodulserver/bin/server/Server$getPathOfImage_result$getPathOfImage_resultTupleSchemeFactory.class b/Dozentenmodulserver/bin/server/Server$getPathOfImage_result$getPathOfImage_resultTupleSchemeFactory.class index 5d0ea6e2..62bca8cf 100644 Binary files a/Dozentenmodulserver/bin/server/Server$getPathOfImage_result$getPathOfImage_resultTupleSchemeFactory.class and b/Dozentenmodulserver/bin/server/Server$getPathOfImage_result$getPathOfImage_resultTupleSchemeFactory.class differ diff --git a/Dozentenmodulserver/bin/server/Server$getPathOfImage_result.class b/Dozentenmodulserver/bin/server/Server$getPathOfImage_result.class index d082ca77..452b7c20 100644 Binary files a/Dozentenmodulserver/bin/server/Server$getPathOfImage_result.class and b/Dozentenmodulserver/bin/server/Server$getPathOfImage_result.class differ diff --git a/Dozentenmodulserver/bin/server/Server$getPersonData_args$_Fields.class b/Dozentenmodulserver/bin/server/Server$getPersonData_args$_Fields.class index 0334404a..c5964095 100644 Binary files a/Dozentenmodulserver/bin/server/Server$getPersonData_args$_Fields.class and b/Dozentenmodulserver/bin/server/Server$getPersonData_args$_Fields.class differ diff --git a/Dozentenmodulserver/bin/server/Server$getPersonData_args$getPersonData_argsStandardScheme.class b/Dozentenmodulserver/bin/server/Server$getPersonData_args$getPersonData_argsStandardScheme.class index 4218d645..eee9a5b4 100644 Binary files a/Dozentenmodulserver/bin/server/Server$getPersonData_args$getPersonData_argsStandardScheme.class and b/Dozentenmodulserver/bin/server/Server$getPersonData_args$getPersonData_argsStandardScheme.class differ diff --git a/Dozentenmodulserver/bin/server/Server$getPersonData_args$getPersonData_argsStandardSchemeFactory.class b/Dozentenmodulserver/bin/server/Server$getPersonData_args$getPersonData_argsStandardSchemeFactory.class index c05d2f4c..ec4eca0f 100644 Binary files a/Dozentenmodulserver/bin/server/Server$getPersonData_args$getPersonData_argsStandardSchemeFactory.class and b/Dozentenmodulserver/bin/server/Server$getPersonData_args$getPersonData_argsStandardSchemeFactory.class differ diff --git a/Dozentenmodulserver/bin/server/Server$getPersonData_args$getPersonData_argsTupleScheme.class b/Dozentenmodulserver/bin/server/Server$getPersonData_args$getPersonData_argsTupleScheme.class index 202bcd46..7cd69a98 100644 Binary files a/Dozentenmodulserver/bin/server/Server$getPersonData_args$getPersonData_argsTupleScheme.class and b/Dozentenmodulserver/bin/server/Server$getPersonData_args$getPersonData_argsTupleScheme.class differ diff --git a/Dozentenmodulserver/bin/server/Server$getPersonData_args$getPersonData_argsTupleSchemeFactory.class b/Dozentenmodulserver/bin/server/Server$getPersonData_args$getPersonData_argsTupleSchemeFactory.class index 203b2da3..81eacde4 100644 Binary files a/Dozentenmodulserver/bin/server/Server$getPersonData_args$getPersonData_argsTupleSchemeFactory.class and b/Dozentenmodulserver/bin/server/Server$getPersonData_args$getPersonData_argsTupleSchemeFactory.class differ diff --git a/Dozentenmodulserver/bin/server/Server$getPersonData_args.class b/Dozentenmodulserver/bin/server/Server$getPersonData_args.class index a226d5b6..7306db1f 100644 Binary files a/Dozentenmodulserver/bin/server/Server$getPersonData_args.class and b/Dozentenmodulserver/bin/server/Server$getPersonData_args.class differ diff --git a/Dozentenmodulserver/bin/server/Server$getPersonData_result$_Fields.class b/Dozentenmodulserver/bin/server/Server$getPersonData_result$_Fields.class index 6299bc60..4153a2e7 100644 Binary files a/Dozentenmodulserver/bin/server/Server$getPersonData_result$_Fields.class and b/Dozentenmodulserver/bin/server/Server$getPersonData_result$_Fields.class differ diff --git a/Dozentenmodulserver/bin/server/Server$getPersonData_result$getPersonData_resultStandardScheme.class b/Dozentenmodulserver/bin/server/Server$getPersonData_result$getPersonData_resultStandardScheme.class index 2eef4b54..3701931c 100644 Binary files a/Dozentenmodulserver/bin/server/Server$getPersonData_result$getPersonData_resultStandardScheme.class and b/Dozentenmodulserver/bin/server/Server$getPersonData_result$getPersonData_resultStandardScheme.class differ diff --git a/Dozentenmodulserver/bin/server/Server$getPersonData_result$getPersonData_resultStandardSchemeFactory.class b/Dozentenmodulserver/bin/server/Server$getPersonData_result$getPersonData_resultStandardSchemeFactory.class index 64981f87..099da45d 100644 Binary files a/Dozentenmodulserver/bin/server/Server$getPersonData_result$getPersonData_resultStandardSchemeFactory.class and b/Dozentenmodulserver/bin/server/Server$getPersonData_result$getPersonData_resultStandardSchemeFactory.class differ diff --git a/Dozentenmodulserver/bin/server/Server$getPersonData_result$getPersonData_resultTupleScheme.class b/Dozentenmodulserver/bin/server/Server$getPersonData_result$getPersonData_resultTupleScheme.class index fa6fddda..5b0e349e 100644 Binary files a/Dozentenmodulserver/bin/server/Server$getPersonData_result$getPersonData_resultTupleScheme.class and b/Dozentenmodulserver/bin/server/Server$getPersonData_result$getPersonData_resultTupleScheme.class differ diff --git a/Dozentenmodulserver/bin/server/Server$getPersonData_result$getPersonData_resultTupleSchemeFactory.class b/Dozentenmodulserver/bin/server/Server$getPersonData_result$getPersonData_resultTupleSchemeFactory.class index 74c3c58c..e8ca1a07 100644 Binary files a/Dozentenmodulserver/bin/server/Server$getPersonData_result$getPersonData_resultTupleSchemeFactory.class and b/Dozentenmodulserver/bin/server/Server$getPersonData_result$getPersonData_resultTupleSchemeFactory.class differ diff --git a/Dozentenmodulserver/bin/server/Server$getPersonData_result.class b/Dozentenmodulserver/bin/server/Server$getPersonData_result.class index 7d9322e9..d3e51d66 100644 Binary files a/Dozentenmodulserver/bin/server/Server$getPersonData_result.class and b/Dozentenmodulserver/bin/server/Server$getPersonData_result.class differ diff --git a/Dozentenmodulserver/bin/server/Server$startFileCopy_args$_Fields.class b/Dozentenmodulserver/bin/server/Server$startFileCopy_args$_Fields.class new file mode 100644 index 00000000..bbecb0cf Binary files /dev/null and b/Dozentenmodulserver/bin/server/Server$startFileCopy_args$_Fields.class differ diff --git a/Dozentenmodulserver/bin/server/Server$startFileCopy_args$startFileCopy_argsStandardScheme.class b/Dozentenmodulserver/bin/server/Server$startFileCopy_args$startFileCopy_argsStandardScheme.class new file mode 100644 index 00000000..0668a17e Binary files /dev/null and b/Dozentenmodulserver/bin/server/Server$startFileCopy_args$startFileCopy_argsStandardScheme.class differ diff --git a/Dozentenmodulserver/bin/server/Server$startFileCopy_args$startFileCopy_argsStandardSchemeFactory.class b/Dozentenmodulserver/bin/server/Server$startFileCopy_args$startFileCopy_argsStandardSchemeFactory.class new file mode 100644 index 00000000..0d342d2f Binary files /dev/null and b/Dozentenmodulserver/bin/server/Server$startFileCopy_args$startFileCopy_argsStandardSchemeFactory.class differ diff --git a/Dozentenmodulserver/bin/server/Server$startFileCopy_args$startFileCopy_argsTupleScheme.class b/Dozentenmodulserver/bin/server/Server$startFileCopy_args$startFileCopy_argsTupleScheme.class new file mode 100644 index 00000000..38374d4d Binary files /dev/null and b/Dozentenmodulserver/bin/server/Server$startFileCopy_args$startFileCopy_argsTupleScheme.class differ diff --git a/Dozentenmodulserver/bin/server/Server$startFileCopy_args$startFileCopy_argsTupleSchemeFactory.class b/Dozentenmodulserver/bin/server/Server$startFileCopy_args$startFileCopy_argsTupleSchemeFactory.class new file mode 100644 index 00000000..b0621b7e Binary files /dev/null and b/Dozentenmodulserver/bin/server/Server$startFileCopy_args$startFileCopy_argsTupleSchemeFactory.class differ diff --git a/Dozentenmodulserver/bin/server/Server$startFileCopy_args.class b/Dozentenmodulserver/bin/server/Server$startFileCopy_args.class new file mode 100644 index 00000000..c604dbed Binary files /dev/null and b/Dozentenmodulserver/bin/server/Server$startFileCopy_args.class differ diff --git a/Dozentenmodulserver/bin/server/Server$startFileCopy_result$_Fields.class b/Dozentenmodulserver/bin/server/Server$startFileCopy_result$_Fields.class new file mode 100644 index 00000000..d7d82e3c Binary files /dev/null and b/Dozentenmodulserver/bin/server/Server$startFileCopy_result$_Fields.class differ diff --git a/Dozentenmodulserver/bin/server/Server$startFileCopy_result$startFileCopy_resultStandardScheme.class b/Dozentenmodulserver/bin/server/Server$startFileCopy_result$startFileCopy_resultStandardScheme.class new file mode 100644 index 00000000..7aa32fab Binary files /dev/null and b/Dozentenmodulserver/bin/server/Server$startFileCopy_result$startFileCopy_resultStandardScheme.class differ diff --git a/Dozentenmodulserver/bin/server/Server$startFileCopy_result$startFileCopy_resultStandardSchemeFactory.class b/Dozentenmodulserver/bin/server/Server$startFileCopy_result$startFileCopy_resultStandardSchemeFactory.class new file mode 100644 index 00000000..60e4f4da Binary files /dev/null and b/Dozentenmodulserver/bin/server/Server$startFileCopy_result$startFileCopy_resultStandardSchemeFactory.class differ diff --git a/Dozentenmodulserver/bin/server/Server$startFileCopy_result$startFileCopy_resultTupleScheme.class b/Dozentenmodulserver/bin/server/Server$startFileCopy_result$startFileCopy_resultTupleScheme.class new file mode 100644 index 00000000..b1efae21 Binary files /dev/null and b/Dozentenmodulserver/bin/server/Server$startFileCopy_result$startFileCopy_resultTupleScheme.class differ diff --git a/Dozentenmodulserver/bin/server/Server$startFileCopy_result$startFileCopy_resultTupleSchemeFactory.class b/Dozentenmodulserver/bin/server/Server$startFileCopy_result$startFileCopy_resultTupleSchemeFactory.class new file mode 100644 index 00000000..508eb6f0 Binary files /dev/null and b/Dozentenmodulserver/bin/server/Server$startFileCopy_result$startFileCopy_resultTupleSchemeFactory.class differ diff --git a/Dozentenmodulserver/bin/server/Server$startFileCopy_result.class b/Dozentenmodulserver/bin/server/Server$startFileCopy_result.class new file mode 100644 index 00000000..3f5ca56c Binary files /dev/null and b/Dozentenmodulserver/bin/server/Server$startFileCopy_result.class differ diff --git a/Dozentenmodulserver/bin/server/Server$updateImageData_args$_Fields.class b/Dozentenmodulserver/bin/server/Server$updateImageData_args$_Fields.class new file mode 100644 index 00000000..b39db78a Binary files /dev/null and b/Dozentenmodulserver/bin/server/Server$updateImageData_args$_Fields.class differ diff --git a/Dozentenmodulserver/bin/server/Server$updateImageData_args$updateImageData_argsStandardScheme.class b/Dozentenmodulserver/bin/server/Server$updateImageData_args$updateImageData_argsStandardScheme.class new file mode 100644 index 00000000..0bfda7b1 Binary files /dev/null and b/Dozentenmodulserver/bin/server/Server$updateImageData_args$updateImageData_argsStandardScheme.class differ diff --git a/Dozentenmodulserver/bin/server/Server$updateImageData_args$updateImageData_argsStandardSchemeFactory.class b/Dozentenmodulserver/bin/server/Server$updateImageData_args$updateImageData_argsStandardSchemeFactory.class new file mode 100644 index 00000000..9ce25317 Binary files /dev/null and b/Dozentenmodulserver/bin/server/Server$updateImageData_args$updateImageData_argsStandardSchemeFactory.class differ diff --git a/Dozentenmodulserver/bin/server/Server$updateImageData_args$updateImageData_argsTupleScheme.class b/Dozentenmodulserver/bin/server/Server$updateImageData_args$updateImageData_argsTupleScheme.class new file mode 100644 index 00000000..c3e3c2df Binary files /dev/null and b/Dozentenmodulserver/bin/server/Server$updateImageData_args$updateImageData_argsTupleScheme.class differ diff --git a/Dozentenmodulserver/bin/server/Server$updateImageData_args$updateImageData_argsTupleSchemeFactory.class b/Dozentenmodulserver/bin/server/Server$updateImageData_args$updateImageData_argsTupleSchemeFactory.class new file mode 100644 index 00000000..bf7198bd Binary files /dev/null and b/Dozentenmodulserver/bin/server/Server$updateImageData_args$updateImageData_argsTupleSchemeFactory.class differ diff --git a/Dozentenmodulserver/bin/server/Server$updateImageData_args.class b/Dozentenmodulserver/bin/server/Server$updateImageData_args.class new file mode 100644 index 00000000..7974620d Binary files /dev/null and b/Dozentenmodulserver/bin/server/Server$updateImageData_args.class differ diff --git a/Dozentenmodulserver/bin/server/Server$updateImageData_result$_Fields.class b/Dozentenmodulserver/bin/server/Server$updateImageData_result$_Fields.class new file mode 100644 index 00000000..662449f4 Binary files /dev/null and b/Dozentenmodulserver/bin/server/Server$updateImageData_result$_Fields.class differ diff --git a/Dozentenmodulserver/bin/server/Server$updateImageData_result$updateImageData_resultStandardScheme.class b/Dozentenmodulserver/bin/server/Server$updateImageData_result$updateImageData_resultStandardScheme.class new file mode 100644 index 00000000..fe293b00 Binary files /dev/null and b/Dozentenmodulserver/bin/server/Server$updateImageData_result$updateImageData_resultStandardScheme.class differ diff --git a/Dozentenmodulserver/bin/server/Server$updateImageData_result$updateImageData_resultStandardSchemeFactory.class b/Dozentenmodulserver/bin/server/Server$updateImageData_result$updateImageData_resultStandardSchemeFactory.class new file mode 100644 index 00000000..e39ceb45 Binary files /dev/null and b/Dozentenmodulserver/bin/server/Server$updateImageData_result$updateImageData_resultStandardSchemeFactory.class differ diff --git a/Dozentenmodulserver/bin/server/Server$updateImageData_result$updateImageData_resultTupleScheme.class b/Dozentenmodulserver/bin/server/Server$updateImageData_result$updateImageData_resultTupleScheme.class new file mode 100644 index 00000000..a0d7eb54 Binary files /dev/null and b/Dozentenmodulserver/bin/server/Server$updateImageData_result$updateImageData_resultTupleScheme.class differ diff --git a/Dozentenmodulserver/bin/server/Server$updateImageData_result$updateImageData_resultTupleSchemeFactory.class b/Dozentenmodulserver/bin/server/Server$updateImageData_result$updateImageData_resultTupleSchemeFactory.class new file mode 100644 index 00000000..15dcf24a Binary files /dev/null and b/Dozentenmodulserver/bin/server/Server$updateImageData_result$updateImageData_resultTupleSchemeFactory.class differ diff --git a/Dozentenmodulserver/bin/server/Server$updateImageData_result.class b/Dozentenmodulserver/bin/server/Server$updateImageData_result.class new file mode 100644 index 00000000..3c06c213 Binary files /dev/null and b/Dozentenmodulserver/bin/server/Server$updateImageData_result.class differ diff --git a/Dozentenmodulserver/bin/server/Server$writeLecturedata_args$_Fields.class b/Dozentenmodulserver/bin/server/Server$writeLecturedata_args$_Fields.class index e340b697..975fbbd0 100644 Binary files a/Dozentenmodulserver/bin/server/Server$writeLecturedata_args$_Fields.class and b/Dozentenmodulserver/bin/server/Server$writeLecturedata_args$_Fields.class differ diff --git a/Dozentenmodulserver/bin/server/Server$writeLecturedata_args$writeLecturedata_argsStandardScheme.class b/Dozentenmodulserver/bin/server/Server$writeLecturedata_args$writeLecturedata_argsStandardScheme.class index 4c9c07c3..aa466c83 100644 Binary files a/Dozentenmodulserver/bin/server/Server$writeLecturedata_args$writeLecturedata_argsStandardScheme.class and b/Dozentenmodulserver/bin/server/Server$writeLecturedata_args$writeLecturedata_argsStandardScheme.class differ diff --git a/Dozentenmodulserver/bin/server/Server$writeLecturedata_args$writeLecturedata_argsStandardSchemeFactory.class b/Dozentenmodulserver/bin/server/Server$writeLecturedata_args$writeLecturedata_argsStandardSchemeFactory.class index 56edc2a6..6a6c9642 100644 Binary files a/Dozentenmodulserver/bin/server/Server$writeLecturedata_args$writeLecturedata_argsStandardSchemeFactory.class and b/Dozentenmodulserver/bin/server/Server$writeLecturedata_args$writeLecturedata_argsStandardSchemeFactory.class differ diff --git a/Dozentenmodulserver/bin/server/Server$writeLecturedata_args$writeLecturedata_argsTupleScheme.class b/Dozentenmodulserver/bin/server/Server$writeLecturedata_args$writeLecturedata_argsTupleScheme.class index d78b0f78..a9ccf4b9 100644 Binary files a/Dozentenmodulserver/bin/server/Server$writeLecturedata_args$writeLecturedata_argsTupleScheme.class and b/Dozentenmodulserver/bin/server/Server$writeLecturedata_args$writeLecturedata_argsTupleScheme.class differ diff --git a/Dozentenmodulserver/bin/server/Server$writeLecturedata_args$writeLecturedata_argsTupleSchemeFactory.class b/Dozentenmodulserver/bin/server/Server$writeLecturedata_args$writeLecturedata_argsTupleSchemeFactory.class index 9d076c31..fc9a392b 100644 Binary files a/Dozentenmodulserver/bin/server/Server$writeLecturedata_args$writeLecturedata_argsTupleSchemeFactory.class and b/Dozentenmodulserver/bin/server/Server$writeLecturedata_args$writeLecturedata_argsTupleSchemeFactory.class differ diff --git a/Dozentenmodulserver/bin/server/Server$writeLecturedata_args.class b/Dozentenmodulserver/bin/server/Server$writeLecturedata_args.class index 446e2687..11c42610 100644 Binary files a/Dozentenmodulserver/bin/server/Server$writeLecturedata_args.class and b/Dozentenmodulserver/bin/server/Server$writeLecturedata_args.class differ diff --git a/Dozentenmodulserver/bin/server/Server$writeLecturedata_result$_Fields.class b/Dozentenmodulserver/bin/server/Server$writeLecturedata_result$_Fields.class index c449a739..691bad30 100644 Binary files a/Dozentenmodulserver/bin/server/Server$writeLecturedata_result$_Fields.class and b/Dozentenmodulserver/bin/server/Server$writeLecturedata_result$_Fields.class differ diff --git a/Dozentenmodulserver/bin/server/Server$writeLecturedata_result$writeLecturedata_resultStandardScheme.class b/Dozentenmodulserver/bin/server/Server$writeLecturedata_result$writeLecturedata_resultStandardScheme.class index c5381e2e..d8a9f148 100644 Binary files a/Dozentenmodulserver/bin/server/Server$writeLecturedata_result$writeLecturedata_resultStandardScheme.class and b/Dozentenmodulserver/bin/server/Server$writeLecturedata_result$writeLecturedata_resultStandardScheme.class differ diff --git a/Dozentenmodulserver/bin/server/Server$writeLecturedata_result$writeLecturedata_resultStandardSchemeFactory.class b/Dozentenmodulserver/bin/server/Server$writeLecturedata_result$writeLecturedata_resultStandardSchemeFactory.class index 2cd2a923..5eec1fc4 100644 Binary files a/Dozentenmodulserver/bin/server/Server$writeLecturedata_result$writeLecturedata_resultStandardSchemeFactory.class and b/Dozentenmodulserver/bin/server/Server$writeLecturedata_result$writeLecturedata_resultStandardSchemeFactory.class differ diff --git a/Dozentenmodulserver/bin/server/Server$writeLecturedata_result$writeLecturedata_resultTupleScheme.class b/Dozentenmodulserver/bin/server/Server$writeLecturedata_result$writeLecturedata_resultTupleScheme.class index 570099f8..baca4a37 100644 Binary files a/Dozentenmodulserver/bin/server/Server$writeLecturedata_result$writeLecturedata_resultTupleScheme.class and b/Dozentenmodulserver/bin/server/Server$writeLecturedata_result$writeLecturedata_resultTupleScheme.class differ diff --git a/Dozentenmodulserver/bin/server/Server$writeLecturedata_result$writeLecturedata_resultTupleSchemeFactory.class b/Dozentenmodulserver/bin/server/Server$writeLecturedata_result$writeLecturedata_resultTupleSchemeFactory.class index 4a0e87a8..6ccd0d98 100644 Binary files a/Dozentenmodulserver/bin/server/Server$writeLecturedata_result$writeLecturedata_resultTupleSchemeFactory.class and b/Dozentenmodulserver/bin/server/Server$writeLecturedata_result$writeLecturedata_resultTupleSchemeFactory.class differ diff --git a/Dozentenmodulserver/bin/server/Server$writeLecturedata_result.class b/Dozentenmodulserver/bin/server/Server$writeLecturedata_result.class index 258b6330..df3fcc10 100644 Binary files a/Dozentenmodulserver/bin/server/Server$writeLecturedata_result.class and b/Dozentenmodulserver/bin/server/Server$writeLecturedata_result.class differ diff --git a/Dozentenmodulserver/bin/server/Server$writeVLdata_args$_Fields.class b/Dozentenmodulserver/bin/server/Server$writeVLdata_args$_Fields.class index 8c6d872e..1b8705f9 100644 Binary files a/Dozentenmodulserver/bin/server/Server$writeVLdata_args$_Fields.class and b/Dozentenmodulserver/bin/server/Server$writeVLdata_args$_Fields.class differ diff --git a/Dozentenmodulserver/bin/server/Server$writeVLdata_args$writeVLdata_argsStandardScheme.class b/Dozentenmodulserver/bin/server/Server$writeVLdata_args$writeVLdata_argsStandardScheme.class index ac0f7bf9..f2fee499 100644 Binary files a/Dozentenmodulserver/bin/server/Server$writeVLdata_args$writeVLdata_argsStandardScheme.class and b/Dozentenmodulserver/bin/server/Server$writeVLdata_args$writeVLdata_argsStandardScheme.class differ diff --git a/Dozentenmodulserver/bin/server/Server$writeVLdata_args$writeVLdata_argsStandardSchemeFactory.class b/Dozentenmodulserver/bin/server/Server$writeVLdata_args$writeVLdata_argsStandardSchemeFactory.class index 3a44ab86..aee142e0 100644 Binary files a/Dozentenmodulserver/bin/server/Server$writeVLdata_args$writeVLdata_argsStandardSchemeFactory.class and b/Dozentenmodulserver/bin/server/Server$writeVLdata_args$writeVLdata_argsStandardSchemeFactory.class differ diff --git a/Dozentenmodulserver/bin/server/Server$writeVLdata_args$writeVLdata_argsTupleScheme.class b/Dozentenmodulserver/bin/server/Server$writeVLdata_args$writeVLdata_argsTupleScheme.class index f3a974f0..3d29639a 100644 Binary files a/Dozentenmodulserver/bin/server/Server$writeVLdata_args$writeVLdata_argsTupleScheme.class and b/Dozentenmodulserver/bin/server/Server$writeVLdata_args$writeVLdata_argsTupleScheme.class differ diff --git a/Dozentenmodulserver/bin/server/Server$writeVLdata_args$writeVLdata_argsTupleSchemeFactory.class b/Dozentenmodulserver/bin/server/Server$writeVLdata_args$writeVLdata_argsTupleSchemeFactory.class index 1c582ef0..d33402b0 100644 Binary files a/Dozentenmodulserver/bin/server/Server$writeVLdata_args$writeVLdata_argsTupleSchemeFactory.class and b/Dozentenmodulserver/bin/server/Server$writeVLdata_args$writeVLdata_argsTupleSchemeFactory.class differ diff --git a/Dozentenmodulserver/bin/server/Server$writeVLdata_args.class b/Dozentenmodulserver/bin/server/Server$writeVLdata_args.class index 579e8b86..3ed0f90a 100644 Binary files a/Dozentenmodulserver/bin/server/Server$writeVLdata_args.class and b/Dozentenmodulserver/bin/server/Server$writeVLdata_args.class differ diff --git a/Dozentenmodulserver/bin/server/Server$writeVLdata_result$_Fields.class b/Dozentenmodulserver/bin/server/Server$writeVLdata_result$_Fields.class index a08d2088..04b29d07 100644 Binary files a/Dozentenmodulserver/bin/server/Server$writeVLdata_result$_Fields.class and b/Dozentenmodulserver/bin/server/Server$writeVLdata_result$_Fields.class differ diff --git a/Dozentenmodulserver/bin/server/Server$writeVLdata_result$writeVLdata_resultStandardScheme.class b/Dozentenmodulserver/bin/server/Server$writeVLdata_result$writeVLdata_resultStandardScheme.class index 45ed0dd0..324b2112 100644 Binary files a/Dozentenmodulserver/bin/server/Server$writeVLdata_result$writeVLdata_resultStandardScheme.class and b/Dozentenmodulserver/bin/server/Server$writeVLdata_result$writeVLdata_resultStandardScheme.class differ diff --git a/Dozentenmodulserver/bin/server/Server$writeVLdata_result$writeVLdata_resultStandardSchemeFactory.class b/Dozentenmodulserver/bin/server/Server$writeVLdata_result$writeVLdata_resultStandardSchemeFactory.class index a5c1672e..6702b59c 100644 Binary files a/Dozentenmodulserver/bin/server/Server$writeVLdata_result$writeVLdata_resultStandardSchemeFactory.class and b/Dozentenmodulserver/bin/server/Server$writeVLdata_result$writeVLdata_resultStandardSchemeFactory.class differ diff --git a/Dozentenmodulserver/bin/server/Server$writeVLdata_result$writeVLdata_resultTupleScheme.class b/Dozentenmodulserver/bin/server/Server$writeVLdata_result$writeVLdata_resultTupleScheme.class index 45b2dfcc..78656531 100644 Binary files a/Dozentenmodulserver/bin/server/Server$writeVLdata_result$writeVLdata_resultTupleScheme.class and b/Dozentenmodulserver/bin/server/Server$writeVLdata_result$writeVLdata_resultTupleScheme.class differ diff --git a/Dozentenmodulserver/bin/server/Server$writeVLdata_result$writeVLdata_resultTupleSchemeFactory.class b/Dozentenmodulserver/bin/server/Server$writeVLdata_result$writeVLdata_resultTupleSchemeFactory.class index acc50ec7..a5de6e5d 100644 Binary files a/Dozentenmodulserver/bin/server/Server$writeVLdata_result$writeVLdata_resultTupleSchemeFactory.class and b/Dozentenmodulserver/bin/server/Server$writeVLdata_result$writeVLdata_resultTupleSchemeFactory.class differ diff --git a/Dozentenmodulserver/bin/server/Server$writeVLdata_result.class b/Dozentenmodulserver/bin/server/Server$writeVLdata_result.class index fdcc464f..5c2fe397 100644 Binary files a/Dozentenmodulserver/bin/server/Server$writeVLdata_result.class and b/Dozentenmodulserver/bin/server/Server$writeVLdata_result.class differ diff --git a/Dozentenmodulserver/bin/server/Server.class b/Dozentenmodulserver/bin/server/Server.class index af9172e7..930bf12e 100644 Binary files a/Dozentenmodulserver/bin/server/Server.class and b/Dozentenmodulserver/bin/server/Server.class differ diff --git a/Dozentenmodulserver/bin/server/ServerHandler.class b/Dozentenmodulserver/bin/server/ServerHandler.class index 5f865381..9037194f 100644 Binary files a/Dozentenmodulserver/bin/server/ServerHandler.class and b/Dozentenmodulserver/bin/server/ServerHandler.class differ diff --git a/Dozentenmodulserver/bin/server/User$UserStandardScheme.class b/Dozentenmodulserver/bin/server/User$UserStandardScheme.class index b25a2613..b431453b 100644 Binary files a/Dozentenmodulserver/bin/server/User$UserStandardScheme.class and b/Dozentenmodulserver/bin/server/User$UserStandardScheme.class differ diff --git a/Dozentenmodulserver/bin/server/User$UserStandardSchemeFactory.class b/Dozentenmodulserver/bin/server/User$UserStandardSchemeFactory.class index 0e4017f8..176c88aa 100644 Binary files a/Dozentenmodulserver/bin/server/User$UserStandardSchemeFactory.class and b/Dozentenmodulserver/bin/server/User$UserStandardSchemeFactory.class differ diff --git a/Dozentenmodulserver/bin/server/User$UserTupleScheme.class b/Dozentenmodulserver/bin/server/User$UserTupleScheme.class index 8b2f8aa7..ef7626d2 100644 Binary files a/Dozentenmodulserver/bin/server/User$UserTupleScheme.class and b/Dozentenmodulserver/bin/server/User$UserTupleScheme.class differ diff --git a/Dozentenmodulserver/bin/server/User$UserTupleSchemeFactory.class b/Dozentenmodulserver/bin/server/User$UserTupleSchemeFactory.class index f88d2c7c..4e4fba66 100644 Binary files a/Dozentenmodulserver/bin/server/User$UserTupleSchemeFactory.class and b/Dozentenmodulserver/bin/server/User$UserTupleSchemeFactory.class differ diff --git a/Dozentenmodulserver/bin/server/User$_Fields.class b/Dozentenmodulserver/bin/server/User$_Fields.class index b00860c9..8837c194 100644 Binary files a/Dozentenmodulserver/bin/server/User$_Fields.class and b/Dozentenmodulserver/bin/server/User$_Fields.class differ diff --git a/Dozentenmodulserver/bin/server/User.class b/Dozentenmodulserver/bin/server/User.class index e81a2862..b19fe5bd 100644 Binary files a/Dozentenmodulserver/bin/server/User.class and b/Dozentenmodulserver/bin/server/User.class differ diff --git a/Dozentenmodulserver/bin/sql/SQL.class b/Dozentenmodulserver/bin/sql/SQL.class index 593b47bf..8451b9f6 100644 Binary files a/Dozentenmodulserver/bin/sql/SQL.class and b/Dozentenmodulserver/bin/sql/SQL.class differ diff --git a/Dozentenmodulserver/lib/commons-io-2.4.jar b/Dozentenmodulserver/lib/commons-io-2.4.jar new file mode 100644 index 00000000..90035a4f Binary files /dev/null and b/Dozentenmodulserver/lib/commons-io-2.4.jar differ diff --git a/Dozentenmodulserver/src/server/Image.java b/Dozentenmodulserver/src/server/Image.java index e142b86e..ec1a813f 100644 --- a/Dozentenmodulserver/src/server/Image.java +++ b/Dozentenmodulserver/src/server/Image.java @@ -5,20 +5,32 @@ * @generated */ package server; -import java.util.BitSet; -import java.util.Collections; -import java.util.EnumMap; -import java.util.EnumSet; -import java.util.HashMap; -import java.util.Map; - -import org.apache.thrift.protocol.TTupleProtocol; import org.apache.thrift.scheme.IScheme; import org.apache.thrift.scheme.SchemeFactory; import org.apache.thrift.scheme.StandardScheme; + import org.apache.thrift.scheme.TupleScheme; +import org.apache.thrift.protocol.TTupleProtocol; +import org.apache.thrift.protocol.TProtocolException; +import org.apache.thrift.EncodingUtils; +import org.apache.thrift.TException; +import org.apache.thrift.async.AsyncMethodCallback; +import org.apache.thrift.server.AbstractNonblockingServer.*; +import java.util.List; +import java.util.ArrayList; +import java.util.Map; +import java.util.HashMap; +import java.util.EnumMap; +import java.util.Set; +import java.util.HashSet; +import java.util.EnumSet; +import java.util.Collections; +import java.util.BitSet; +import java.nio.ByteBuffer; +import java.util.Arrays; +import org.slf4j.Logger; +import org.slf4j.LoggerFactory; -@SuppressWarnings("serial") public class Image implements org.apache.thrift.TBase, java.io.Serializable, Cloneable, Comparable { private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("Image"); @@ -29,8 +41,7 @@ public class Image implements org.apache.thrift.TBase, jav private static final org.apache.thrift.protocol.TField UPDATE_TIME_FIELD_DESC = new org.apache.thrift.protocol.TField("updateTime", org.apache.thrift.protocol.TType.STRING, (short)-5); private static final org.apache.thrift.protocol.TField USER_DATA_FIELD_DESC = new org.apache.thrift.protocol.TField("userData", org.apache.thrift.protocol.TType.STRING, (short)-6); - @SuppressWarnings("rawtypes") -private static final Map, SchemeFactory> schemes = new HashMap, SchemeFactory>(); + private static final Map, SchemeFactory> schemes = new HashMap, SchemeFactory>(); static { schemes.put(StandardScheme.class, new ImageStandardSchemeFactory()); schemes.put(TupleScheme.class, new ImageTupleSchemeFactory()); @@ -588,13 +599,11 @@ private static final Map, SchemeFactory> schemes = new return _Fields.findByThriftId(fieldId); } - @SuppressWarnings("unchecked") -public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException { + public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException { schemes.get(iprot.getScheme()).getScheme().read(iprot, this); } - @SuppressWarnings("unchecked") -public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache.thrift.TException { + public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache.thrift.TException { schemes.get(oprot.getScheme()).getScheme().write(oprot, this); } @@ -676,8 +685,7 @@ public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache. } private static class ImageStandardSchemeFactory implements SchemeFactory { - @SuppressWarnings("unchecked") - public ImageStandardScheme getScheme() { + public ImageStandardScheme getScheme() { return new ImageStandardScheme(); } } @@ -794,8 +802,7 @@ public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache. } private static class ImageTupleSchemeFactory implements SchemeFactory { - @SuppressWarnings("unchecked") - public ImageTupleScheme getScheme() { + public ImageTupleScheme getScheme() { return new ImageTupleScheme(); } } diff --git a/Dozentenmodulserver/src/server/Server.java b/Dozentenmodulserver/src/server/Server.java index a0342201..73ffb544 100644 --- a/Dozentenmodulserver/src/server/Server.java +++ b/Dozentenmodulserver/src/server/Server.java @@ -5,24 +5,29 @@ * @generated */ package server; -import java.util.ArrayList; -import java.util.BitSet; -import java.util.Collections; -import java.util.EnumMap; -import java.util.EnumSet; -import java.util.HashMap; -import java.util.List; -import java.util.Map; - -import org.apache.thrift.EncodingUtils; -import org.apache.thrift.TException; -import org.apache.thrift.async.AsyncMethodCallback; -import org.apache.thrift.protocol.TTupleProtocol; import org.apache.thrift.scheme.IScheme; import org.apache.thrift.scheme.SchemeFactory; import org.apache.thrift.scheme.StandardScheme; + import org.apache.thrift.scheme.TupleScheme; -import org.apache.thrift.server.AbstractNonblockingServer.AsyncFrameBuffer; +import org.apache.thrift.protocol.TTupleProtocol; +import org.apache.thrift.protocol.TProtocolException; +import org.apache.thrift.EncodingUtils; +import org.apache.thrift.TException; +import org.apache.thrift.async.AsyncMethodCallback; +import org.apache.thrift.server.AbstractNonblockingServer.*; +import java.util.List; +import java.util.ArrayList; +import java.util.Map; +import java.util.HashMap; +import java.util.EnumMap; +import java.util.Set; +import java.util.HashSet; +import java.util.EnumSet; +import java.util.Collections; +import java.util.BitSet; +import java.nio.ByteBuffer; +import java.util.Arrays; import org.slf4j.Logger; import org.slf4j.LoggerFactory; @@ -48,27 +53,39 @@ public class Server { public boolean writeLecturedata(String name, String shortdesc, String desc, String startDate, String endDate, boolean isActive, String imagename, String firstname, String lastname, String university, String Mail, String Tel, String Fak) throws org.apache.thrift.TException; + public boolean startFileCopy(String file) throws org.apache.thrift.TException; + + public Map getImageData(String imagename) throws org.apache.thrift.TException; + + public boolean updateImageData(String name, String newName, boolean license, boolean internet, long ram, long cpu) throws org.apache.thrift.TException; + } public interface AsyncIface { - public void getFtpUser(@SuppressWarnings("rawtypes") org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException; + public void getFtpUser(org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException; + + public void DeleteFtpUser(String user, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException; + + public void getImages(org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException; + + public void getPathOfImage(String name, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException; - public void DeleteFtpUser(String user, @SuppressWarnings("rawtypes") org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException; + public void writeVLdata(String imagename, String firstname, String lastname, String university, String Mail, String Tel, String Fak, boolean license, boolean internet, long ram, long cpu, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException; - public void getImages(@SuppressWarnings("rawtypes") org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException; + public void getImageList(org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException; - public void getPathOfImage(String name, @SuppressWarnings("rawtypes") org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException; + public void getAllOS(org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException; - public void writeVLdata(String imagename, String firstname, String lastname, String university, String Mail, String Tel, String Fak, boolean license, boolean internet, long ram, long cpu, @SuppressWarnings("rawtypes") org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException; + public void getPersonData(String Vorname, String Nachname, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException; - public void getImageList(@SuppressWarnings("rawtypes") org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException; + public void writeLecturedata(String name, String shortdesc, String desc, String startDate, String endDate, boolean isActive, String imagename, String firstname, String lastname, String university, String Mail, String Tel, String Fak, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException; - public void getAllOS(@SuppressWarnings("rawtypes") org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException; + public void startFileCopy(String file, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException; - public void getPersonData(String Vorname, String Nachname, @SuppressWarnings("rawtypes") org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException; + public void getImageData(String imagename, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException; - public void writeLecturedata(String name, String shortdesc, String desc, String startDate, String endDate, boolean isActive, String imagename, String firstname, String lastname, String university, String Mail, String Tel, String Fak, @SuppressWarnings("rawtypes") org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException; + public void updateImageData(String name, String newName, boolean license, boolean internet, long ram, long cpu, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException; } @@ -318,6 +335,80 @@ public class Server { throw new org.apache.thrift.TApplicationException(org.apache.thrift.TApplicationException.MISSING_RESULT, "writeLecturedata failed: unknown result"); } + public boolean startFileCopy(String file) throws org.apache.thrift.TException + { + send_startFileCopy(file); + return recv_startFileCopy(); + } + + public void send_startFileCopy(String file) throws org.apache.thrift.TException + { + startFileCopy_args args = new startFileCopy_args(); + args.setFile(file); + sendBase("startFileCopy", args); + } + + public boolean recv_startFileCopy() throws org.apache.thrift.TException + { + startFileCopy_result result = new startFileCopy_result(); + receiveBase(result, "startFileCopy"); + if (result.isSetSuccess()) { + return result.success; + } + throw new org.apache.thrift.TApplicationException(org.apache.thrift.TApplicationException.MISSING_RESULT, "startFileCopy failed: unknown result"); + } + + public Map getImageData(String imagename) throws org.apache.thrift.TException + { + send_getImageData(imagename); + return recv_getImageData(); + } + + public void send_getImageData(String imagename) throws org.apache.thrift.TException + { + getImageData_args args = new getImageData_args(); + args.setImagename(imagename); + sendBase("getImageData", args); + } + + public Map recv_getImageData() throws org.apache.thrift.TException + { + getImageData_result result = new getImageData_result(); + receiveBase(result, "getImageData"); + if (result.isSetSuccess()) { + return result.success; + } + throw new org.apache.thrift.TApplicationException(org.apache.thrift.TApplicationException.MISSING_RESULT, "getImageData failed: unknown result"); + } + + public boolean updateImageData(String name, String newName, boolean license, boolean internet, long ram, long cpu) throws org.apache.thrift.TException + { + send_updateImageData(name, newName, license, internet, ram, cpu); + return recv_updateImageData(); + } + + public void send_updateImageData(String name, String newName, boolean license, boolean internet, long ram, long cpu) throws org.apache.thrift.TException + { + updateImageData_args args = new updateImageData_args(); + args.setName(name); + args.setNewName(newName); + args.setLicense(license); + args.setInternet(internet); + args.setRam(ram); + args.setCpu(cpu); + sendBase("updateImageData", args); + } + + public boolean recv_updateImageData() throws org.apache.thrift.TException + { + updateImageData_result result = new updateImageData_result(); + receiveBase(result, "updateImageData"); + if (result.isSetSuccess()) { + return result.success; + } + throw new org.apache.thrift.TApplicationException(org.apache.thrift.TApplicationException.MISSING_RESULT, "updateImageData failed: unknown result"); + } + } public static class AsyncClient extends org.apache.thrift.async.TAsyncClient implements AsyncIface { public static class Factory implements org.apache.thrift.async.TAsyncClientFactory { @@ -336,17 +427,15 @@ public class Server { super(protocolFactory, clientManager, transport); } - public void getFtpUser(@SuppressWarnings("rawtypes") org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException { + public void getFtpUser(org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException { checkReady(); getFtpUser_call method_call = new getFtpUser_call(resultHandler, this, ___protocolFactory, ___transport); this.___currentMethod = method_call; ___manager.call(method_call); } - @SuppressWarnings("rawtypes") - public static class getFtpUser_call extends org.apache.thrift.async.TAsyncMethodCall { - @SuppressWarnings("unchecked") - public getFtpUser_call(org.apache.thrift.async.AsyncMethodCallback resultHandler, org.apache.thrift.async.TAsyncClient client, org.apache.thrift.protocol.TProtocolFactory protocolFactory, org.apache.thrift.transport.TNonblockingTransport transport) throws org.apache.thrift.TException { + public static class getFtpUser_call extends org.apache.thrift.async.TAsyncMethodCall { + public getFtpUser_call(org.apache.thrift.async.AsyncMethodCallback resultHandler, org.apache.thrift.async.TAsyncClient client, org.apache.thrift.protocol.TProtocolFactory protocolFactory, org.apache.thrift.transport.TNonblockingTransport transport) throws org.apache.thrift.TException { super(client, protocolFactory, transport, resultHandler, false); } @@ -367,18 +456,16 @@ public class Server { } } - public void DeleteFtpUser(String user, @SuppressWarnings("rawtypes") org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException { + public void DeleteFtpUser(String user, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException { checkReady(); DeleteFtpUser_call method_call = new DeleteFtpUser_call(user, resultHandler, this, ___protocolFactory, ___transport); this.___currentMethod = method_call; ___manager.call(method_call); } - @SuppressWarnings("rawtypes") - public static class DeleteFtpUser_call extends org.apache.thrift.async.TAsyncMethodCall { + public static class DeleteFtpUser_call extends org.apache.thrift.async.TAsyncMethodCall { private String user; - @SuppressWarnings("unchecked") - public DeleteFtpUser_call(String user, org.apache.thrift.async.AsyncMethodCallback resultHandler, org.apache.thrift.async.TAsyncClient client, org.apache.thrift.protocol.TProtocolFactory protocolFactory, org.apache.thrift.transport.TNonblockingTransport transport) throws org.apache.thrift.TException { + public DeleteFtpUser_call(String user, org.apache.thrift.async.AsyncMethodCallback resultHandler, org.apache.thrift.async.TAsyncClient client, org.apache.thrift.protocol.TProtocolFactory protocolFactory, org.apache.thrift.transport.TNonblockingTransport transport) throws org.apache.thrift.TException { super(client, protocolFactory, transport, resultHandler, false); this.user = user; } @@ -401,17 +488,15 @@ public class Server { } } - public void getImages(@SuppressWarnings("rawtypes") org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException { + public void getImages(org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException { checkReady(); getImages_call method_call = new getImages_call(resultHandler, this, ___protocolFactory, ___transport); this.___currentMethod = method_call; ___manager.call(method_call); } - @SuppressWarnings("rawtypes") - public static class getImages_call extends org.apache.thrift.async.TAsyncMethodCall { - @SuppressWarnings("unchecked") - public getImages_call(org.apache.thrift.async.AsyncMethodCallback resultHandler, org.apache.thrift.async.TAsyncClient client, org.apache.thrift.protocol.TProtocolFactory protocolFactory, org.apache.thrift.transport.TNonblockingTransport transport) throws org.apache.thrift.TException { + public static class getImages_call extends org.apache.thrift.async.TAsyncMethodCall { + public getImages_call(org.apache.thrift.async.AsyncMethodCallback resultHandler, org.apache.thrift.async.TAsyncClient client, org.apache.thrift.protocol.TProtocolFactory protocolFactory, org.apache.thrift.transport.TNonblockingTransport transport) throws org.apache.thrift.TException { super(client, protocolFactory, transport, resultHandler, false); } @@ -432,18 +517,16 @@ public class Server { } } - public void getPathOfImage(String name, @SuppressWarnings("rawtypes") org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException { + public void getPathOfImage(String name, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException { checkReady(); getPathOfImage_call method_call = new getPathOfImage_call(name, resultHandler, this, ___protocolFactory, ___transport); this.___currentMethod = method_call; ___manager.call(method_call); } - @SuppressWarnings("rawtypes") - public static class getPathOfImage_call extends org.apache.thrift.async.TAsyncMethodCall { + public static class getPathOfImage_call extends org.apache.thrift.async.TAsyncMethodCall { private String name; - @SuppressWarnings("unchecked") - public getPathOfImage_call(String name, org.apache.thrift.async.AsyncMethodCallback resultHandler, org.apache.thrift.async.TAsyncClient client, org.apache.thrift.protocol.TProtocolFactory protocolFactory, org.apache.thrift.transport.TNonblockingTransport transport) throws org.apache.thrift.TException { + public getPathOfImage_call(String name, org.apache.thrift.async.AsyncMethodCallback resultHandler, org.apache.thrift.async.TAsyncClient client, org.apache.thrift.protocol.TProtocolFactory protocolFactory, org.apache.thrift.transport.TNonblockingTransport transport) throws org.apache.thrift.TException { super(client, protocolFactory, transport, resultHandler, false); this.name = name; } @@ -473,8 +556,7 @@ public class Server { ___manager.call(method_call); } - @SuppressWarnings("rawtypes") - public static class writeVLdata_call extends org.apache.thrift.async.TAsyncMethodCall { + public static class writeVLdata_call extends org.apache.thrift.async.TAsyncMethodCall { private String imagename; private String firstname; private String lastname; @@ -486,8 +568,7 @@ public class Server { private boolean internet; private long ram; private long cpu; - @SuppressWarnings("unchecked") - public writeVLdata_call(String imagename, String firstname, String lastname, String university, String Mail, String Tel, String Fak, boolean license, boolean internet, long ram, long cpu, org.apache.thrift.async.AsyncMethodCallback resultHandler, org.apache.thrift.async.TAsyncClient client, org.apache.thrift.protocol.TProtocolFactory protocolFactory, org.apache.thrift.transport.TNonblockingTransport transport) throws org.apache.thrift.TException { + public writeVLdata_call(String imagename, String firstname, String lastname, String university, String Mail, String Tel, String Fak, boolean license, boolean internet, long ram, long cpu, org.apache.thrift.async.AsyncMethodCallback resultHandler, org.apache.thrift.async.TAsyncClient client, org.apache.thrift.protocol.TProtocolFactory protocolFactory, org.apache.thrift.transport.TNonblockingTransport transport) throws org.apache.thrift.TException { super(client, protocolFactory, transport, resultHandler, false); this.imagename = imagename; this.firstname = firstname; @@ -530,17 +611,15 @@ public class Server { } } - public void getImageList(@SuppressWarnings("rawtypes") org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException { + public void getImageList(org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException { checkReady(); getImageList_call method_call = new getImageList_call(resultHandler, this, ___protocolFactory, ___transport); this.___currentMethod = method_call; ___manager.call(method_call); } - @SuppressWarnings("rawtypes") - public static class getImageList_call extends org.apache.thrift.async.TAsyncMethodCall { - @SuppressWarnings("unchecked") - public getImageList_call(org.apache.thrift.async.AsyncMethodCallback resultHandler, org.apache.thrift.async.TAsyncClient client, org.apache.thrift.protocol.TProtocolFactory protocolFactory, org.apache.thrift.transport.TNonblockingTransport transport) throws org.apache.thrift.TException { + public static class getImageList_call extends org.apache.thrift.async.TAsyncMethodCall { + public getImageList_call(org.apache.thrift.async.AsyncMethodCallback resultHandler, org.apache.thrift.async.TAsyncClient client, org.apache.thrift.protocol.TProtocolFactory protocolFactory, org.apache.thrift.transport.TNonblockingTransport transport) throws org.apache.thrift.TException { super(client, protocolFactory, transport, resultHandler, false); } @@ -561,7 +640,7 @@ public class Server { } } - public void getAllOS(@SuppressWarnings("rawtypes") org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException { + public void getAllOS(org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException { checkReady(); getAllOS_call method_call = new getAllOS_call(resultHandler, this, ___protocolFactory, ___transport); this.___currentMethod = method_call; @@ -693,6 +772,117 @@ public class Server { } } + public void startFileCopy(String file, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException { + checkReady(); + startFileCopy_call method_call = new startFileCopy_call(file, resultHandler, this, ___protocolFactory, ___transport); + this.___currentMethod = method_call; + ___manager.call(method_call); + } + + public static class startFileCopy_call extends org.apache.thrift.async.TAsyncMethodCall { + private String file; + public startFileCopy_call(String file, org.apache.thrift.async.AsyncMethodCallback resultHandler, org.apache.thrift.async.TAsyncClient client, org.apache.thrift.protocol.TProtocolFactory protocolFactory, org.apache.thrift.transport.TNonblockingTransport transport) throws org.apache.thrift.TException { + super(client, protocolFactory, transport, resultHandler, false); + this.file = file; + } + + public void write_args(org.apache.thrift.protocol.TProtocol prot) throws org.apache.thrift.TException { + prot.writeMessageBegin(new org.apache.thrift.protocol.TMessage("startFileCopy", org.apache.thrift.protocol.TMessageType.CALL, 0)); + startFileCopy_args args = new startFileCopy_args(); + args.setFile(file); + args.write(prot); + prot.writeMessageEnd(); + } + + public boolean getResult() throws org.apache.thrift.TException { + if (getState() != org.apache.thrift.async.TAsyncMethodCall.State.RESPONSE_READ) { + throw new IllegalStateException("Method call not finished!"); + } + org.apache.thrift.transport.TMemoryInputTransport memoryTransport = new org.apache.thrift.transport.TMemoryInputTransport(getFrameBuffer().array()); + org.apache.thrift.protocol.TProtocol prot = client.getProtocolFactory().getProtocol(memoryTransport); + return (new Client(prot)).recv_startFileCopy(); + } + } + + public void getImageData(String imagename, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException { + checkReady(); + getImageData_call method_call = new getImageData_call(imagename, resultHandler, this, ___protocolFactory, ___transport); + this.___currentMethod = method_call; + ___manager.call(method_call); + } + + public static class getImageData_call extends org.apache.thrift.async.TAsyncMethodCall { + private String imagename; + public getImageData_call(String imagename, org.apache.thrift.async.AsyncMethodCallback resultHandler, org.apache.thrift.async.TAsyncClient client, org.apache.thrift.protocol.TProtocolFactory protocolFactory, org.apache.thrift.transport.TNonblockingTransport transport) throws org.apache.thrift.TException { + super(client, protocolFactory, transport, resultHandler, false); + this.imagename = imagename; + } + + public void write_args(org.apache.thrift.protocol.TProtocol prot) throws org.apache.thrift.TException { + prot.writeMessageBegin(new org.apache.thrift.protocol.TMessage("getImageData", org.apache.thrift.protocol.TMessageType.CALL, 0)); + getImageData_args args = new getImageData_args(); + args.setImagename(imagename); + args.write(prot); + prot.writeMessageEnd(); + } + + public Map getResult() throws org.apache.thrift.TException { + if (getState() != org.apache.thrift.async.TAsyncMethodCall.State.RESPONSE_READ) { + throw new IllegalStateException("Method call not finished!"); + } + org.apache.thrift.transport.TMemoryInputTransport memoryTransport = new org.apache.thrift.transport.TMemoryInputTransport(getFrameBuffer().array()); + org.apache.thrift.protocol.TProtocol prot = client.getProtocolFactory().getProtocol(memoryTransport); + return (new Client(prot)).recv_getImageData(); + } + } + + public void updateImageData(String name, String newName, boolean license, boolean internet, long ram, long cpu, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException { + checkReady(); + updateImageData_call method_call = new updateImageData_call(name, newName, license, internet, ram, cpu, resultHandler, this, ___protocolFactory, ___transport); + this.___currentMethod = method_call; + ___manager.call(method_call); + } + + public static class updateImageData_call extends org.apache.thrift.async.TAsyncMethodCall { + private String name; + private String newName; + private boolean license; + private boolean internet; + private long ram; + private long cpu; + public updateImageData_call(String name, String newName, boolean license, boolean internet, long ram, long cpu, org.apache.thrift.async.AsyncMethodCallback resultHandler, org.apache.thrift.async.TAsyncClient client, org.apache.thrift.protocol.TProtocolFactory protocolFactory, org.apache.thrift.transport.TNonblockingTransport transport) throws org.apache.thrift.TException { + super(client, protocolFactory, transport, resultHandler, false); + this.name = name; + this.newName = newName; + this.license = license; + this.internet = internet; + this.ram = ram; + this.cpu = cpu; + } + + public void write_args(org.apache.thrift.protocol.TProtocol prot) throws org.apache.thrift.TException { + prot.writeMessageBegin(new org.apache.thrift.protocol.TMessage("updateImageData", org.apache.thrift.protocol.TMessageType.CALL, 0)); + updateImageData_args args = new updateImageData_args(); + args.setName(name); + args.setNewName(newName); + args.setLicense(license); + args.setInternet(internet); + args.setRam(ram); + args.setCpu(cpu); + args.write(prot); + prot.writeMessageEnd(); + } + + public boolean getResult() throws org.apache.thrift.TException { + if (getState() != org.apache.thrift.async.TAsyncMethodCall.State.RESPONSE_READ) { + throw new IllegalStateException("Method call not finished!"); + } + org.apache.thrift.transport.TMemoryInputTransport memoryTransport = new org.apache.thrift.transport.TMemoryInputTransport(getFrameBuffer().array()); + org.apache.thrift.protocol.TProtocol prot = client.getProtocolFactory().getProtocol(memoryTransport); + return (new Client(prot)).recv_updateImageData(); + } + } + } public static class Processor extends org.apache.thrift.TBaseProcessor implements org.apache.thrift.TProcessor { @@ -715,6 +905,9 @@ public class Server { processMap.put("getAllOS", new getAllOS()); processMap.put("getPersonData", new getPersonData()); processMap.put("writeLecturedata", new writeLecturedata()); + processMap.put("startFileCopy", new startFileCopy()); + processMap.put("getImageData", new getImageData()); + processMap.put("updateImageData", new updateImageData()); return processMap; } @@ -901,6 +1094,68 @@ public class Server { } } + public static class startFileCopy extends org.apache.thrift.ProcessFunction { + public startFileCopy() { + super("startFileCopy"); + } + + public startFileCopy_args getEmptyArgsInstance() { + return new startFileCopy_args(); + } + + protected boolean isOneway() { + return false; + } + + public startFileCopy_result getResult(I iface, startFileCopy_args args) throws org.apache.thrift.TException { + startFileCopy_result result = new startFileCopy_result(); + result.success = iface.startFileCopy(args.file); + result.setSuccessIsSet(true); + return result; + } + } + + public static class getImageData extends org.apache.thrift.ProcessFunction { + public getImageData() { + super("getImageData"); + } + + public getImageData_args getEmptyArgsInstance() { + return new getImageData_args(); + } + + protected boolean isOneway() { + return false; + } + + public getImageData_result getResult(I iface, getImageData_args args) throws org.apache.thrift.TException { + getImageData_result result = new getImageData_result(); + result.success = iface.getImageData(args.imagename); + return result; + } + } + + public static class updateImageData extends org.apache.thrift.ProcessFunction { + public updateImageData() { + super("updateImageData"); + } + + public updateImageData_args getEmptyArgsInstance() { + return new updateImageData_args(); + } + + protected boolean isOneway() { + return false; + } + + public updateImageData_result getResult(I iface, updateImageData_args args) throws org.apache.thrift.TException { + updateImageData_result result = new updateImageData_result(); + result.success = iface.updateImageData(args.name, args.newName, args.license, args.internet, args.ram, args.cpu); + result.setSuccessIsSet(true); + return result; + } + } + } public static class AsyncProcessor extends org.apache.thrift.TBaseAsyncProcessor { @@ -923,6 +1178,9 @@ public class Server { processMap.put("getAllOS", new getAllOS()); processMap.put("getPersonData", new getPersonData()); processMap.put("writeLecturedata", new writeLecturedata()); + processMap.put("startFileCopy", new startFileCopy()); + processMap.put("getImageData", new getImageData()); + processMap.put("updateImageData", new updateImageData()); return processMap; } @@ -1388,35 +1646,190 @@ public class Server { } } - } - - public static class getFtpUser_args implements org.apache.thrift.TBase, java.io.Serializable, Cloneable, Comparable { - private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("getFtpUser_args"); + public static class startFileCopy extends org.apache.thrift.AsyncProcessFunction { + public startFileCopy() { + super("startFileCopy"); + } + public startFileCopy_args getEmptyArgsInstance() { + return new startFileCopy_args(); + } - private static final Map, SchemeFactory> schemes = new HashMap, SchemeFactory>(); - static { - schemes.put(StandardScheme.class, new getFtpUser_argsStandardSchemeFactory()); - schemes.put(TupleScheme.class, new getFtpUser_argsTupleSchemeFactory()); - } + public AsyncMethodCallback getResultHandler(final AsyncFrameBuffer fb, final int seqid) { + final org.apache.thrift.AsyncProcessFunction fcall = this; + return new AsyncMethodCallback() { + public void onComplete(Boolean o) { + startFileCopy_result result = new startFileCopy_result(); + result.success = o; + result.setSuccessIsSet(true); + try { + fcall.sendResponse(fb,result, org.apache.thrift.protocol.TMessageType.REPLY,seqid); + return; + } catch (Exception e) { + LOGGER.error("Exception writing to internal frame buffer", e); + } + fb.close(); + } + public void onError(Exception e) { + byte msgType = org.apache.thrift.protocol.TMessageType.REPLY; + org.apache.thrift.TBase msg; + startFileCopy_result result = new startFileCopy_result(); + { + msgType = org.apache.thrift.protocol.TMessageType.EXCEPTION; + msg = (org.apache.thrift.TBase)new org.apache.thrift.TApplicationException(org.apache.thrift.TApplicationException.INTERNAL_ERROR, e.getMessage()); + } + try { + fcall.sendResponse(fb,msg,msgType,seqid); + return; + } catch (Exception ex) { + LOGGER.error("Exception writing to internal frame buffer", ex); + } + fb.close(); + } + }; + } + protected boolean isOneway() { + return false; + } - /** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */ - public enum _Fields implements org.apache.thrift.TFieldIdEnum { -; + public void start(I iface, startFileCopy_args args, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws TException { + iface.startFileCopy(args.file,resultHandler); + } + } - private static final Map byName = new HashMap(); + public static class getImageData extends org.apache.thrift.AsyncProcessFunction> { + public getImageData() { + super("getImageData"); + } - static { - for (_Fields field : EnumSet.allOf(_Fields.class)) { - byName.put(field.getFieldName(), field); - } + public getImageData_args getEmptyArgsInstance() { + return new getImageData_args(); } - /** - * Find the _Fields constant that matches fieldId, or null if its not found. - */ - public static _Fields findByThriftId(int fieldId) { + public AsyncMethodCallback> getResultHandler(final AsyncFrameBuffer fb, final int seqid) { + final org.apache.thrift.AsyncProcessFunction fcall = this; + return new AsyncMethodCallback>() { + public void onComplete(Map o) { + getImageData_result result = new getImageData_result(); + result.success = o; + try { + fcall.sendResponse(fb,result, org.apache.thrift.protocol.TMessageType.REPLY,seqid); + return; + } catch (Exception e) { + LOGGER.error("Exception writing to internal frame buffer", e); + } + fb.close(); + } + public void onError(Exception e) { + byte msgType = org.apache.thrift.protocol.TMessageType.REPLY; + org.apache.thrift.TBase msg; + getImageData_result result = new getImageData_result(); + { + msgType = org.apache.thrift.protocol.TMessageType.EXCEPTION; + msg = (org.apache.thrift.TBase)new org.apache.thrift.TApplicationException(org.apache.thrift.TApplicationException.INTERNAL_ERROR, e.getMessage()); + } + try { + fcall.sendResponse(fb,msg,msgType,seqid); + return; + } catch (Exception ex) { + LOGGER.error("Exception writing to internal frame buffer", ex); + } + fb.close(); + } + }; + } + + protected boolean isOneway() { + return false; + } + + public void start(I iface, getImageData_args args, org.apache.thrift.async.AsyncMethodCallback> resultHandler) throws TException { + iface.getImageData(args.imagename,resultHandler); + } + } + + public static class updateImageData extends org.apache.thrift.AsyncProcessFunction { + public updateImageData() { + super("updateImageData"); + } + + public updateImageData_args getEmptyArgsInstance() { + return new updateImageData_args(); + } + + public AsyncMethodCallback getResultHandler(final AsyncFrameBuffer fb, final int seqid) { + final org.apache.thrift.AsyncProcessFunction fcall = this; + return new AsyncMethodCallback() { + public void onComplete(Boolean o) { + updateImageData_result result = new updateImageData_result(); + result.success = o; + result.setSuccessIsSet(true); + try { + fcall.sendResponse(fb,result, org.apache.thrift.protocol.TMessageType.REPLY,seqid); + return; + } catch (Exception e) { + LOGGER.error("Exception writing to internal frame buffer", e); + } + fb.close(); + } + public void onError(Exception e) { + byte msgType = org.apache.thrift.protocol.TMessageType.REPLY; + org.apache.thrift.TBase msg; + updateImageData_result result = new updateImageData_result(); + { + msgType = org.apache.thrift.protocol.TMessageType.EXCEPTION; + msg = (org.apache.thrift.TBase)new org.apache.thrift.TApplicationException(org.apache.thrift.TApplicationException.INTERNAL_ERROR, e.getMessage()); + } + try { + fcall.sendResponse(fb,msg,msgType,seqid); + return; + } catch (Exception ex) { + LOGGER.error("Exception writing to internal frame buffer", ex); + } + fb.close(); + } + }; + } + + protected boolean isOneway() { + return false; + } + + public void start(I iface, updateImageData_args args, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws TException { + iface.updateImageData(args.name, args.newName, args.license, args.internet, args.ram, args.cpu,resultHandler); + } + } + + } + + public static class getFtpUser_args implements org.apache.thrift.TBase, java.io.Serializable, Cloneable, Comparable { + private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("getFtpUser_args"); + + + private static final Map, SchemeFactory> schemes = new HashMap, SchemeFactory>(); + static { + schemes.put(StandardScheme.class, new getFtpUser_argsStandardSchemeFactory()); + schemes.put(TupleScheme.class, new getFtpUser_argsTupleSchemeFactory()); + } + + + /** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */ + public enum _Fields implements org.apache.thrift.TFieldIdEnum { +; + + private static final Map byName = new HashMap(); + + static { + for (_Fields field : EnumSet.allOf(_Fields.class)) { + byName.put(field.getFieldName(), field); + } + } + + /** + * Find the _Fields constant that matches fieldId, or null if its not found. + */ + public static _Fields findByThriftId(int fieldId) { switch(fieldId) { default: return null; @@ -9817,4 +10230,2660 @@ public class Server { } + public static class startFileCopy_args implements org.apache.thrift.TBase, java.io.Serializable, Cloneable, Comparable { + private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("startFileCopy_args"); + + private static final org.apache.thrift.protocol.TField FILE_FIELD_DESC = new org.apache.thrift.protocol.TField("file", org.apache.thrift.protocol.TType.STRING, (short)-1); + + private static final Map, SchemeFactory> schemes = new HashMap, SchemeFactory>(); + static { + schemes.put(StandardScheme.class, new startFileCopy_argsStandardSchemeFactory()); + schemes.put(TupleScheme.class, new startFileCopy_argsTupleSchemeFactory()); + } + + public String file; // required + + /** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */ + public enum _Fields implements org.apache.thrift.TFieldIdEnum { + FILE((short)-1, "file"); + + private static final Map byName = new HashMap(); + + static { + for (_Fields field : EnumSet.allOf(_Fields.class)) { + byName.put(field.getFieldName(), field); + } + } + + /** + * Find the _Fields constant that matches fieldId, or null if its not found. + */ + public static _Fields findByThriftId(int fieldId) { + switch(fieldId) { + case -1: // FILE + return FILE; + default: + return null; + } + } + + /** + * Find the _Fields constant that matches fieldId, throwing an exception + * if it is not found. + */ + public static _Fields findByThriftIdOrThrow(int fieldId) { + _Fields fields = findByThriftId(fieldId); + if (fields == null) throw new IllegalArgumentException("Field " + fieldId + " doesn't exist!"); + return fields; + } + + /** + * Find the _Fields constant that matches name, or null if its not found. + */ + public static _Fields findByName(String name) { + return byName.get(name); + } + + private final short _thriftId; + private final String _fieldName; + + _Fields(short thriftId, String fieldName) { + _thriftId = thriftId; + _fieldName = fieldName; + } + + public short getThriftFieldId() { + return _thriftId; + } + + public String getFieldName() { + return _fieldName; + } + } + + // isset id assignments + public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap; + static { + Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class); + tmpMap.put(_Fields.FILE, new org.apache.thrift.meta_data.FieldMetaData("file", org.apache.thrift.TFieldRequirementType.DEFAULT, + new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRING))); + metaDataMap = Collections.unmodifiableMap(tmpMap); + org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(startFileCopy_args.class, metaDataMap); + } + + public startFileCopy_args() { + } + + public startFileCopy_args( + String file) + { + this(); + this.file = file; + } + + /** + * Performs a deep copy on other. + */ + public startFileCopy_args(startFileCopy_args other) { + if (other.isSetFile()) { + this.file = other.file; + } + } + + public startFileCopy_args deepCopy() { + return new startFileCopy_args(this); + } + + @Override + public void clear() { + this.file = null; + } + + public String getFile() { + return this.file; + } + + public startFileCopy_args setFile(String file) { + this.file = file; + return this; + } + + public void unsetFile() { + this.file = null; + } + + /** Returns true if field file is set (has been assigned a value) and false otherwise */ + public boolean isSetFile() { + return this.file != null; + } + + public void setFileIsSet(boolean value) { + if (!value) { + this.file = null; + } + } + + public void setFieldValue(_Fields field, Object value) { + switch (field) { + case FILE: + if (value == null) { + unsetFile(); + } else { + setFile((String)value); + } + break; + + } + } + + public Object getFieldValue(_Fields field) { + switch (field) { + case FILE: + return getFile(); + + } + throw new IllegalStateException(); + } + + /** Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise */ + public boolean isSet(_Fields field) { + if (field == null) { + throw new IllegalArgumentException(); + } + + switch (field) { + case FILE: + return isSetFile(); + } + throw new IllegalStateException(); + } + + @Override + public boolean equals(Object that) { + if (that == null) + return false; + if (that instanceof startFileCopy_args) + return this.equals((startFileCopy_args)that); + return false; + } + + public boolean equals(startFileCopy_args that) { + if (that == null) + return false; + + boolean this_present_file = true && this.isSetFile(); + boolean that_present_file = true && that.isSetFile(); + if (this_present_file || that_present_file) { + if (!(this_present_file && that_present_file)) + return false; + if (!this.file.equals(that.file)) + return false; + } + + return true; + } + + @Override + public int hashCode() { + return 0; + } + + @Override + public int compareTo(startFileCopy_args other) { + if (!getClass().equals(other.getClass())) { + return getClass().getName().compareTo(other.getClass().getName()); + } + + int lastComparison = 0; + + lastComparison = Boolean.valueOf(isSetFile()).compareTo(other.isSetFile()); + if (lastComparison != 0) { + return lastComparison; + } + if (isSetFile()) { + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.file, other.file); + if (lastComparison != 0) { + return lastComparison; + } + } + return 0; + } + + public _Fields fieldForId(int fieldId) { + return _Fields.findByThriftId(fieldId); + } + + public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException { + schemes.get(iprot.getScheme()).getScheme().read(iprot, this); + } + + public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache.thrift.TException { + schemes.get(oprot.getScheme()).getScheme().write(oprot, this); + } + + @Override + public String toString() { + StringBuilder sb = new StringBuilder("startFileCopy_args("); + boolean first = true; + + sb.append("file:"); + if (this.file == null) { + sb.append("null"); + } else { + sb.append(this.file); + } + first = false; + sb.append(")"); + return sb.toString(); + } + + public void validate() throws org.apache.thrift.TException { + // check for required fields + // check for sub-struct validity + } + + private void writeObject(java.io.ObjectOutputStream out) throws java.io.IOException { + try { + write(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(out))); + } catch (org.apache.thrift.TException te) { + throw new java.io.IOException(te); + } + } + + private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, ClassNotFoundException { + try { + read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in))); + } catch (org.apache.thrift.TException te) { + throw new java.io.IOException(te); + } + } + + private static class startFileCopy_argsStandardSchemeFactory implements SchemeFactory { + public startFileCopy_argsStandardScheme getScheme() { + return new startFileCopy_argsStandardScheme(); + } + } + + private static class startFileCopy_argsStandardScheme extends StandardScheme { + + public void read(org.apache.thrift.protocol.TProtocol iprot, startFileCopy_args struct) throws org.apache.thrift.TException { + org.apache.thrift.protocol.TField schemeField; + iprot.readStructBegin(); + while (true) + { + schemeField = iprot.readFieldBegin(); + if (schemeField.type == org.apache.thrift.protocol.TType.STOP) { + break; + } + switch (schemeField.id) { + case -1: // FILE + if (schemeField.type == org.apache.thrift.protocol.TType.STRING) { + struct.file = iprot.readString(); + struct.setFileIsSet(true); + } else { + org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); + } + break; + default: + org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); + } + iprot.readFieldEnd(); + } + iprot.readStructEnd(); + + // check for required fields of primitive type, which can't be checked in the validate method + struct.validate(); + } + + public void write(org.apache.thrift.protocol.TProtocol oprot, startFileCopy_args struct) throws org.apache.thrift.TException { + struct.validate(); + + oprot.writeStructBegin(STRUCT_DESC); + if (struct.file != null) { + oprot.writeFieldBegin(FILE_FIELD_DESC); + oprot.writeString(struct.file); + oprot.writeFieldEnd(); + } + oprot.writeFieldStop(); + oprot.writeStructEnd(); + } + + } + + private static class startFileCopy_argsTupleSchemeFactory implements SchemeFactory { + public startFileCopy_argsTupleScheme getScheme() { + return new startFileCopy_argsTupleScheme(); + } + } + + private static class startFileCopy_argsTupleScheme extends TupleScheme { + + @Override + public void write(org.apache.thrift.protocol.TProtocol prot, startFileCopy_args struct) throws org.apache.thrift.TException { + TTupleProtocol oprot = (TTupleProtocol) prot; + BitSet optionals = new BitSet(); + if (struct.isSetFile()) { + optionals.set(0); + } + oprot.writeBitSet(optionals, 1); + if (struct.isSetFile()) { + oprot.writeString(struct.file); + } + } + + @Override + public void read(org.apache.thrift.protocol.TProtocol prot, startFileCopy_args struct) throws org.apache.thrift.TException { + TTupleProtocol iprot = (TTupleProtocol) prot; + BitSet incoming = iprot.readBitSet(1); + if (incoming.get(0)) { + struct.file = iprot.readString(); + struct.setFileIsSet(true); + } + } + } + + } + + public static class startFileCopy_result implements org.apache.thrift.TBase, java.io.Serializable, Cloneable, Comparable { + private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("startFileCopy_result"); + + private static final org.apache.thrift.protocol.TField SUCCESS_FIELD_DESC = new org.apache.thrift.protocol.TField("success", org.apache.thrift.protocol.TType.BOOL, (short)0); + + private static final Map, SchemeFactory> schemes = new HashMap, SchemeFactory>(); + static { + schemes.put(StandardScheme.class, new startFileCopy_resultStandardSchemeFactory()); + schemes.put(TupleScheme.class, new startFileCopy_resultTupleSchemeFactory()); + } + + public boolean success; // required + + /** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */ + public enum _Fields implements org.apache.thrift.TFieldIdEnum { + SUCCESS((short)0, "success"); + + private static final Map byName = new HashMap(); + + static { + for (_Fields field : EnumSet.allOf(_Fields.class)) { + byName.put(field.getFieldName(), field); + } + } + + /** + * Find the _Fields constant that matches fieldId, or null if its not found. + */ + public static _Fields findByThriftId(int fieldId) { + switch(fieldId) { + case 0: // SUCCESS + return SUCCESS; + default: + return null; + } + } + + /** + * Find the _Fields constant that matches fieldId, throwing an exception + * if it is not found. + */ + public static _Fields findByThriftIdOrThrow(int fieldId) { + _Fields fields = findByThriftId(fieldId); + if (fields == null) throw new IllegalArgumentException("Field " + fieldId + " doesn't exist!"); + return fields; + } + + /** + * Find the _Fields constant that matches name, or null if its not found. + */ + public static _Fields findByName(String name) { + return byName.get(name); + } + + private final short _thriftId; + private final String _fieldName; + + _Fields(short thriftId, String fieldName) { + _thriftId = thriftId; + _fieldName = fieldName; + } + + public short getThriftFieldId() { + return _thriftId; + } + + public String getFieldName() { + return _fieldName; + } + } + + // isset id assignments + private static final int __SUCCESS_ISSET_ID = 0; + private byte __isset_bitfield = 0; + public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap; + static { + Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class); + tmpMap.put(_Fields.SUCCESS, new org.apache.thrift.meta_data.FieldMetaData("success", org.apache.thrift.TFieldRequirementType.DEFAULT, + new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.BOOL))); + metaDataMap = Collections.unmodifiableMap(tmpMap); + org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(startFileCopy_result.class, metaDataMap); + } + + public startFileCopy_result() { + } + + public startFileCopy_result( + boolean success) + { + this(); + this.success = success; + setSuccessIsSet(true); + } + + /** + * Performs a deep copy on other. + */ + public startFileCopy_result(startFileCopy_result other) { + __isset_bitfield = other.__isset_bitfield; + this.success = other.success; + } + + public startFileCopy_result deepCopy() { + return new startFileCopy_result(this); + } + + @Override + public void clear() { + setSuccessIsSet(false); + this.success = false; + } + + public boolean isSuccess() { + return this.success; + } + + public startFileCopy_result setSuccess(boolean success) { + this.success = success; + setSuccessIsSet(true); + return this; + } + + public void unsetSuccess() { + __isset_bitfield = EncodingUtils.clearBit(__isset_bitfield, __SUCCESS_ISSET_ID); + } + + /** Returns true if field success is set (has been assigned a value) and false otherwise */ + public boolean isSetSuccess() { + return EncodingUtils.testBit(__isset_bitfield, __SUCCESS_ISSET_ID); + } + + public void setSuccessIsSet(boolean value) { + __isset_bitfield = EncodingUtils.setBit(__isset_bitfield, __SUCCESS_ISSET_ID, value); + } + + public void setFieldValue(_Fields field, Object value) { + switch (field) { + case SUCCESS: + if (value == null) { + unsetSuccess(); + } else { + setSuccess((Boolean)value); + } + break; + + } + } + + public Object getFieldValue(_Fields field) { + switch (field) { + case SUCCESS: + return Boolean.valueOf(isSuccess()); + + } + throw new IllegalStateException(); + } + + /** Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise */ + public boolean isSet(_Fields field) { + if (field == null) { + throw new IllegalArgumentException(); + } + + switch (field) { + case SUCCESS: + return isSetSuccess(); + } + throw new IllegalStateException(); + } + + @Override + public boolean equals(Object that) { + if (that == null) + return false; + if (that instanceof startFileCopy_result) + return this.equals((startFileCopy_result)that); + return false; + } + + public boolean equals(startFileCopy_result that) { + if (that == null) + return false; + + boolean this_present_success = true; + boolean that_present_success = true; + if (this_present_success || that_present_success) { + if (!(this_present_success && that_present_success)) + return false; + if (this.success != that.success) + return false; + } + + return true; + } + + @Override + public int hashCode() { + return 0; + } + + @Override + public int compareTo(startFileCopy_result other) { + if (!getClass().equals(other.getClass())) { + return getClass().getName().compareTo(other.getClass().getName()); + } + + int lastComparison = 0; + + lastComparison = Boolean.valueOf(isSetSuccess()).compareTo(other.isSetSuccess()); + if (lastComparison != 0) { + return lastComparison; + } + if (isSetSuccess()) { + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.success, other.success); + if (lastComparison != 0) { + return lastComparison; + } + } + return 0; + } + + public _Fields fieldForId(int fieldId) { + return _Fields.findByThriftId(fieldId); + } + + public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException { + schemes.get(iprot.getScheme()).getScheme().read(iprot, this); + } + + public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache.thrift.TException { + schemes.get(oprot.getScheme()).getScheme().write(oprot, this); + } + + @Override + public String toString() { + StringBuilder sb = new StringBuilder("startFileCopy_result("); + boolean first = true; + + sb.append("success:"); + sb.append(this.success); + first = false; + sb.append(")"); + return sb.toString(); + } + + public void validate() throws org.apache.thrift.TException { + // check for required fields + // check for sub-struct validity + } + + private void writeObject(java.io.ObjectOutputStream out) throws java.io.IOException { + try { + write(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(out))); + } catch (org.apache.thrift.TException te) { + throw new java.io.IOException(te); + } + } + + private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, ClassNotFoundException { + try { + // it doesn't seem like you should have to do this, but java serialization is wacky, and doesn't call the default constructor. + __isset_bitfield = 0; + read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in))); + } catch (org.apache.thrift.TException te) { + throw new java.io.IOException(te); + } + } + + private static class startFileCopy_resultStandardSchemeFactory implements SchemeFactory { + public startFileCopy_resultStandardScheme getScheme() { + return new startFileCopy_resultStandardScheme(); + } + } + + private static class startFileCopy_resultStandardScheme extends StandardScheme { + + public void read(org.apache.thrift.protocol.TProtocol iprot, startFileCopy_result struct) throws org.apache.thrift.TException { + org.apache.thrift.protocol.TField schemeField; + iprot.readStructBegin(); + while (true) + { + schemeField = iprot.readFieldBegin(); + if (schemeField.type == org.apache.thrift.protocol.TType.STOP) { + break; + } + switch (schemeField.id) { + case 0: // SUCCESS + if (schemeField.type == org.apache.thrift.protocol.TType.BOOL) { + struct.success = iprot.readBool(); + struct.setSuccessIsSet(true); + } else { + org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); + } + break; + default: + org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); + } + iprot.readFieldEnd(); + } + iprot.readStructEnd(); + + // check for required fields of primitive type, which can't be checked in the validate method + struct.validate(); + } + + public void write(org.apache.thrift.protocol.TProtocol oprot, startFileCopy_result struct) throws org.apache.thrift.TException { + struct.validate(); + + oprot.writeStructBegin(STRUCT_DESC); + if (struct.isSetSuccess()) { + oprot.writeFieldBegin(SUCCESS_FIELD_DESC); + oprot.writeBool(struct.success); + oprot.writeFieldEnd(); + } + oprot.writeFieldStop(); + oprot.writeStructEnd(); + } + + } + + private static class startFileCopy_resultTupleSchemeFactory implements SchemeFactory { + public startFileCopy_resultTupleScheme getScheme() { + return new startFileCopy_resultTupleScheme(); + } + } + + private static class startFileCopy_resultTupleScheme extends TupleScheme { + + @Override + public void write(org.apache.thrift.protocol.TProtocol prot, startFileCopy_result struct) throws org.apache.thrift.TException { + TTupleProtocol oprot = (TTupleProtocol) prot; + BitSet optionals = new BitSet(); + if (struct.isSetSuccess()) { + optionals.set(0); + } + oprot.writeBitSet(optionals, 1); + if (struct.isSetSuccess()) { + oprot.writeBool(struct.success); + } + } + + @Override + public void read(org.apache.thrift.protocol.TProtocol prot, startFileCopy_result struct) throws org.apache.thrift.TException { + TTupleProtocol iprot = (TTupleProtocol) prot; + BitSet incoming = iprot.readBitSet(1); + if (incoming.get(0)) { + struct.success = iprot.readBool(); + struct.setSuccessIsSet(true); + } + } + } + + } + + public static class getImageData_args implements org.apache.thrift.TBase, java.io.Serializable, Cloneable, Comparable { + private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("getImageData_args"); + + private static final org.apache.thrift.protocol.TField IMAGENAME_FIELD_DESC = new org.apache.thrift.protocol.TField("imagename", org.apache.thrift.protocol.TType.STRING, (short)-1); + + private static final Map, SchemeFactory> schemes = new HashMap, SchemeFactory>(); + static { + schemes.put(StandardScheme.class, new getImageData_argsStandardSchemeFactory()); + schemes.put(TupleScheme.class, new getImageData_argsTupleSchemeFactory()); + } + + public String imagename; // required + + /** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */ + public enum _Fields implements org.apache.thrift.TFieldIdEnum { + IMAGENAME((short)-1, "imagename"); + + private static final Map byName = new HashMap(); + + static { + for (_Fields field : EnumSet.allOf(_Fields.class)) { + byName.put(field.getFieldName(), field); + } + } + + /** + * Find the _Fields constant that matches fieldId, or null if its not found. + */ + public static _Fields findByThriftId(int fieldId) { + switch(fieldId) { + case -1: // IMAGENAME + return IMAGENAME; + default: + return null; + } + } + + /** + * Find the _Fields constant that matches fieldId, throwing an exception + * if it is not found. + */ + public static _Fields findByThriftIdOrThrow(int fieldId) { + _Fields fields = findByThriftId(fieldId); + if (fields == null) throw new IllegalArgumentException("Field " + fieldId + " doesn't exist!"); + return fields; + } + + /** + * Find the _Fields constant that matches name, or null if its not found. + */ + public static _Fields findByName(String name) { + return byName.get(name); + } + + private final short _thriftId; + private final String _fieldName; + + _Fields(short thriftId, String fieldName) { + _thriftId = thriftId; + _fieldName = fieldName; + } + + public short getThriftFieldId() { + return _thriftId; + } + + public String getFieldName() { + return _fieldName; + } + } + + // isset id assignments + public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap; + static { + Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class); + tmpMap.put(_Fields.IMAGENAME, new org.apache.thrift.meta_data.FieldMetaData("imagename", org.apache.thrift.TFieldRequirementType.DEFAULT, + new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRING))); + metaDataMap = Collections.unmodifiableMap(tmpMap); + org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(getImageData_args.class, metaDataMap); + } + + public getImageData_args() { + } + + public getImageData_args( + String imagename) + { + this(); + this.imagename = imagename; + } + + /** + * Performs a deep copy on other. + */ + public getImageData_args(getImageData_args other) { + if (other.isSetImagename()) { + this.imagename = other.imagename; + } + } + + public getImageData_args deepCopy() { + return new getImageData_args(this); + } + + @Override + public void clear() { + this.imagename = null; + } + + public String getImagename() { + return this.imagename; + } + + public getImageData_args setImagename(String imagename) { + this.imagename = imagename; + return this; + } + + public void unsetImagename() { + this.imagename = null; + } + + /** Returns true if field imagename is set (has been assigned a value) and false otherwise */ + public boolean isSetImagename() { + return this.imagename != null; + } + + public void setImagenameIsSet(boolean value) { + if (!value) { + this.imagename = null; + } + } + + public void setFieldValue(_Fields field, Object value) { + switch (field) { + case IMAGENAME: + if (value == null) { + unsetImagename(); + } else { + setImagename((String)value); + } + break; + + } + } + + public Object getFieldValue(_Fields field) { + switch (field) { + case IMAGENAME: + return getImagename(); + + } + throw new IllegalStateException(); + } + + /** Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise */ + public boolean isSet(_Fields field) { + if (field == null) { + throw new IllegalArgumentException(); + } + + switch (field) { + case IMAGENAME: + return isSetImagename(); + } + throw new IllegalStateException(); + } + + @Override + public boolean equals(Object that) { + if (that == null) + return false; + if (that instanceof getImageData_args) + return this.equals((getImageData_args)that); + return false; + } + + public boolean equals(getImageData_args that) { + if (that == null) + return false; + + boolean this_present_imagename = true && this.isSetImagename(); + boolean that_present_imagename = true && that.isSetImagename(); + if (this_present_imagename || that_present_imagename) { + if (!(this_present_imagename && that_present_imagename)) + return false; + if (!this.imagename.equals(that.imagename)) + return false; + } + + return true; + } + + @Override + public int hashCode() { + return 0; + } + + @Override + public int compareTo(getImageData_args other) { + if (!getClass().equals(other.getClass())) { + return getClass().getName().compareTo(other.getClass().getName()); + } + + int lastComparison = 0; + + lastComparison = Boolean.valueOf(isSetImagename()).compareTo(other.isSetImagename()); + if (lastComparison != 0) { + return lastComparison; + } + if (isSetImagename()) { + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.imagename, other.imagename); + if (lastComparison != 0) { + return lastComparison; + } + } + return 0; + } + + public _Fields fieldForId(int fieldId) { + return _Fields.findByThriftId(fieldId); + } + + public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException { + schemes.get(iprot.getScheme()).getScheme().read(iprot, this); + } + + public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache.thrift.TException { + schemes.get(oprot.getScheme()).getScheme().write(oprot, this); + } + + @Override + public String toString() { + StringBuilder sb = new StringBuilder("getImageData_args("); + boolean first = true; + + sb.append("imagename:"); + if (this.imagename == null) { + sb.append("null"); + } else { + sb.append(this.imagename); + } + first = false; + sb.append(")"); + return sb.toString(); + } + + public void validate() throws org.apache.thrift.TException { + // check for required fields + // check for sub-struct validity + } + + private void writeObject(java.io.ObjectOutputStream out) throws java.io.IOException { + try { + write(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(out))); + } catch (org.apache.thrift.TException te) { + throw new java.io.IOException(te); + } + } + + private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, ClassNotFoundException { + try { + read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in))); + } catch (org.apache.thrift.TException te) { + throw new java.io.IOException(te); + } + } + + private static class getImageData_argsStandardSchemeFactory implements SchemeFactory { + public getImageData_argsStandardScheme getScheme() { + return new getImageData_argsStandardScheme(); + } + } + + private static class getImageData_argsStandardScheme extends StandardScheme { + + public void read(org.apache.thrift.protocol.TProtocol iprot, getImageData_args struct) throws org.apache.thrift.TException { + org.apache.thrift.protocol.TField schemeField; + iprot.readStructBegin(); + while (true) + { + schemeField = iprot.readFieldBegin(); + if (schemeField.type == org.apache.thrift.protocol.TType.STOP) { + break; + } + switch (schemeField.id) { + case -1: // IMAGENAME + if (schemeField.type == org.apache.thrift.protocol.TType.STRING) { + struct.imagename = iprot.readString(); + struct.setImagenameIsSet(true); + } else { + org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); + } + break; + default: + org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); + } + iprot.readFieldEnd(); + } + iprot.readStructEnd(); + + // check for required fields of primitive type, which can't be checked in the validate method + struct.validate(); + } + + public void write(org.apache.thrift.protocol.TProtocol oprot, getImageData_args struct) throws org.apache.thrift.TException { + struct.validate(); + + oprot.writeStructBegin(STRUCT_DESC); + if (struct.imagename != null) { + oprot.writeFieldBegin(IMAGENAME_FIELD_DESC); + oprot.writeString(struct.imagename); + oprot.writeFieldEnd(); + } + oprot.writeFieldStop(); + oprot.writeStructEnd(); + } + + } + + private static class getImageData_argsTupleSchemeFactory implements SchemeFactory { + public getImageData_argsTupleScheme getScheme() { + return new getImageData_argsTupleScheme(); + } + } + + private static class getImageData_argsTupleScheme extends TupleScheme { + + @Override + public void write(org.apache.thrift.protocol.TProtocol prot, getImageData_args struct) throws org.apache.thrift.TException { + TTupleProtocol oprot = (TTupleProtocol) prot; + BitSet optionals = new BitSet(); + if (struct.isSetImagename()) { + optionals.set(0); + } + oprot.writeBitSet(optionals, 1); + if (struct.isSetImagename()) { + oprot.writeString(struct.imagename); + } + } + + @Override + public void read(org.apache.thrift.protocol.TProtocol prot, getImageData_args struct) throws org.apache.thrift.TException { + TTupleProtocol iprot = (TTupleProtocol) prot; + BitSet incoming = iprot.readBitSet(1); + if (incoming.get(0)) { + struct.imagename = iprot.readString(); + struct.setImagenameIsSet(true); + } + } + } + + } + + public static class getImageData_result implements org.apache.thrift.TBase, java.io.Serializable, Cloneable, Comparable { + private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("getImageData_result"); + + private static final org.apache.thrift.protocol.TField SUCCESS_FIELD_DESC = new org.apache.thrift.protocol.TField("success", org.apache.thrift.protocol.TType.MAP, (short)0); + + private static final Map, SchemeFactory> schemes = new HashMap, SchemeFactory>(); + static { + schemes.put(StandardScheme.class, new getImageData_resultStandardSchemeFactory()); + schemes.put(TupleScheme.class, new getImageData_resultTupleSchemeFactory()); + } + + public Map success; // required + + /** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */ + public enum _Fields implements org.apache.thrift.TFieldIdEnum { + SUCCESS((short)0, "success"); + + private static final Map byName = new HashMap(); + + static { + for (_Fields field : EnumSet.allOf(_Fields.class)) { + byName.put(field.getFieldName(), field); + } + } + + /** + * Find the _Fields constant that matches fieldId, or null if its not found. + */ + public static _Fields findByThriftId(int fieldId) { + switch(fieldId) { + case 0: // SUCCESS + return SUCCESS; + default: + return null; + } + } + + /** + * Find the _Fields constant that matches fieldId, throwing an exception + * if it is not found. + */ + public static _Fields findByThriftIdOrThrow(int fieldId) { + _Fields fields = findByThriftId(fieldId); + if (fields == null) throw new IllegalArgumentException("Field " + fieldId + " doesn't exist!"); + return fields; + } + + /** + * Find the _Fields constant that matches name, or null if its not found. + */ + public static _Fields findByName(String name) { + return byName.get(name); + } + + private final short _thriftId; + private final String _fieldName; + + _Fields(short thriftId, String fieldName) { + _thriftId = thriftId; + _fieldName = fieldName; + } + + public short getThriftFieldId() { + return _thriftId; + } + + public String getFieldName() { + return _fieldName; + } + } + + // isset id assignments + public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap; + static { + Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class); + tmpMap.put(_Fields.SUCCESS, new org.apache.thrift.meta_data.FieldMetaData("success", org.apache.thrift.TFieldRequirementType.DEFAULT, + new org.apache.thrift.meta_data.MapMetaData(org.apache.thrift.protocol.TType.MAP, + new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRING), + new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRING)))); + metaDataMap = Collections.unmodifiableMap(tmpMap); + org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(getImageData_result.class, metaDataMap); + } + + public getImageData_result() { + } + + public getImageData_result( + Map success) + { + this(); + this.success = success; + } + + /** + * Performs a deep copy on other. + */ + public getImageData_result(getImageData_result other) { + if (other.isSetSuccess()) { + Map __this__success = new HashMap(other.success); + this.success = __this__success; + } + } + + public getImageData_result deepCopy() { + return new getImageData_result(this); + } + + @Override + public void clear() { + this.success = null; + } + + public int getSuccessSize() { + return (this.success == null) ? 0 : this.success.size(); + } + + public void putToSuccess(String key, String val) { + if (this.success == null) { + this.success = new HashMap(); + } + this.success.put(key, val); + } + + public Map getSuccess() { + return this.success; + } + + public getImageData_result setSuccess(Map success) { + this.success = success; + return this; + } + + public void unsetSuccess() { + this.success = null; + } + + /** Returns true if field success is set (has been assigned a value) and false otherwise */ + public boolean isSetSuccess() { + return this.success != null; + } + + public void setSuccessIsSet(boolean value) { + if (!value) { + this.success = null; + } + } + + public void setFieldValue(_Fields field, Object value) { + switch (field) { + case SUCCESS: + if (value == null) { + unsetSuccess(); + } else { + setSuccess((Map)value); + } + break; + + } + } + + public Object getFieldValue(_Fields field) { + switch (field) { + case SUCCESS: + return getSuccess(); + + } + throw new IllegalStateException(); + } + + /** Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise */ + public boolean isSet(_Fields field) { + if (field == null) { + throw new IllegalArgumentException(); + } + + switch (field) { + case SUCCESS: + return isSetSuccess(); + } + throw new IllegalStateException(); + } + + @Override + public boolean equals(Object that) { + if (that == null) + return false; + if (that instanceof getImageData_result) + return this.equals((getImageData_result)that); + return false; + } + + public boolean equals(getImageData_result that) { + if (that == null) + return false; + + boolean this_present_success = true && this.isSetSuccess(); + boolean that_present_success = true && that.isSetSuccess(); + if (this_present_success || that_present_success) { + if (!(this_present_success && that_present_success)) + return false; + if (!this.success.equals(that.success)) + return false; + } + + return true; + } + + @Override + public int hashCode() { + return 0; + } + + @Override + public int compareTo(getImageData_result other) { + if (!getClass().equals(other.getClass())) { + return getClass().getName().compareTo(other.getClass().getName()); + } + + int lastComparison = 0; + + lastComparison = Boolean.valueOf(isSetSuccess()).compareTo(other.isSetSuccess()); + if (lastComparison != 0) { + return lastComparison; + } + if (isSetSuccess()) { + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.success, other.success); + if (lastComparison != 0) { + return lastComparison; + } + } + return 0; + } + + public _Fields fieldForId(int fieldId) { + return _Fields.findByThriftId(fieldId); + } + + public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException { + schemes.get(iprot.getScheme()).getScheme().read(iprot, this); + } + + public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache.thrift.TException { + schemes.get(oprot.getScheme()).getScheme().write(oprot, this); + } + + @Override + public String toString() { + StringBuilder sb = new StringBuilder("getImageData_result("); + boolean first = true; + + sb.append("success:"); + if (this.success == null) { + sb.append("null"); + } else { + sb.append(this.success); + } + first = false; + sb.append(")"); + return sb.toString(); + } + + public void validate() throws org.apache.thrift.TException { + // check for required fields + // check for sub-struct validity + } + + private void writeObject(java.io.ObjectOutputStream out) throws java.io.IOException { + try { + write(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(out))); + } catch (org.apache.thrift.TException te) { + throw new java.io.IOException(te); + } + } + + private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, ClassNotFoundException { + try { + read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in))); + } catch (org.apache.thrift.TException te) { + throw new java.io.IOException(te); + } + } + + private static class getImageData_resultStandardSchemeFactory implements SchemeFactory { + public getImageData_resultStandardScheme getScheme() { + return new getImageData_resultStandardScheme(); + } + } + + private static class getImageData_resultStandardScheme extends StandardScheme { + + public void read(org.apache.thrift.protocol.TProtocol iprot, getImageData_result struct) throws org.apache.thrift.TException { + org.apache.thrift.protocol.TField schemeField; + iprot.readStructBegin(); + while (true) + { + schemeField = iprot.readFieldBegin(); + if (schemeField.type == org.apache.thrift.protocol.TType.STOP) { + break; + } + switch (schemeField.id) { + case 0: // SUCCESS + if (schemeField.type == org.apache.thrift.protocol.TType.MAP) { + { + org.apache.thrift.protocol.TMap _map34 = iprot.readMapBegin(); + struct.success = new HashMap(2*_map34.size); + for (int _i35 = 0; _i35 < _map34.size; ++_i35) + { + String _key36; + String _val37; + _key36 = iprot.readString(); + _val37 = iprot.readString(); + struct.success.put(_key36, _val37); + } + iprot.readMapEnd(); + } + struct.setSuccessIsSet(true); + } else { + org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); + } + break; + default: + org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); + } + iprot.readFieldEnd(); + } + iprot.readStructEnd(); + + // check for required fields of primitive type, which can't be checked in the validate method + struct.validate(); + } + + public void write(org.apache.thrift.protocol.TProtocol oprot, getImageData_result struct) throws org.apache.thrift.TException { + struct.validate(); + + oprot.writeStructBegin(STRUCT_DESC); + if (struct.success != null) { + oprot.writeFieldBegin(SUCCESS_FIELD_DESC); + { + oprot.writeMapBegin(new org.apache.thrift.protocol.TMap(org.apache.thrift.protocol.TType.STRING, org.apache.thrift.protocol.TType.STRING, struct.success.size())); + for (Map.Entry _iter38 : struct.success.entrySet()) + { + oprot.writeString(_iter38.getKey()); + oprot.writeString(_iter38.getValue()); + } + oprot.writeMapEnd(); + } + oprot.writeFieldEnd(); + } + oprot.writeFieldStop(); + oprot.writeStructEnd(); + } + + } + + private static class getImageData_resultTupleSchemeFactory implements SchemeFactory { + public getImageData_resultTupleScheme getScheme() { + return new getImageData_resultTupleScheme(); + } + } + + private static class getImageData_resultTupleScheme extends TupleScheme { + + @Override + public void write(org.apache.thrift.protocol.TProtocol prot, getImageData_result struct) throws org.apache.thrift.TException { + TTupleProtocol oprot = (TTupleProtocol) prot; + BitSet optionals = new BitSet(); + if (struct.isSetSuccess()) { + optionals.set(0); + } + oprot.writeBitSet(optionals, 1); + if (struct.isSetSuccess()) { + { + oprot.writeI32(struct.success.size()); + for (Map.Entry _iter39 : struct.success.entrySet()) + { + oprot.writeString(_iter39.getKey()); + oprot.writeString(_iter39.getValue()); + } + } + } + } + + @Override + public void read(org.apache.thrift.protocol.TProtocol prot, getImageData_result struct) throws org.apache.thrift.TException { + TTupleProtocol iprot = (TTupleProtocol) prot; + BitSet incoming = iprot.readBitSet(1); + if (incoming.get(0)) { + { + org.apache.thrift.protocol.TMap _map40 = new org.apache.thrift.protocol.TMap(org.apache.thrift.protocol.TType.STRING, org.apache.thrift.protocol.TType.STRING, iprot.readI32()); + struct.success = new HashMap(2*_map40.size); + for (int _i41 = 0; _i41 < _map40.size; ++_i41) + { + String _key42; + String _val43; + _key42 = iprot.readString(); + _val43 = iprot.readString(); + struct.success.put(_key42, _val43); + } + } + struct.setSuccessIsSet(true); + } + } + } + + } + + public static class updateImageData_args implements org.apache.thrift.TBase, java.io.Serializable, Cloneable, Comparable { + private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("updateImageData_args"); + + private static final org.apache.thrift.protocol.TField NAME_FIELD_DESC = new org.apache.thrift.protocol.TField("name", org.apache.thrift.protocol.TType.STRING, (short)-1); + private static final org.apache.thrift.protocol.TField NEW_NAME_FIELD_DESC = new org.apache.thrift.protocol.TField("newName", org.apache.thrift.protocol.TType.STRING, (short)-2); + private static final org.apache.thrift.protocol.TField LICENSE_FIELD_DESC = new org.apache.thrift.protocol.TField("license", org.apache.thrift.protocol.TType.BOOL, (short)-3); + private static final org.apache.thrift.protocol.TField INTERNET_FIELD_DESC = new org.apache.thrift.protocol.TField("internet", org.apache.thrift.protocol.TType.BOOL, (short)-4); + private static final org.apache.thrift.protocol.TField RAM_FIELD_DESC = new org.apache.thrift.protocol.TField("ram", org.apache.thrift.protocol.TType.I64, (short)-5); + private static final org.apache.thrift.protocol.TField CPU_FIELD_DESC = new org.apache.thrift.protocol.TField("cpu", org.apache.thrift.protocol.TType.I64, (short)-6); + + private static final Map, SchemeFactory> schemes = new HashMap, SchemeFactory>(); + static { + schemes.put(StandardScheme.class, new updateImageData_argsStandardSchemeFactory()); + schemes.put(TupleScheme.class, new updateImageData_argsTupleSchemeFactory()); + } + + public String name; // required + public String newName; // required + public boolean license; // required + public boolean internet; // required + public long ram; // required + public long cpu; // required + + /** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */ + public enum _Fields implements org.apache.thrift.TFieldIdEnum { + NAME((short)-1, "name"), + NEW_NAME((short)-2, "newName"), + LICENSE((short)-3, "license"), + INTERNET((short)-4, "internet"), + RAM((short)-5, "ram"), + CPU((short)-6, "cpu"); + + private static final Map byName = new HashMap(); + + static { + for (_Fields field : EnumSet.allOf(_Fields.class)) { + byName.put(field.getFieldName(), field); + } + } + + /** + * Find the _Fields constant that matches fieldId, or null if its not found. + */ + public static _Fields findByThriftId(int fieldId) { + switch(fieldId) { + case -1: // NAME + return NAME; + case -2: // NEW_NAME + return NEW_NAME; + case -3: // LICENSE + return LICENSE; + case -4: // INTERNET + return INTERNET; + case -5: // RAM + return RAM; + case -6: // CPU + return CPU; + default: + return null; + } + } + + /** + * Find the _Fields constant that matches fieldId, throwing an exception + * if it is not found. + */ + public static _Fields findByThriftIdOrThrow(int fieldId) { + _Fields fields = findByThriftId(fieldId); + if (fields == null) throw new IllegalArgumentException("Field " + fieldId + " doesn't exist!"); + return fields; + } + + /** + * Find the _Fields constant that matches name, or null if its not found. + */ + public static _Fields findByName(String name) { + return byName.get(name); + } + + private final short _thriftId; + private final String _fieldName; + + _Fields(short thriftId, String fieldName) { + _thriftId = thriftId; + _fieldName = fieldName; + } + + public short getThriftFieldId() { + return _thriftId; + } + + public String getFieldName() { + return _fieldName; + } + } + + // isset id assignments + private static final int __LICENSE_ISSET_ID = 0; + private static final int __INTERNET_ISSET_ID = 1; + private static final int __RAM_ISSET_ID = 2; + private static final int __CPU_ISSET_ID = 3; + private byte __isset_bitfield = 0; + public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap; + static { + Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class); + tmpMap.put(_Fields.NAME, new org.apache.thrift.meta_data.FieldMetaData("name", org.apache.thrift.TFieldRequirementType.DEFAULT, + new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRING))); + tmpMap.put(_Fields.NEW_NAME, new org.apache.thrift.meta_data.FieldMetaData("newName", org.apache.thrift.TFieldRequirementType.DEFAULT, + new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRING))); + tmpMap.put(_Fields.LICENSE, new org.apache.thrift.meta_data.FieldMetaData("license", org.apache.thrift.TFieldRequirementType.DEFAULT, + new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.BOOL))); + tmpMap.put(_Fields.INTERNET, new org.apache.thrift.meta_data.FieldMetaData("internet", org.apache.thrift.TFieldRequirementType.DEFAULT, + new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.BOOL))); + tmpMap.put(_Fields.RAM, new org.apache.thrift.meta_data.FieldMetaData("ram", org.apache.thrift.TFieldRequirementType.DEFAULT, + new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.I64 , "int"))); + tmpMap.put(_Fields.CPU, new org.apache.thrift.meta_data.FieldMetaData("cpu", org.apache.thrift.TFieldRequirementType.DEFAULT, + new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.I64 , "int"))); + metaDataMap = Collections.unmodifiableMap(tmpMap); + org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(updateImageData_args.class, metaDataMap); + } + + public updateImageData_args() { + } + + public updateImageData_args( + String name, + String newName, + boolean license, + boolean internet, + long ram, + long cpu) + { + this(); + this.name = name; + this.newName = newName; + this.license = license; + setLicenseIsSet(true); + this.internet = internet; + setInternetIsSet(true); + this.ram = ram; + setRamIsSet(true); + this.cpu = cpu; + setCpuIsSet(true); + } + + /** + * Performs a deep copy on other. + */ + public updateImageData_args(updateImageData_args other) { + __isset_bitfield = other.__isset_bitfield; + if (other.isSetName()) { + this.name = other.name; + } + if (other.isSetNewName()) { + this.newName = other.newName; + } + this.license = other.license; + this.internet = other.internet; + this.ram = other.ram; + this.cpu = other.cpu; + } + + public updateImageData_args deepCopy() { + return new updateImageData_args(this); + } + + @Override + public void clear() { + this.name = null; + this.newName = null; + setLicenseIsSet(false); + this.license = false; + setInternetIsSet(false); + this.internet = false; + setRamIsSet(false); + this.ram = 0; + setCpuIsSet(false); + this.cpu = 0; + } + + public String getName() { + return this.name; + } + + public updateImageData_args setName(String name) { + this.name = name; + return this; + } + + public void unsetName() { + this.name = null; + } + + /** Returns true if field name is set (has been assigned a value) and false otherwise */ + public boolean isSetName() { + return this.name != null; + } + + public void setNameIsSet(boolean value) { + if (!value) { + this.name = null; + } + } + + public String getNewName() { + return this.newName; + } + + public updateImageData_args setNewName(String newName) { + this.newName = newName; + return this; + } + + public void unsetNewName() { + this.newName = null; + } + + /** Returns true if field newName is set (has been assigned a value) and false otherwise */ + public boolean isSetNewName() { + return this.newName != null; + } + + public void setNewNameIsSet(boolean value) { + if (!value) { + this.newName = null; + } + } + + public boolean isLicense() { + return this.license; + } + + public updateImageData_args setLicense(boolean license) { + this.license = license; + setLicenseIsSet(true); + return this; + } + + public void unsetLicense() { + __isset_bitfield = EncodingUtils.clearBit(__isset_bitfield, __LICENSE_ISSET_ID); + } + + /** Returns true if field license is set (has been assigned a value) and false otherwise */ + public boolean isSetLicense() { + return EncodingUtils.testBit(__isset_bitfield, __LICENSE_ISSET_ID); + } + + public void setLicenseIsSet(boolean value) { + __isset_bitfield = EncodingUtils.setBit(__isset_bitfield, __LICENSE_ISSET_ID, value); + } + + public boolean isInternet() { + return this.internet; + } + + public updateImageData_args setInternet(boolean internet) { + this.internet = internet; + setInternetIsSet(true); + return this; + } + + public void unsetInternet() { + __isset_bitfield = EncodingUtils.clearBit(__isset_bitfield, __INTERNET_ISSET_ID); + } + + /** Returns true if field internet is set (has been assigned a value) and false otherwise */ + public boolean isSetInternet() { + return EncodingUtils.testBit(__isset_bitfield, __INTERNET_ISSET_ID); + } + + public void setInternetIsSet(boolean value) { + __isset_bitfield = EncodingUtils.setBit(__isset_bitfield, __INTERNET_ISSET_ID, value); + } + + public long getRam() { + return this.ram; + } + + public updateImageData_args setRam(long ram) { + this.ram = ram; + setRamIsSet(true); + return this; + } + + public void unsetRam() { + __isset_bitfield = EncodingUtils.clearBit(__isset_bitfield, __RAM_ISSET_ID); + } + + /** Returns true if field ram is set (has been assigned a value) and false otherwise */ + public boolean isSetRam() { + return EncodingUtils.testBit(__isset_bitfield, __RAM_ISSET_ID); + } + + public void setRamIsSet(boolean value) { + __isset_bitfield = EncodingUtils.setBit(__isset_bitfield, __RAM_ISSET_ID, value); + } + + public long getCpu() { + return this.cpu; + } + + public updateImageData_args setCpu(long cpu) { + this.cpu = cpu; + setCpuIsSet(true); + return this; + } + + public void unsetCpu() { + __isset_bitfield = EncodingUtils.clearBit(__isset_bitfield, __CPU_ISSET_ID); + } + + /** Returns true if field cpu is set (has been assigned a value) and false otherwise */ + public boolean isSetCpu() { + return EncodingUtils.testBit(__isset_bitfield, __CPU_ISSET_ID); + } + + public void setCpuIsSet(boolean value) { + __isset_bitfield = EncodingUtils.setBit(__isset_bitfield, __CPU_ISSET_ID, value); + } + + public void setFieldValue(_Fields field, Object value) { + switch (field) { + case NAME: + if (value == null) { + unsetName(); + } else { + setName((String)value); + } + break; + + case NEW_NAME: + if (value == null) { + unsetNewName(); + } else { + setNewName((String)value); + } + break; + + case LICENSE: + if (value == null) { + unsetLicense(); + } else { + setLicense((Boolean)value); + } + break; + + case INTERNET: + if (value == null) { + unsetInternet(); + } else { + setInternet((Boolean)value); + } + break; + + case RAM: + if (value == null) { + unsetRam(); + } else { + setRam((Long)value); + } + break; + + case CPU: + if (value == null) { + unsetCpu(); + } else { + setCpu((Long)value); + } + break; + + } + } + + public Object getFieldValue(_Fields field) { + switch (field) { + case NAME: + return getName(); + + case NEW_NAME: + return getNewName(); + + case LICENSE: + return Boolean.valueOf(isLicense()); + + case INTERNET: + return Boolean.valueOf(isInternet()); + + case RAM: + return Long.valueOf(getRam()); + + case CPU: + return Long.valueOf(getCpu()); + + } + throw new IllegalStateException(); + } + + /** Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise */ + public boolean isSet(_Fields field) { + if (field == null) { + throw new IllegalArgumentException(); + } + + switch (field) { + case NAME: + return isSetName(); + case NEW_NAME: + return isSetNewName(); + case LICENSE: + return isSetLicense(); + case INTERNET: + return isSetInternet(); + case RAM: + return isSetRam(); + case CPU: + return isSetCpu(); + } + throw new IllegalStateException(); + } + + @Override + public boolean equals(Object that) { + if (that == null) + return false; + if (that instanceof updateImageData_args) + return this.equals((updateImageData_args)that); + return false; + } + + public boolean equals(updateImageData_args that) { + if (that == null) + return false; + + boolean this_present_name = true && this.isSetName(); + boolean that_present_name = true && that.isSetName(); + if (this_present_name || that_present_name) { + if (!(this_present_name && that_present_name)) + return false; + if (!this.name.equals(that.name)) + return false; + } + + boolean this_present_newName = true && this.isSetNewName(); + boolean that_present_newName = true && that.isSetNewName(); + if (this_present_newName || that_present_newName) { + if (!(this_present_newName && that_present_newName)) + return false; + if (!this.newName.equals(that.newName)) + return false; + } + + boolean this_present_license = true; + boolean that_present_license = true; + if (this_present_license || that_present_license) { + if (!(this_present_license && that_present_license)) + return false; + if (this.license != that.license) + return false; + } + + boolean this_present_internet = true; + boolean that_present_internet = true; + if (this_present_internet || that_present_internet) { + if (!(this_present_internet && that_present_internet)) + return false; + if (this.internet != that.internet) + return false; + } + + boolean this_present_ram = true; + boolean that_present_ram = true; + if (this_present_ram || that_present_ram) { + if (!(this_present_ram && that_present_ram)) + return false; + if (this.ram != that.ram) + return false; + } + + boolean this_present_cpu = true; + boolean that_present_cpu = true; + if (this_present_cpu || that_present_cpu) { + if (!(this_present_cpu && that_present_cpu)) + return false; + if (this.cpu != that.cpu) + return false; + } + + return true; + } + + @Override + public int hashCode() { + return 0; + } + + @Override + public int compareTo(updateImageData_args other) { + if (!getClass().equals(other.getClass())) { + return getClass().getName().compareTo(other.getClass().getName()); + } + + int lastComparison = 0; + + lastComparison = Boolean.valueOf(isSetName()).compareTo(other.isSetName()); + if (lastComparison != 0) { + return lastComparison; + } + if (isSetName()) { + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.name, other.name); + if (lastComparison != 0) { + return lastComparison; + } + } + lastComparison = Boolean.valueOf(isSetNewName()).compareTo(other.isSetNewName()); + if (lastComparison != 0) { + return lastComparison; + } + if (isSetNewName()) { + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.newName, other.newName); + if (lastComparison != 0) { + return lastComparison; + } + } + lastComparison = Boolean.valueOf(isSetLicense()).compareTo(other.isSetLicense()); + if (lastComparison != 0) { + return lastComparison; + } + if (isSetLicense()) { + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.license, other.license); + if (lastComparison != 0) { + return lastComparison; + } + } + lastComparison = Boolean.valueOf(isSetInternet()).compareTo(other.isSetInternet()); + if (lastComparison != 0) { + return lastComparison; + } + if (isSetInternet()) { + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.internet, other.internet); + if (lastComparison != 0) { + return lastComparison; + } + } + lastComparison = Boolean.valueOf(isSetRam()).compareTo(other.isSetRam()); + if (lastComparison != 0) { + return lastComparison; + } + if (isSetRam()) { + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.ram, other.ram); + if (lastComparison != 0) { + return lastComparison; + } + } + lastComparison = Boolean.valueOf(isSetCpu()).compareTo(other.isSetCpu()); + if (lastComparison != 0) { + return lastComparison; + } + if (isSetCpu()) { + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.cpu, other.cpu); + if (lastComparison != 0) { + return lastComparison; + } + } + return 0; + } + + public _Fields fieldForId(int fieldId) { + return _Fields.findByThriftId(fieldId); + } + + public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException { + schemes.get(iprot.getScheme()).getScheme().read(iprot, this); + } + + public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache.thrift.TException { + schemes.get(oprot.getScheme()).getScheme().write(oprot, this); + } + + @Override + public String toString() { + StringBuilder sb = new StringBuilder("updateImageData_args("); + boolean first = true; + + sb.append("name:"); + if (this.name == null) { + sb.append("null"); + } else { + sb.append(this.name); + } + first = false; + if (!first) sb.append(", "); + sb.append("newName:"); + if (this.newName == null) { + sb.append("null"); + } else { + sb.append(this.newName); + } + first = false; + if (!first) sb.append(", "); + sb.append("license:"); + sb.append(this.license); + first = false; + if (!first) sb.append(", "); + sb.append("internet:"); + sb.append(this.internet); + first = false; + if (!first) sb.append(", "); + sb.append("ram:"); + sb.append(this.ram); + first = false; + if (!first) sb.append(", "); + sb.append("cpu:"); + sb.append(this.cpu); + first = false; + sb.append(")"); + return sb.toString(); + } + + public void validate() throws org.apache.thrift.TException { + // check for required fields + // check for sub-struct validity + } + + private void writeObject(java.io.ObjectOutputStream out) throws java.io.IOException { + try { + write(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(out))); + } catch (org.apache.thrift.TException te) { + throw new java.io.IOException(te); + } + } + + private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, ClassNotFoundException { + try { + // it doesn't seem like you should have to do this, but java serialization is wacky, and doesn't call the default constructor. + __isset_bitfield = 0; + read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in))); + } catch (org.apache.thrift.TException te) { + throw new java.io.IOException(te); + } + } + + private static class updateImageData_argsStandardSchemeFactory implements SchemeFactory { + public updateImageData_argsStandardScheme getScheme() { + return new updateImageData_argsStandardScheme(); + } + } + + private static class updateImageData_argsStandardScheme extends StandardScheme { + + public void read(org.apache.thrift.protocol.TProtocol iprot, updateImageData_args struct) throws org.apache.thrift.TException { + org.apache.thrift.protocol.TField schemeField; + iprot.readStructBegin(); + while (true) + { + schemeField = iprot.readFieldBegin(); + if (schemeField.type == org.apache.thrift.protocol.TType.STOP) { + break; + } + switch (schemeField.id) { + case -1: // NAME + if (schemeField.type == org.apache.thrift.protocol.TType.STRING) { + struct.name = iprot.readString(); + struct.setNameIsSet(true); + } else { + org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); + } + break; + case -2: // NEW_NAME + if (schemeField.type == org.apache.thrift.protocol.TType.STRING) { + struct.newName = iprot.readString(); + struct.setNewNameIsSet(true); + } else { + org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); + } + break; + case -3: // LICENSE + if (schemeField.type == org.apache.thrift.protocol.TType.BOOL) { + struct.license = iprot.readBool(); + struct.setLicenseIsSet(true); + } else { + org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); + } + break; + case -4: // INTERNET + if (schemeField.type == org.apache.thrift.protocol.TType.BOOL) { + struct.internet = iprot.readBool(); + struct.setInternetIsSet(true); + } else { + org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); + } + break; + case -5: // RAM + if (schemeField.type == org.apache.thrift.protocol.TType.I64) { + struct.ram = iprot.readI64(); + struct.setRamIsSet(true); + } else { + org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); + } + break; + case -6: // CPU + if (schemeField.type == org.apache.thrift.protocol.TType.I64) { + struct.cpu = iprot.readI64(); + struct.setCpuIsSet(true); + } else { + org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); + } + break; + default: + org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); + } + iprot.readFieldEnd(); + } + iprot.readStructEnd(); + + // check for required fields of primitive type, which can't be checked in the validate method + struct.validate(); + } + + public void write(org.apache.thrift.protocol.TProtocol oprot, updateImageData_args struct) throws org.apache.thrift.TException { + struct.validate(); + + oprot.writeStructBegin(STRUCT_DESC); + oprot.writeFieldBegin(CPU_FIELD_DESC); + oprot.writeI64(struct.cpu); + oprot.writeFieldEnd(); + oprot.writeFieldBegin(RAM_FIELD_DESC); + oprot.writeI64(struct.ram); + oprot.writeFieldEnd(); + oprot.writeFieldBegin(INTERNET_FIELD_DESC); + oprot.writeBool(struct.internet); + oprot.writeFieldEnd(); + oprot.writeFieldBegin(LICENSE_FIELD_DESC); + oprot.writeBool(struct.license); + oprot.writeFieldEnd(); + if (struct.newName != null) { + oprot.writeFieldBegin(NEW_NAME_FIELD_DESC); + oprot.writeString(struct.newName); + oprot.writeFieldEnd(); + } + if (struct.name != null) { + oprot.writeFieldBegin(NAME_FIELD_DESC); + oprot.writeString(struct.name); + oprot.writeFieldEnd(); + } + oprot.writeFieldStop(); + oprot.writeStructEnd(); + } + + } + + private static class updateImageData_argsTupleSchemeFactory implements SchemeFactory { + public updateImageData_argsTupleScheme getScheme() { + return new updateImageData_argsTupleScheme(); + } + } + + private static class updateImageData_argsTupleScheme extends TupleScheme { + + @Override + public void write(org.apache.thrift.protocol.TProtocol prot, updateImageData_args struct) throws org.apache.thrift.TException { + TTupleProtocol oprot = (TTupleProtocol) prot; + BitSet optionals = new BitSet(); + if (struct.isSetName()) { + optionals.set(0); + } + if (struct.isSetNewName()) { + optionals.set(1); + } + if (struct.isSetLicense()) { + optionals.set(2); + } + if (struct.isSetInternet()) { + optionals.set(3); + } + if (struct.isSetRam()) { + optionals.set(4); + } + if (struct.isSetCpu()) { + optionals.set(5); + } + oprot.writeBitSet(optionals, 6); + if (struct.isSetName()) { + oprot.writeString(struct.name); + } + if (struct.isSetNewName()) { + oprot.writeString(struct.newName); + } + if (struct.isSetLicense()) { + oprot.writeBool(struct.license); + } + if (struct.isSetInternet()) { + oprot.writeBool(struct.internet); + } + if (struct.isSetRam()) { + oprot.writeI64(struct.ram); + } + if (struct.isSetCpu()) { + oprot.writeI64(struct.cpu); + } + } + + @Override + public void read(org.apache.thrift.protocol.TProtocol prot, updateImageData_args struct) throws org.apache.thrift.TException { + TTupleProtocol iprot = (TTupleProtocol) prot; + BitSet incoming = iprot.readBitSet(6); + if (incoming.get(0)) { + struct.name = iprot.readString(); + struct.setNameIsSet(true); + } + if (incoming.get(1)) { + struct.newName = iprot.readString(); + struct.setNewNameIsSet(true); + } + if (incoming.get(2)) { + struct.license = iprot.readBool(); + struct.setLicenseIsSet(true); + } + if (incoming.get(3)) { + struct.internet = iprot.readBool(); + struct.setInternetIsSet(true); + } + if (incoming.get(4)) { + struct.ram = iprot.readI64(); + struct.setRamIsSet(true); + } + if (incoming.get(5)) { + struct.cpu = iprot.readI64(); + struct.setCpuIsSet(true); + } + } + } + + } + + public static class updateImageData_result implements org.apache.thrift.TBase, java.io.Serializable, Cloneable, Comparable { + private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("updateImageData_result"); + + private static final org.apache.thrift.protocol.TField SUCCESS_FIELD_DESC = new org.apache.thrift.protocol.TField("success", org.apache.thrift.protocol.TType.BOOL, (short)0); + + private static final Map, SchemeFactory> schemes = new HashMap, SchemeFactory>(); + static { + schemes.put(StandardScheme.class, new updateImageData_resultStandardSchemeFactory()); + schemes.put(TupleScheme.class, new updateImageData_resultTupleSchemeFactory()); + } + + public boolean success; // required + + /** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */ + public enum _Fields implements org.apache.thrift.TFieldIdEnum { + SUCCESS((short)0, "success"); + + private static final Map byName = new HashMap(); + + static { + for (_Fields field : EnumSet.allOf(_Fields.class)) { + byName.put(field.getFieldName(), field); + } + } + + /** + * Find the _Fields constant that matches fieldId, or null if its not found. + */ + public static _Fields findByThriftId(int fieldId) { + switch(fieldId) { + case 0: // SUCCESS + return SUCCESS; + default: + return null; + } + } + + /** + * Find the _Fields constant that matches fieldId, throwing an exception + * if it is not found. + */ + public static _Fields findByThriftIdOrThrow(int fieldId) { + _Fields fields = findByThriftId(fieldId); + if (fields == null) throw new IllegalArgumentException("Field " + fieldId + " doesn't exist!"); + return fields; + } + + /** + * Find the _Fields constant that matches name, or null if its not found. + */ + public static _Fields findByName(String name) { + return byName.get(name); + } + + private final short _thriftId; + private final String _fieldName; + + _Fields(short thriftId, String fieldName) { + _thriftId = thriftId; + _fieldName = fieldName; + } + + public short getThriftFieldId() { + return _thriftId; + } + + public String getFieldName() { + return _fieldName; + } + } + + // isset id assignments + private static final int __SUCCESS_ISSET_ID = 0; + private byte __isset_bitfield = 0; + public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap; + static { + Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class); + tmpMap.put(_Fields.SUCCESS, new org.apache.thrift.meta_data.FieldMetaData("success", org.apache.thrift.TFieldRequirementType.DEFAULT, + new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.BOOL))); + metaDataMap = Collections.unmodifiableMap(tmpMap); + org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(updateImageData_result.class, metaDataMap); + } + + public updateImageData_result() { + } + + public updateImageData_result( + boolean success) + { + this(); + this.success = success; + setSuccessIsSet(true); + } + + /** + * Performs a deep copy on other. + */ + public updateImageData_result(updateImageData_result other) { + __isset_bitfield = other.__isset_bitfield; + this.success = other.success; + } + + public updateImageData_result deepCopy() { + return new updateImageData_result(this); + } + + @Override + public void clear() { + setSuccessIsSet(false); + this.success = false; + } + + public boolean isSuccess() { + return this.success; + } + + public updateImageData_result setSuccess(boolean success) { + this.success = success; + setSuccessIsSet(true); + return this; + } + + public void unsetSuccess() { + __isset_bitfield = EncodingUtils.clearBit(__isset_bitfield, __SUCCESS_ISSET_ID); + } + + /** Returns true if field success is set (has been assigned a value) and false otherwise */ + public boolean isSetSuccess() { + return EncodingUtils.testBit(__isset_bitfield, __SUCCESS_ISSET_ID); + } + + public void setSuccessIsSet(boolean value) { + __isset_bitfield = EncodingUtils.setBit(__isset_bitfield, __SUCCESS_ISSET_ID, value); + } + + public void setFieldValue(_Fields field, Object value) { + switch (field) { + case SUCCESS: + if (value == null) { + unsetSuccess(); + } else { + setSuccess((Boolean)value); + } + break; + + } + } + + public Object getFieldValue(_Fields field) { + switch (field) { + case SUCCESS: + return Boolean.valueOf(isSuccess()); + + } + throw new IllegalStateException(); + } + + /** Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise */ + public boolean isSet(_Fields field) { + if (field == null) { + throw new IllegalArgumentException(); + } + + switch (field) { + case SUCCESS: + return isSetSuccess(); + } + throw new IllegalStateException(); + } + + @Override + public boolean equals(Object that) { + if (that == null) + return false; + if (that instanceof updateImageData_result) + return this.equals((updateImageData_result)that); + return false; + } + + public boolean equals(updateImageData_result that) { + if (that == null) + return false; + + boolean this_present_success = true; + boolean that_present_success = true; + if (this_present_success || that_present_success) { + if (!(this_present_success && that_present_success)) + return false; + if (this.success != that.success) + return false; + } + + return true; + } + + @Override + public int hashCode() { + return 0; + } + + @Override + public int compareTo(updateImageData_result other) { + if (!getClass().equals(other.getClass())) { + return getClass().getName().compareTo(other.getClass().getName()); + } + + int lastComparison = 0; + + lastComparison = Boolean.valueOf(isSetSuccess()).compareTo(other.isSetSuccess()); + if (lastComparison != 0) { + return lastComparison; + } + if (isSetSuccess()) { + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.success, other.success); + if (lastComparison != 0) { + return lastComparison; + } + } + return 0; + } + + public _Fields fieldForId(int fieldId) { + return _Fields.findByThriftId(fieldId); + } + + public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException { + schemes.get(iprot.getScheme()).getScheme().read(iprot, this); + } + + public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache.thrift.TException { + schemes.get(oprot.getScheme()).getScheme().write(oprot, this); + } + + @Override + public String toString() { + StringBuilder sb = new StringBuilder("updateImageData_result("); + boolean first = true; + + sb.append("success:"); + sb.append(this.success); + first = false; + sb.append(")"); + return sb.toString(); + } + + public void validate() throws org.apache.thrift.TException { + // check for required fields + // check for sub-struct validity + } + + private void writeObject(java.io.ObjectOutputStream out) throws java.io.IOException { + try { + write(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(out))); + } catch (org.apache.thrift.TException te) { + throw new java.io.IOException(te); + } + } + + private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, ClassNotFoundException { + try { + // it doesn't seem like you should have to do this, but java serialization is wacky, and doesn't call the default constructor. + __isset_bitfield = 0; + read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in))); + } catch (org.apache.thrift.TException te) { + throw new java.io.IOException(te); + } + } + + private static class updateImageData_resultStandardSchemeFactory implements SchemeFactory { + public updateImageData_resultStandardScheme getScheme() { + return new updateImageData_resultStandardScheme(); + } + } + + private static class updateImageData_resultStandardScheme extends StandardScheme { + + public void read(org.apache.thrift.protocol.TProtocol iprot, updateImageData_result struct) throws org.apache.thrift.TException { + org.apache.thrift.protocol.TField schemeField; + iprot.readStructBegin(); + while (true) + { + schemeField = iprot.readFieldBegin(); + if (schemeField.type == org.apache.thrift.protocol.TType.STOP) { + break; + } + switch (schemeField.id) { + case 0: // SUCCESS + if (schemeField.type == org.apache.thrift.protocol.TType.BOOL) { + struct.success = iprot.readBool(); + struct.setSuccessIsSet(true); + } else { + org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); + } + break; + default: + org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); + } + iprot.readFieldEnd(); + } + iprot.readStructEnd(); + + // check for required fields of primitive type, which can't be checked in the validate method + struct.validate(); + } + + public void write(org.apache.thrift.protocol.TProtocol oprot, updateImageData_result struct) throws org.apache.thrift.TException { + struct.validate(); + + oprot.writeStructBegin(STRUCT_DESC); + if (struct.isSetSuccess()) { + oprot.writeFieldBegin(SUCCESS_FIELD_DESC); + oprot.writeBool(struct.success); + oprot.writeFieldEnd(); + } + oprot.writeFieldStop(); + oprot.writeStructEnd(); + } + + } + + private static class updateImageData_resultTupleSchemeFactory implements SchemeFactory { + public updateImageData_resultTupleScheme getScheme() { + return new updateImageData_resultTupleScheme(); + } + } + + private static class updateImageData_resultTupleScheme extends TupleScheme { + + @Override + public void write(org.apache.thrift.protocol.TProtocol prot, updateImageData_result struct) throws org.apache.thrift.TException { + TTupleProtocol oprot = (TTupleProtocol) prot; + BitSet optionals = new BitSet(); + if (struct.isSetSuccess()) { + optionals.set(0); + } + oprot.writeBitSet(optionals, 1); + if (struct.isSetSuccess()) { + oprot.writeBool(struct.success); + } + } + + @Override + public void read(org.apache.thrift.protocol.TProtocol prot, updateImageData_result struct) throws org.apache.thrift.TException { + TTupleProtocol iprot = (TTupleProtocol) prot; + BitSet incoming = iprot.readBitSet(1); + if (incoming.get(0)) { + struct.success = iprot.readBool(); + struct.setSuccessIsSet(true); + } + } + } + + } + } diff --git a/Dozentenmodulserver/src/server/ServerHandler.java b/Dozentenmodulserver/src/server/ServerHandler.java index 9b52aea6..750943ed 100644 --- a/Dozentenmodulserver/src/server/ServerHandler.java +++ b/Dozentenmodulserver/src/server/ServerHandler.java @@ -1,5 +1,7 @@ package server; +import java.io.File; +import java.io.IOException; import java.math.BigInteger; import java.security.MessageDigest; import java.security.NoSuchAlgorithmException; @@ -13,6 +15,7 @@ import java.util.List; import java.util.Map; import java.util.UUID; +import org.apache.commons.io.FileUtils; import org.apache.thrift.TException; import sql.SQL; @@ -20,8 +23,8 @@ import sql.SQL; public class ServerHandler implements Server.Iface { - SQL sql=new SQL(); - Connection con=sql.getConnection(); + static SQL sql=new SQL(); + static Connection con=sql.getConnection(); /** * @param args */ @@ -147,8 +150,7 @@ public class ServerHandler implements Server.Iface { map.put("Nachname", rs.getString("Nachname")); map.put("Vorname", rs.getString("Vorname")); map.put("Hochschule", rs.getString("name")); - map.put("tel", "009909"); - map.put("fak", "E+I"); + } return map; @@ -191,4 +193,57 @@ public class ServerHandler implements Server.Iface { return false; } + @Override + public boolean startFileCopy(String file) throws TException { + File tmpFile=new File(file); + + System.out.println("Vor Move" +new Date()); + try { + FileUtils.moveFile(tmpFile, new File("141.79.128.103:/srv/nfs4slx/"+tmpFile.getName())); + } catch (IOException e) { + // TODO Auto-generated catch block + e.printStackTrace(); + } + + System.out.println("Nach Move"+new Date()); + return true; + } + + + @Override + public Map getImageData(String imagename) throws TException { + System.out.println("test:"+imagename); + ResultSet data=sql.getImageData(con, imagename); + + Map map=new HashMap(); + try { + while(data.next()) + { + System.out.println(data.getString("cond_hasInternetRestriction")+data.getString("cond_hasLicenseRestriction")+data.getString("cond_minCPUs")+data.getString("cond_minRAM")); + map.put("internet", data.getString("cond_hasInternetRestriction")); + map.put("license", data.getString("cond_hasLicenseRestriction")); + map.put("cpu", data.getString("cond_minCPUs")); + map.put("ram", data.getString("cond_minRAM")); + + } + System.out.println("return success"); + return map; + } catch (SQLException e) { + // TODO Auto-generated catch block + e.printStackTrace(); + } + return null; + + } + + + @Override + public boolean updateImageData(String name, String newName,boolean license, + boolean internet, long ram, long cpu) throws TException { + System.out.println("Server: Vor Update"); + sql.UpdateImageData(con, name, newName ,license, internet, cpu, ram); + System.out.println("Update erfolgreich"); + return false; + } + } diff --git a/Dozentenmodulserver/src/server/User.java b/Dozentenmodulserver/src/server/User.java index a763e1c7..5fd2f983 100644 --- a/Dozentenmodulserver/src/server/User.java +++ b/Dozentenmodulserver/src/server/User.java @@ -5,20 +5,32 @@ * @generated */ package server; -import java.util.BitSet; -import java.util.Collections; -import java.util.EnumMap; -import java.util.EnumSet; -import java.util.HashMap; -import java.util.Map; - -import org.apache.thrift.protocol.TTupleProtocol; import org.apache.thrift.scheme.IScheme; import org.apache.thrift.scheme.SchemeFactory; import org.apache.thrift.scheme.StandardScheme; + import org.apache.thrift.scheme.TupleScheme; +import org.apache.thrift.protocol.TTupleProtocol; +import org.apache.thrift.protocol.TProtocolException; +import org.apache.thrift.EncodingUtils; +import org.apache.thrift.TException; +import org.apache.thrift.async.AsyncMethodCallback; +import org.apache.thrift.server.AbstractNonblockingServer.*; +import java.util.List; +import java.util.ArrayList; +import java.util.Map; +import java.util.HashMap; +import java.util.EnumMap; +import java.util.Set; +import java.util.HashSet; +import java.util.EnumSet; +import java.util.Collections; +import java.util.BitSet; +import java.nio.ByteBuffer; +import java.util.Arrays; +import org.slf4j.Logger; +import org.slf4j.LoggerFactory; -@SuppressWarnings("serial") public class User implements org.apache.thrift.TBase, java.io.Serializable, Cloneable, Comparable { private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("User"); @@ -26,8 +38,7 @@ public class User implements org.apache.thrift.TBase, java.i private static final org.apache.thrift.protocol.TField PASSWORD_FIELD_DESC = new org.apache.thrift.protocol.TField("password", org.apache.thrift.protocol.TType.STRING, (short)-2); private static final org.apache.thrift.protocol.TField PATH_FIELD_DESC = new org.apache.thrift.protocol.TField("path", org.apache.thrift.protocol.TType.STRING, (short)-3); - @SuppressWarnings("rawtypes") -private static final Map, SchemeFactory> schemes = new HashMap, SchemeFactory>(); + private static final Map, SchemeFactory> schemes = new HashMap, SchemeFactory>(); static { schemes.put(StandardScheme.class, new UserStandardSchemeFactory()); schemes.put(TupleScheme.class, new UserTupleSchemeFactory()); diff --git a/Dozentenmodulserver/src/sql/SQL.java b/Dozentenmodulserver/src/sql/SQL.java index 9f9ba352..2e81116a 100644 --- a/Dozentenmodulserver/src/sql/SQL.java +++ b/Dozentenmodulserver/src/sql/SQL.java @@ -171,7 +171,7 @@ public class SQL { { internet_bol=1; } - else if(license==true) + if(license==true) { license_bol=1; } @@ -272,4 +272,46 @@ public class SQL { } return null; } + + public ResultSet getImageData(Connection con,String name){ + try { + Statement stm=con.createStatement(); + System.out.println("Test"); + return stm.executeQuery("SELECT image_name,cond_hasInternetRestriction,cond_hasLicenseRestriction, cond_minCPUs, cond_minRAM FROM bwLehrpool.m_VLData_imageInfo where image_name like '"+name+"';"); + } catch (SQLException e) { + // TODO Auto-generated catch block + e.printStackTrace(); + } + return null; + } + + public int UpdateImageData(Connection con,String name,String newName,boolean license, boolean internet, long cpu, long ram){ + try { + DateFormat formatter = new SimpleDateFormat("yyyy-MM-dd hh:mm:ss"); + Statement stm=con.createStatement(); + ResultSet rs=getImageIDandVersion(con, name); + rs.next(); + System.out.println(rs.getString("GUID_imageID")+"Version"+rs.getString("imageVersion")); + int newVersion=rs.getInt("imageVersion")+1; + int internet_bol=0; + int license_bol=0; + if(internet==true) + { + internet_bol=1; + } + if(license==true) + { + license_bol=1; + } + System.out.println(internet_bol); + System.out.println(license_bol); + stm.executeUpdate("UPDATE `bwLehrpool`.`m_VLData_imageInfo` SET `imageVersion` = '"+newVersion+"',`image_name` = '"+newName+"',`image_update_time` = '"+formatter.format(new Date())+"',`rec_change_time` = '"+formatter.format(new Date())+"',`cond_hasLicenseRestriction` = '"+license_bol+"',`cond_hasInternetRestriction` = '"+internet_bol+"',`cond_minRAM` = '"+ram+"',`cond_minCPUs` = '"+cpu+"' WHERE `GUID_imageID` = '"+rs.getString("GUID_imageID")+"' AND `imageVersion` = '"+rs.getString("imageVersion")+"';"); + con.commit(); + return 0; + } catch (SQLException e) { + // TODO Auto-generated catch block + e.printStackTrace(); + } + return -1; + } } diff --git a/Dozentenmodulserver/thrift/server.thrift b/Dozentenmodulserver/thrift/server.thrift index 51b5fdce..64bc64d2 100644 --- a/Dozentenmodulserver/thrift/server.thrift +++ b/Dozentenmodulserver/thrift/server.thrift @@ -27,4 +27,7 @@ service Server{ list getAllOS(), map 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 getImageData(string imagename), + bool updateImageData(string name, string newName,bool license, bool internet, int ram,int cpu), } \ No newline at end of file -- cgit v1.2.3-55-g7522