br.usp.ime.xpusp.modules.screens
Class ProfessorScreen
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
|
+--org.apache.turbine.modules.screens.VelocitySecureScreen
|
+--br.usp.ime.xpusp.modules.screens.AbstractSecureScreen
|
+--br.usp.ime.xpusp.modules.screens.ProfessorScreen
- Direct Known Subclasses:
- ProfessorCapability, ProfessorChoiceWeights, ProfessorNrStudents, ProfessorPeriod, ProfessorPreferences
- public abstract class ProfessorScreen
- extends AbstractSecureScreen
Extend this class if you need a professor secure screen.
- See Also:
AbstractSecureScreen
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)
|
static java.lang.String |
getPermissionName(int idx)
This is a convenience method for fetching the names of the existing permissions. |
Methods inherited from class org.apache.turbine.modules.screens.VelocitySecureScreen |
doBuildTemplate |
Methods inherited from class org.apache.turbine.modules.screens.VelocityScreen |
buildTemplate, 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 |
PROFESSOR_MENU
public static final int PROFESSOR_MENU
- This is the index for the permission needed to
display the professor's menu
PROFESSOR_PREFERENCES_SCREEN
public static final int PROFESSOR_PREFERENCES_SCREEN
- This is the index for the permission needed to
open the ProfessorPreferences screen
PROFESSOR_CAPABILITY_SCREEN
public static final int PROFESSOR_CAPABILITY_SCREEN
- This is the index for the permission needed to
open the ProfessorCapability screen
PROFESSOR_NR_STUDENTS_SCREEN
public static final int PROFESSOR_NR_STUDENTS_SCREEN
- This is the index for the permission needed to
open the ProfessorNrStudents screen
PROFESSOR_PERIOD_SCREEN
public static final int PROFESSOR_PERIOD_SCREEN
- This is the index for the permission needed to
open the ProfessorPeriod screen
PROFESSOR_CHOICE_WEIGHTS_SCREEN
public static final int PROFESSOR_CHOICE_WEIGHTS_SCREEN
- This is the index for the permission needed to
open the ProfessorChoiceWeights screen
PROFESSOR_PERMISSIONS
private static final java.lang.String[] PROFESSOR_PERMISSIONS
- Theese are all existing professor permissions for screens.
You can fetch them using
getPermissionName(CONSTANT)
.
ProfessorScreen
public ProfessorScreen()
- This constructor initializes
AbstractSecureScreen
this PROFESSOR_PERMISSIONS
.
getPermissionName
public static final java.lang.String getPermissionName(int idx)
- This is a convenience method for fetching the names of the existing permissions.
doBuildTemplate
public void doBuildTemplate(org.apache.turbine.util.RunData data,
org.apache.velocity.context.Context context)
- Overrides:
doBuildTemplate
in class org.apache.turbine.modules.screens.VelocitySecureScreen