| org.jaffa.presentation.portlet.FormBase org.jaffa.components.maint.MaintForm
MaintForm | public class MaintForm extends FormBase (Code) | | This is the base class for all Maintenance Component FormBeans.
author: GautamJ |
PARAMETER_CURRENT_SCREEN_COUNTER | final public static String PARAMETER_CURRENT_SCREEN_COUNTER(Code) | | Constant for the parameter currentScreenCounter.
|
doValidate | public boolean doValidate(HttpServletRequest request)(Code) | | This method should be invoked to ensure a valid state of the FormBean. It will validate the data in the models and set the corresponding properties.
Errors will be raised in the FormBean, if any validation fails.
Parameters: request - The request stream A true indicates validations went through successfully. |
getCurrentScreenCounter | public int getCurrentScreenCounter()(Code) | | Getter for property currentScreenCounter.
Value of property currentScreenCounter. |
isClearActionAvailable | public boolean isClearActionAvailable()(Code) | | Returns true if Clear is allowed in the current screen.
true if Clear is allowed in the current screen. |
isDeleteActionAvailable | public boolean isDeleteActionAvailable()(Code) | | Returns true if Delete is allowed in the current screen.
true if Delete is allowed in the current screen. |
isDisplayOnlyField | public boolean isDisplayOnlyField(String fieldName)(Code) | | Returns a true if a field has been marked as 'DisplayOnly'.
Parameters: fieldName - The field to be checked. a true if a field has been marked as 'DisplayOnly' |
isNextActionAvailable | public boolean isNextActionAvailable()(Code) | | Returns true if there is a Next screen after the current screen.
true if there is a Next screen after the current screen. |
isPreviousActionAvailable | public boolean isPreviousActionAvailable()(Code) | | Returns true if there is a Previous screen before the current screen.
true if there is a Previous screen before the current screen. |
isRefreshActionAvailable | public boolean isRefreshActionAvailable()(Code) | | Returns true if Refresh is allowed in the current screen.
true if Refresh is allowed in the current screen. |
isSaveActionAvailable | public boolean isSaveActionAvailable()(Code) | | Returns true if Save is allowed in the current screen.
true if Save is allowed in the current screen. |
isUpdateMode | public boolean isUpdateMode()(Code) | | Is this update mode, if so the key is display only, else this is create mode and the key is editable.
true if record is being updated, false if created. |
setCurrentScreenCounter | public void setCurrentScreenCounter(int currentScreenCounter)(Code) | | Setter for property currentScreenCounter.
Parameters: currentScreenCounter - New value of property currentScreenCounter. |
Methods inherited from org.jaffa.presentation.portlet.FormBase | public void cleanup()(Code)(Java Doc) public void clearErrors(HttpServletRequest request)(Code)(Java Doc) public Component getComponent()(Code)(Java Doc) public ActionErrors getErrors(HttpServletRequest request)(Code)(Java Doc) public WidgetCache getWidgetCache()(Code)(Java Doc) public boolean hasErrors(HttpServletRequest request)(Code)(Java Doc) public void initForm()(Code)(Java Doc) public void raiseError(HttpServletRequest request, String property, ActionError error)(Code)(Java Doc) public void raiseError(HttpServletRequest request, String property, String key)(Code)(Java Doc) public void raiseError(HttpServletRequest request, String property, String key, Object value0)(Code)(Java Doc) public void raiseError(HttpServletRequest request, String property, String key, Object value0, Object value1)(Code)(Java Doc) public void raiseError(HttpServletRequest request, String property, String key, Object value0, Object value1, Object value2)(Code)(Java Doc) public void raiseError(HttpServletRequest request, String property, String key, Object value0, Object value1, Object value2, Object value3)(Code)(Java Doc) public void raiseError(HttpServletRequest request, String property, String key, Object[] values)(Code)(Java Doc) public void raiseError(HttpServletRequest request, String property, ApplicationException appExp)(Code)(Java Doc) public void raiseError(HttpServletRequest request, String property, ApplicationExceptions appExps)(Code)(Java Doc) public void reset(ActionMapping mapping, HttpServletRequest request)(Code)(Java Doc) public void setComponent(Component component)(Code)(Java Doc)
|
|
|