|
From: Wolfgang W. <wo...@us...> - 2008-05-20 14:07:38
|
Update of /cvsroot/cobricks/cobricks2/src/org/cobricks/course In directory sc8-pr-cvs4.sourceforge.net:/tmp/cvs-serv15717/src/org/cobricks/course Modified Files: Course.java CourseManagerImpl.java CourseServlet.java Log Message: Index: Course.java =================================================================== RCS file: /cvsroot/cobricks/cobricks2/src/org/cobricks/course/Course.java,v retrieving revision 1.29 retrieving revision 1.30 diff -u -d -r1.29 -r1.30 --- Course.java 20 Jun 2007 15:11:42 -0000 1.29 +++ Course.java 20 May 2008 14:07:34 -0000 1.30 @@ -225,6 +225,15 @@ return null; } + /** Returns the field Raumausstattung + * @return String representing the input of the lecturer + */ + public String getRaumausstatt() + { + return (String)attrs.get("craumausstatt"); + } + + /** Returns the course examform * @return String representing the type of exam of the course (e.g. muendl) */ Index: CourseServlet.java =================================================================== RCS file: /cvsroot/cobricks/cobricks2/src/org/cobricks/course/CourseServlet.java,v retrieving revision 1.31 retrieving revision 1.32 diff -u -d -r1.31 -r1.32 --- CourseServlet.java 20 Jun 2007 15:11:42 -0000 1.31 +++ CourseServlet.java 20 May 2008 14:07:34 -0000 1.32 @@ -147,6 +147,8 @@ attrs.put("cexamweek", prequest.getRequestParameter("cexamweek")); attrs.put("cexamrepeatweek", prequest.getRequestParameter("cexamrepeatweek")); + attrs.put("craumausstatt", prequest.getRequestParameter("craumausstatt")); + tmps = prequest.getRequestParameter("ccapacity"); if (tmps != null) { try { Index: CourseManagerImpl.java =================================================================== RCS file: /cvsroot/cobricks/cobricks2/src/org/cobricks/course/CourseManagerImpl.java,v retrieving revision 1.71 retrieving revision 1.72 diff -u -d -r1.71 -r1.72 --- CourseManagerImpl.java 20 Jun 2007 15:11:42 -0000 1.71 +++ CourseManagerImpl.java 20 May 2008 14:07:34 -0000 1.72 @@ -213,6 +213,8 @@ copyAttr("cexamweek", attrs, sqlAttrs); copyAttr("cexamrepeatweek", attrs, sqlAttrs); + copyAttr("craumausstatt", attrs, sqlAttrs); + try { if (user != null) sqlAttrs.put("clastupdateuserid", new Integer(user.getId())); @@ -377,6 +379,7 @@ copyAttr("cexamweek", attrs, sqlAttrs); copyAttr("cexamrepeatweek", attrs, sqlAttrs); + copyAttr("craumausstatt", attrs, sqlAttrs); try { sqlAttrs.put("clastupdateuserid", new Integer(user.getId())); |