| org.tigris.scarab.actions.base.RequireLoginFirstAction org.tigris.scarab.actions.admin.ManageRoles
ManageRoles | public class ManageRoles extends RequireLoginFirstAction (Code) | | This class is responsible for dealing with the role management
Action(s).
author: Douglas B. Robertson version: $Id: ManageRoles.java 10239 2006-08-05 14:28:42Z pledbrook $ |
Method Summary | |
protected void | checkParamValidity(RunData data, TemplateContext context, String target) Spit out an error message to the user if the "name" parameter
is null or empty.
Parameters: target - Page to go to if "name" parameter is present. | public void | doAddrole(RunData data, TemplateContext context) Manages the adding of a new role when the 'Add Role' button is pressed. | public void | doCancel(RunData data, TemplateContext context) | public void | doDeleterole(RunData data, TemplateContext context) This manages the clicking of the 'Confirm Delete' button and actually
deletes the Role. | public void | doEditrole(RunData data, TemplateContext context) Manages the editing of an existing role when the 'Update Role' button is pressed. | public void | doGotoaddrole(RunData data, TemplateContext context) | public void | doGotodeleterole(RunData data, TemplateContext context) | public void | doGotoeditrole(RunData data, TemplateContext context) | public void | doPerform(RunData data, TemplateContext context) |
checkParamValidity | protected void checkParamValidity(RunData data, TemplateContext context, String target)(Code) | | Spit out an error message to the user if the "name" parameter
is null or empty.
Parameters: target - Page to go to if "name" parameter is present. Ifnull then don't go anywhere. |
doAddrole | public void doAddrole(RunData data, TemplateContext context) throws Exception(Code) | | Manages the adding of a new role when the 'Add Role' button is pressed.
|
doCancel | public void doCancel(RunData data, TemplateContext context) throws Exception(Code) | | This manages clicking the Cancel button
|
doDeleterole | public void doDeleterole(RunData data, TemplateContext context) throws Exception(Code) | | This manages the clicking of the 'Confirm Delete' button and actually
deletes the Role.
|
doEditrole | public void doEditrole(RunData data, TemplateContext context) throws Exception(Code) | | Manages the editing of an existing role when the 'Update Role' button is pressed.
|
doGotoaddrole | public void doGotoaddrole(RunData data, TemplateContext context) throws Exception(Code) | | Go to the Add Role page
|
doGotodeleterole | public void doGotodeleterole(RunData data, TemplateContext context) throws Exception(Code) | | Go to the Delete Role page
|
doGotoeditrole | public void doGotoeditrole(RunData data, TemplateContext context) throws Exception(Code) | | Go to the Edit Role page
|
doPerform | public void doPerform(RunData data, TemplateContext context) throws Exception(Code) | | calls doCancel()
|
Methods inherited from org.tigris.scarab.actions.base.RequireLoginFirstAction | public boolean areThereDupeSequences(List list, IntakeTool intake, String groupName, String fieldName, int dedupeSeq) throws Exception(Code)(Java Doc) public void doCancel(RunData data, TemplateContext context) throws Exception(Code)(Java Doc) public void doDone(RunData data, TemplateContext context) throws Exception(Code)(Java Doc) public void doGonext(RunData data, TemplateContext context) throws Exception(Code)(Java Doc) public void doGotoothertemplate(RunData data, TemplateContext context) throws Exception(Code)(Java Doc) public void doRefresh(RunData data, TemplateContext context) throws Exception(Code)(Java Doc) public void doRefreshresultsperpage(RunData data, TemplateContext context) throws Exception(Code)(Java Doc) public void doReset(RunData data, TemplateContext context) throws Exception(Code)(Java Doc) public void doSave(RunData data, TemplateContext context) throws Exception(Code)(Java Doc) public String getBackTemplate(RunData data)(Code)(Java Doc) public String getBackTemplate(RunData data, String defaultValue)(Code)(Java Doc) public String getCancelTemplate(RunData data)(Code)(Java Doc) public String getCancelTemplate(RunData data, String defaultValue)(Code)(Java Doc) public String getCurrentTemplate(RunData data)(Code)(Java Doc) public String getCurrentTemplate(RunData data, String defaultValue)(Code)(Java Doc) public IntakeTool getIntakeTool(TemplateContext context)(Code)(Java Doc) public String getLastTemplate(RunData data)(Code)(Java Doc) final protected ScarabLocalizationTool getLocalizationTool(TemplateContext context)(Code)(Java Doc) public String getNextTemplate(RunData data)(Code)(Java Doc) public String getNextTemplate(RunData data, String defaultValue)(Code)(Java Doc) public String getOtherTemplate(RunData data)(Code)(Java Doc) protected String getRequiredPermission(RunData data)(Code)(Java Doc) public ScarabRequestTool getScarabRequestTool(TemplateContext context)(Code)(Java Doc) protected boolean isAuthorized(RunData data) throws Exception(Code)(Java Doc) protected Logger log()(Code)(Java Doc)
|
|
|