XPUSP - Home

br.usp.ime.xpusp.modules.screens
Class StudentView

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.AdminScreen
                                            |
                                            +--br.usp.ime.xpusp.modules.screens.StudentView

public class StudentView
extends AdminScreen

Student screen (for viewing students)


Parameters
Parameter Name Parameter Type Parameter Description
nrusp int The nrusp of the the student that is to be viewed
Context
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

SourceForge LogoSource Forge Info
CVS File :StudentView.java
User :krico
Version :1.6
Date :2002/05/10 00:31:50


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 br.usp.ime.xpusp.modules.screens.AbstractSecureScreen
PERMISSION_NAMES
 
Fields inherited from class org.apache.turbine.modules.Screen
filter, minFilter
 
Constructor Summary
StudentView()
           
 
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 br.usp.ime.xpusp.modules.screens.AdminScreen
getPermissionName
 
Methods inherited from class br.usp.ime.xpusp.modules.screens.AbstractSecureScreen
getDeniedTemplate, isAuthorized
 
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
 

Constructor Detail

StudentView

public StudentView()
Method Detail

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)

XPUSP - Home