XPUSP - Home

br.usp.ime.xpusp.modules.actions
Class Student

java.lang.Object
  |
  +--org.apache.turbine.modules.Assembler
        |
        +--org.apache.turbine.modules.Action
              |
              +--org.apache.turbine.modules.ActionEvent
                    |
                    +--org.apache.turbine.util.velocity.VelocityActionEvent
                          |
                          +--org.apache.turbine.modules.actions.VelocityAction
                                |
                                +--br.usp.ime.xpusp.modules.actions.UnsecureAction
                                      |
                                      +--br.usp.ime.xpusp.modules.actions.Student

public class Student
extends UnsecureAction

Actions used by the student to pool

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


Fields inherited from class org.apache.turbine.modules.ActionEvent
BUTTON, BUTTON_LENGTH, LENGTH, METHOD_NAME_LENGTH, METHOD_NAME_PREFIX
 
Constructor Summary
Student()
           
 
Method Summary
 void doDisciplines(org.apache.turbine.util.RunData data, org.apache.velocity.context.Context context)
          Insert a students discipline's choices into the database
 void doInsert(org.apache.turbine.util.RunData data, org.apache.velocity.context.Context context)
          Inserts a student if it doesn't exist.
 void doPerform(org.apache.turbine.util.RunData data, org.apache.velocity.context.Context context)
          Implement this to add information to the context.
 
Methods inherited from class org.apache.turbine.modules.actions.VelocityAction
doPerform, getContext, perform, setTemplate
 
Methods inherited from class org.apache.turbine.util.velocity.VelocityActionEvent
executeEvents
 
Methods inherited from class org.apache.turbine.modules.ActionEvent
, executeEvents, firstLetterCaps, formatString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, registerNatives, toString, wait, wait, wait
 

Constructor Detail

Student

public Student()
Method Detail

doDisciplines

public void doDisciplines(org.apache.turbine.util.RunData data,
                          org.apache.velocity.context.Context context)
                   throws java.lang.Exception
Insert a students discipline's choices into the database

doInsert

public void doInsert(org.apache.turbine.util.RunData data,
                     org.apache.velocity.context.Context context)
              throws java.lang.Exception
Inserts a student if it doesn't exist.

doPerform

public void doPerform(org.apache.turbine.util.RunData data,
                      org.apache.velocity.context.Context context)
               throws java.lang.Exception
Description copied from class: UnsecureAction
Implement this to add information to the context.
Overrides:
doPerform in class UnsecureAction
Following copied from class: br.usp.ime.xpusp.modules.actions.UnsecureAction
Parameters:
data - Turbine information.
context - Context for web pages.
Throws:
Exception, - a generic exception.

XPUSP - Home