diff options
author | Michael Wilson | 2014-10-21 18:02:43 +0200 |
---|---|---|
committer | Michael Wilson | 2014-10-21 18:02:43 +0200 |
commit | 6ccc95939c22f4b771856b3a19e76288c3b5f113 (patch) | |
tree | 42fa2a34bb4156713fed70a0475ced1ce85d1e43 /dozentenmodulserver/src/main/java/server/ServerHandler.java | |
parent | Merge branch 'master' of ssh://git.openslx.org/openslx-ng/tutor-module (diff) | |
download | tutor-module-6ccc95939c22f4b771856b3a19e76288c3b5f113.tar.gz tutor-module-6ccc95939c22f4b771856b3a19e76288c3b5f113.tar.xz tutor-module-6ccc95939c22f4b771856b3a19e76288c3b5f113.zip |
-Fehler behoben, Liste der Benutzer für Berechtigung nun korrekt
-Backend vorbereitet für personenabhängige Liste der Veranstaltungen nach Rechten
Diffstat (limited to 'dozentenmodulserver/src/main/java/server/ServerHandler.java')
-rw-r--r-- | dozentenmodulserver/src/main/java/server/ServerHandler.java | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/dozentenmodulserver/src/main/java/server/ServerHandler.java b/dozentenmodulserver/src/main/java/server/ServerHandler.java index 2d6a62bc..f9835738 100644 --- a/dozentenmodulserver/src/main/java/server/ServerHandler.java +++ b/dozentenmodulserver/src/main/java/server/ServerHandler.java @@ -337,6 +337,30 @@ public class ServerHandler implements Server.Iface { } + + @Override + public List<Lecture> getLectureListPermissionRead(String userID){ + log.info(new Date().toString() + " - returning LectureListRead: "+sql.getLectureListPermissionRead(userID).size()+" items"); + return sql.getLectureListPermissionRead(userID); + }//end getLectureListPermissionRead + + @Override + public List<Lecture> getLectureListPermissionWrite(String userID){ + log.info(new Date().toString() + " - returning LectureListWrite: "+sql.getLectureListPermissionWrite(userID).size()+" items"); + return sql.getLectureListPermissionWrite(userID); + }//end getLectureListPermissionRead + + @Override + public List<Lecture> getLectureListPermissionAdmin(String userID){ + log.info(new Date().toString() + " - returning LectureListAdmin: "+sql.getLectureListPermissionAdmin(userID).size()+" items"); + return sql.getLectureListPermissionAdmin(userID); + }//end getLectureListPermissionRead + + + + + + @Override public boolean updateLecturedata(String name, String newName, |