|
XPUSP - Home | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
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
|
+--org.apache.turbine.modules.actions.VelocitySecureAction
|
+--br.usp.ime.xpusp.modules.actions.AbstractSecureAction
|
+--br.usp.ime.xpusp.modules.actions.ProfessorAction
Extend this if you have an action that should be available for professors
| Source Forge Info | |
|---|---|
| CVS File : | ProfessorAction.java |
| User : | krico |
| Version : | 1.3 |
| Date : | 2002/03/15 05:30:25 |
| Field Summary | |
private static java.lang.String[] |
PROFESSOR_PERMISSIONS
This is the array with all existing permissions for professors. |
static int |
UPDATE_PREFERENCES
Index of perm needed by professor to update preferences |
| Fields inherited from class br.usp.ime.xpusp.modules.actions.AbstractSecureAction |
PERMISSION_NAMES |
| Fields inherited from class org.apache.turbine.modules.ActionEvent |
BUTTON, BUTTON_LENGTH, LENGTH, METHOD_NAME_LENGTH, METHOD_NAME_PREFIX |
| Constructor Summary | |
ProfessorAction()
This constructor initializes AbstractSecureAction
this PROFESSOR_PERMISSIONS. |
|
| Method Summary | |
static java.lang.String |
getPermissionName(int idx)
This is a convenience method for fetching the names of the existing permissions. |
| Methods inherited from class br.usp.ime.xpusp.modules.actions.AbstractSecureAction |
getDeniedTemplate, isAuthorized, requires |
| Methods inherited from class org.apache.turbine.modules.actions.VelocitySecureAction |
doPerform, perform |
| Methods inherited from class org.apache.turbine.modules.actions.VelocityAction |
doPerform, getContext, setTemplate |
| Methods inherited from class org.apache.turbine.util.velocity.VelocityActionEvent |
executeEvents |
| Methods inherited from class org.apache.turbine.modules.ActionEvent |
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, registerNatives, toString, wait, wait, wait |
| Field Detail |
public static final int UPDATE_PREFERENCES
private static final java.lang.String[] PROFESSOR_PERMISSIONS
getPermissionName(CONSTANT).| Constructor Detail |
public ProfessorAction()
AbstractSecureAction
this PROFESSOR_PERMISSIONS.| Method Detail |
public static final java.lang.String getPermissionName(int idx)
|
XPUSP - Home | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||