| org.tigris.scarab.actions.base.ScarabTemplateAction
All known Subclasses: org.tigris.scarab.actions.ChangePassword, org.tigris.scarab.actions.ChangeNotificationStatus, org.tigris.scarab.actions.Login, org.tigris.scarab.actions.Register, org.tigris.scarab.actions.Logout, org.tigris.scarab.actions.ForgotPassword,
ScarabTemplateAction | abstract public class ScarabTemplateAction extends TemplateAction (Code) | | This is a helper class that extends TemplateAction to add
a couple methods useful for Scarab.
author: Jon S. Stevens version: $Id: ScarabTemplateAction.java 9255 2004-11-14 21:07:04Z dep4b $ |
Method Summary | |
public void | doCancel(RunData data, TemplateContext context) | public void | doDone(RunData data, TemplateContext context) | public void | doGonext(RunData data, TemplateContext context) | public void | doGotoothertemplate(RunData data, TemplateContext context) | public void | doRefresh(RunData data, TemplateContext context) | public void | doRefreshresultsperpage(RunData data, TemplateContext context) | public void | doReset(RunData data, TemplateContext context) | public void | doSave(RunData data, TemplateContext context) | public String | getBackTemplate(RunData data) Returns the backTemplate to be executed. | public String | getBackTemplate(RunData data, String defaultValue) Returns the backTemplate to be executed. | public String | getCancelTemplate(RunData data) Returns the cancelTemplate to be executed. | public String | getCancelTemplate(RunData data, String defaultValue) Returns the cancelTemplate to be executed. | public String | getCurrentTemplate(RunData data) | public String | getCurrentTemplate(RunData data, String defaultValue) Returns the current template that is being executed, otherwisse
it returns defaultValue. | public IntakeTool | getIntakeTool(TemplateContext context) | public String | getLastTemplate(RunData data) Returns the last template to be cancelled back to. | final protected ScarabLocalizationTool | getLocalizationTool(TemplateContext context) | public String | getNextTemplate(RunData data) Returns the nextTemplate to be executed. | public String | getNextTemplate(RunData data, String defaultValue) Returns the nextTemplate to be executed. | public String | getOtherTemplate(RunData data) Returns the other template that is being executed, otherwise
it returns null. | public ScarabRequestTool | getScarabRequestTool(TemplateContext context) | protected Logger | log() |
ERROR_MESSAGE | final protected static String ERROR_MESSAGE(Code) | | |
NO_PERMISSION_MESSAGE | final protected static String NO_PERMISSION_MESSAGE(Code) | | |
doCancel | public void doCancel(RunData data, TemplateContext context) throws Exception(Code) | | |
doDone | public void doDone(RunData data, TemplateContext context) throws Exception(Code) | | |
doGonext | public void doGonext(RunData data, TemplateContext context) throws Exception(Code) | | |
doGotoothertemplate | public void doGotoothertemplate(RunData data, TemplateContext context) throws Exception(Code) | | |
doRefresh | public void doRefresh(RunData data, TemplateContext context) throws Exception(Code) | | |
doRefreshresultsperpage | public void doRefreshresultsperpage(RunData data, TemplateContext context) throws Exception(Code) | | |
doReset | public void doReset(RunData data, TemplateContext context) throws Exception(Code) | | |
doSave | public void doSave(RunData data, TemplateContext context) throws Exception(Code) | | |
getBackTemplate | public String getBackTemplate(RunData data)(Code) | | Returns the backTemplate to be executed. Otherwise returns null.
|
getBackTemplate | public String getBackTemplate(RunData data, String defaultValue)(Code) | | Returns the backTemplate to be executed.
Otherwise returns defaultValue.
|
getCancelTemplate | public String getCancelTemplate(RunData data)(Code) | | Returns the cancelTemplate to be executed. Otherwise returns null.
|
getCancelTemplate | public String getCancelTemplate(RunData data, String defaultValue)(Code) | | Returns the cancelTemplate to be executed.
Otherwise returns defaultValue.
|
getCurrentTemplate | public String getCurrentTemplate(RunData data)(Code) | | Returns the current template that is being executed, otherwisse
it returns null
|
getCurrentTemplate | public String getCurrentTemplate(RunData data, String defaultValue)(Code) | | Returns the current template that is being executed, otherwisse
it returns defaultValue.
|
getIntakeTool | public IntakeTool getIntakeTool(TemplateContext context)(Code) | | Helper method to retrieve the IntakeTool from the Context
|
getLastTemplate | public String getLastTemplate(RunData data)(Code) | | Returns the last template to be cancelled back to.
|
getLocalizationTool | final protected ScarabLocalizationTool getLocalizationTool(TemplateContext context)(Code) | | Helper method to retrieve the ScarabLocalizationTool from the Context
|
getNextTemplate | public String getNextTemplate(RunData data)(Code) | | Returns the nextTemplate to be executed. Otherwise returns null.
|
getNextTemplate | public String getNextTemplate(RunData data, String defaultValue)(Code) | | Returns the nextTemplate to be executed. Otherwise returns defaultValue.
|
getOtherTemplate | public String getOtherTemplate(RunData data)(Code) | | Returns the other template that is being executed, otherwise
it returns null.
|
getScarabRequestTool | public ScarabRequestTool getScarabRequestTool(TemplateContext context)(Code) | | Helper method to retrieve the ScarabRequestTool from the Context
|
log | protected Logger log()(Code) | | |
|
|