br.usp.ime.xpusp.modules.screens
Class UnitView
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.UnitView
- public class UnitView
- extends UnsecureScreen
A screen for viewing a Unit
Parameters |
Parameter Name |
Parameter Type |
Parameter Description |
unitid |
int |
Id for the Unit 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 |
unit |
Unit |
A reference for the fetched unit |
courses |
Vector of Courses |
A reference for the fetched unit's courses. Depending on the type parameter
all|jupiter|fenix courses are included
|
departments |
Department |
A reference for the fetched unit's departments. Depending on the type parameter
all|jupiter|fenix departments are included
|
type |
String |
The type passed as parameter or "all" if the type is neither jupiter nor fenix |
|
 | Source Forge Info |
---|
CVS File : | UnitView.java |
---|
User : | krico |
---|
Version : | 1.3 |
---|
Date : | 2002/03/01 22:20:44 |
---|
Fields inherited from class org.apache.turbine.modules.Screen |
filter, minFilter |
Method Summary |
void |
doBuildTemplate(org.apache.turbine.util.RunData data,
org.apache.velocity.context.Context context)
|
java.util.Vector |
getCourses(Unit unit,
java.lang.String type)
|
java.util.Vector |
getDepartments(Unit unit,
java.lang.String type)
|
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 |
UnitView
public UnitView()
doBuildTemplate
public void doBuildTemplate(org.apache.turbine.util.RunData data,
org.apache.velocity.context.Context context)
- Overrides:
doBuildTemplate
in class UnsecureScreen
getCourses
public java.util.Vector getCourses(Unit unit,
java.lang.String type)
throws java.lang.Exception
getDepartments
public java.util.Vector getDepartments(Unit unit,
java.lang.String type)
throws java.lang.Exception