|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectorg.apache.turbine.modules.Module
org.apache.turbine.modules.Action
org.apache.turbine.modules.ActionEvent
org.apache.turbine.modules.actions.TemplateAction
org.apache.turbine.modules.actions.TemplateSecureAction
org.apache.turbine.TemplateSecureAction
org.tigris.scarab.actions.base.RequireLoginFirstAction
org.tigris.scarab.actions.admin.ManageRoles
This class is responsible for dealing with the role management Action(s).
| Field Summary |
| Fields inherited from class org.tigris.scarab.actions.base.RequireLoginFirstAction |
DEFAULT_MSG, EMAIL_ERROR, EMAIL_ERROR2, ERROR_MESSAGE, NO_CHANGES_MADE, NO_PERMISSION_MESSAGE |
| Fields inherited from class org.apache.turbine.modules.ActionEvent |
BUTTON, BUTTON_LENGTH, LENGTH, METHOD_NAME_LENGTH, METHOD_NAME_PREFIX |
| Constructor Summary | |
ManageRoles()
|
|
| Method Summary | |
protected void |
checkParamValidity(org.apache.turbine.RunData data,
org.apache.turbine.TemplateContext context,
java.lang.String target)
Spit out an error message to the user if the "name" parameter is null or empty. |
void |
doAddrole(org.apache.turbine.RunData data,
org.apache.turbine.TemplateContext context)
Manages the adding of a new role when the 'Add Role' button is pressed. |
void |
doCancel(org.apache.turbine.RunData data,
org.apache.turbine.TemplateContext context)
This manages clicking the Cancel button |
void |
doDeleterole(org.apache.turbine.RunData data,
org.apache.turbine.TemplateContext context)
This manages the clicking of the 'Confirm Delete' button and actually deletes the Role. |
void |
doEditrole(org.apache.turbine.RunData data,
org.apache.turbine.TemplateContext context)
Manages the editing of an existing role when the 'Update Role' button is pressed. |
void |
doGotoaddrole(org.apache.turbine.RunData data,
org.apache.turbine.TemplateContext context)
Go to the Add Role page |
void |
doGotodeleterole(org.apache.turbine.RunData data,
org.apache.turbine.TemplateContext context)
Go to the Delete Role page |
void |
doGotoeditrole(org.apache.turbine.RunData data,
org.apache.turbine.TemplateContext context)
Go to the Edit Role page |
void |
doPerform(org.apache.turbine.RunData data,
org.apache.turbine.TemplateContext context)
calls doCancel() |
| Methods inherited from class org.tigris.scarab.actions.base.RequireLoginFirstAction |
areThereDupeSequences, doDone, doGonext, doGotoothertemplate, doRefresh, doRefreshresultsperpage, doReset, doSave, getBackTemplate, getBackTemplate, getCancelTemplate, getCancelTemplate, getCurrentTemplate, getCurrentTemplate, getIntakeTool, getLastTemplate, getLocalizationTool, getNextTemplate, getNextTemplate, getOtherTemplate, getRequiredPermission, getScarabRequestTool, isAuthorized, log |
| Methods inherited from class org.apache.turbine.modules.actions.TemplateSecureAction |
perform |
| Methods inherited from class org.apache.turbine.modules.actions.TemplateAction |
doPerform, executeEvents |
| Methods inherited from class org.apache.turbine.modules.ActionEvent |
execute, formatString |
| Methods inherited from class org.apache.turbine.modules.Module |
build, doBuild, doBuildTemplate, doBuildTemplate, evaluate, getPullService, getTemplateContext, getTemplateService, getTool, handleRequest, handleRequest, requestFinished, setTarget, setTemplate, templateExists |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public ManageRoles()
| Method Detail |
public void doGotoaddrole(org.apache.turbine.RunData data,
org.apache.turbine.TemplateContext context)
throws java.lang.Exception
java.lang.Exception
public void doGotoeditrole(org.apache.turbine.RunData data,
org.apache.turbine.TemplateContext context)
throws java.lang.Exception
java.lang.Exception
public void doGotodeleterole(org.apache.turbine.RunData data,
org.apache.turbine.TemplateContext context)
throws java.lang.Exception
java.lang.Exception
public void doAddrole(org.apache.turbine.RunData data,
org.apache.turbine.TemplateContext context)
throws java.lang.Exception
java.lang.Exception
public void doEditrole(org.apache.turbine.RunData data,
org.apache.turbine.TemplateContext context)
throws java.lang.Exception
java.lang.Exception
public void doDeleterole(org.apache.turbine.RunData data,
org.apache.turbine.TemplateContext context)
throws java.lang.Exception
java.lang.Exception
public void doCancel(org.apache.turbine.RunData data,
org.apache.turbine.TemplateContext context)
throws java.lang.Exception
doCancel in class RequireLoginFirstActionjava.lang.Exception
public void doPerform(org.apache.turbine.RunData data,
org.apache.turbine.TemplateContext context)
throws java.lang.Exception
java.lang.Exception
protected void checkParamValidity(org.apache.turbine.RunData data,
org.apache.turbine.TemplateContext context,
java.lang.String target)
target - Page to go to if "name" parameter is present. If
null then don't go anywhere.
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||