br.usp.ime.xpusp.modules.screens
Class CourseView
java.lang.Object
|
+--org.apache.turbine.modules.Assembler
|
+--org.apache.turbine.modules.Screen
|
+--org.apache.turbine.modules.screens.TemplateScreen
|
+--org.apache.turbine.modules.screens.VelocityScreen
|
+--br.usp.ime.xpusp.modules.screens.UnsecureScreen
|
+--br.usp.ime.xpusp.modules.screens.CourseView
- public class CourseView
- extends UnsecureScreen
A screen for viewing a Course
| Parameters |
| Parameter Name |
Parameter Type |
Parameter Description |
| courseid |
int |
Id for the Course that will be fetched |
| habid |
int |
hab_id for the Course that will be fetched |
| type |
String |
This parameter can have 3 values (all|jupiter|fenix) and defaults to all |
|
| Context |
| Context Name |
Context Type |
Context Description |
| course |
Course |
A reference for the fetched course |
| electives |
Vector of CourseDisciplines |
A reference for the vector of CourseDisciplines (elective = 1) ordered by semester |
| requireds |
Vector of CourseDisciplines |
A reference for the vector of CourseDisciplines (elective = 0) ordered by semester |
| type |
String |
The type passed as parameter or "all" if the type is neither jupiter nor fenix |
|
 | Source Forge Info |
|---|
| CVS File : | CourseView.java |
|---|
| User : | krico |
|---|
| Version : | 1.5 |
|---|
| Date : | 2002/05/10 16:37:34 |
|---|
| Fields inherited from class org.apache.turbine.modules.Screen |
filter, minFilter |
| Methods inherited from class org.apache.turbine.modules.screens.VelocityScreen |
buildTemplate, doBuildTemplate, getContext |
| Methods inherited from class org.apache.turbine.modules.screens.TemplateScreen |
doBuild, doPostBuildTemplate, doRedirect, doRedirect, setTemplate |
| Methods inherited from class org.apache.turbine.modules.Screen |
, build, getLayout, htmlFilter, htmlMinFilter, prepareText, prepareTextMinimum, setLayout |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, registerNatives, toString, wait, wait, wait |
CourseView
public CourseView()
doBuildTemplate
public void doBuildTemplate(org.apache.turbine.util.RunData data,
org.apache.velocity.context.Context context)
- Overrides:
doBuildTemplate in class UnsecureScreen
getOrderedElectives
private java.util.Vector getOrderedElectives(Course course)
throws java.lang.Exception
getOrderedRequireds
private java.util.Vector getOrderedRequireds(Course course)
throws java.lang.Exception