diff options
| author | Tobias Spitzer | 2014-08-19 08:26:22 +0200 |
|---|---|---|
| committer | Tobias Spitzer | 2014-08-19 08:26:22 +0200 |
| commit | 5f540aaa05c9b4400d8bc58a8fdbc7a9157b4908 (patch) | |
| tree | 8de97eb2eded74d8c03f9d77c60a06fdc46ed039 /Dozentenmodulserver/src/server/ServerHandler.java | |
| parent | Suchmaske für Images neu (diff) | |
| download | tutor-module-5f540aaa05c9b4400d8bc58a8fdbc7a9157b4908.tar.gz tutor-module-5f540aaa05c9b4400d8bc58a8fdbc7a9157b4908.tar.xz tutor-module-5f540aaa05c9b4400d8bc58a8fdbc7a9157b4908.zip | |
gfdgfsd
Diffstat (limited to 'Dozentenmodulserver/src/server/ServerHandler.java')
| -rw-r--r-- | Dozentenmodulserver/src/server/ServerHandler.java | 17 |
1 files changed, 11 insertions, 6 deletions
diff --git a/Dozentenmodulserver/src/server/ServerHandler.java b/Dozentenmodulserver/src/server/ServerHandler.java index b70f9c74..0ba4d08c 100644 --- a/Dozentenmodulserver/src/server/ServerHandler.java +++ b/Dozentenmodulserver/src/server/ServerHandler.java @@ -302,12 +302,8 @@ public class ServerHandler implements Server.Iface { return false; } - @Override - public Map<String, String> getLectureData(String lecturename) - throws TException { - // TODO Auto-generated method stub - return null; - } + + @Override public List<Lecture> getLectureList() throws TException { @@ -412,6 +408,15 @@ public class ServerHandler implements Server.Iface { } + @Override + public Map<String, String> getLectureData(String lectureid) + throws TException { + log.info(new Date() + " - returning LectureData: " + + sql.getLectureData(lectureid).size() + "items."); + return sql.getLectureData(lectureid); + } + + public static int nthIndexOf(final String string, final String token, final int index) { |
