Context Name |
Context Type |
Context Description |
year |
Year |
The unique year (relative to this student) |
student |
Student |
The student that is pooling specified by nrusp |
Fields inherited from class br.usp.ime.xpusp.modules.screens.AdminScreen |
ADMIN_ADMIN_ADD, ADMIN_DEFAULTS_SCREEN, ADMIN_DOUBLEDISCIPLINES_EDIT_SCREEN, ADMIN_MENU, ADMIN_PROF_ADD, ADMIN_STD_LIST, ADMIN_STD_VIEW, ADMIN_USEREDIT_SCREEN, ADMIN_USERLIST_SCREEN, ADMIN_USERVIEW_SCREEN, ADMIN_VIEW_SCHEDULE, ADMIN_YEAR, ADMINISTRATOR_PERMISSIONS |
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)
|
int[] |
requires()
You should implement this method to return the positions
on the PERMISSION_NAMES array
of all permissions needed by this screen.
Implementing classes should define constants for accessing theese. |
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 |
StudentView
public StudentView()
doBuildTemplate
public void doBuildTemplate(org.apache.turbine.util.RunData data,
org.apache.velocity.context.Context context)
- Overrides:
doBuildTemplate in class AdminScreen
requires
public int[] requires()
- Description copied from class:
AbstractSecureScreen
- You should implement this method to return the positions
on the
PERMISSION_NAMES array
of all permissions needed by this screen.
Implementing classes should define constants for accessing theese.
Here's a simple example:
protected int[] requires() {
return new int[] { PERMISSION1, PERMISSION2 };
}
where PERMISSION1 and PERMISSION2 are constants defined by the implementing class.
- Overrides:
requires in class AbstractSecureScreen
- Following copied from class:
br.usp.ime.xpusp.modules.screens.AbstractSecureScreen
- See Also:
AbstractSecureScreen.isAuthorized(RunData)
|