|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectorg.apache.struts.action.ActionForm
org.jaffa.presentation.portlet.FormBase
org.jaffa.components.maint.MaintForm
This is the base class for all Maintenance Component FormBeans.
| Field Summary | |
static String |
PARAMETER_CURRENT_SCREEN_COUNTER
Constant for the parameter currentScreenCounter. |
| Fields inherited from class org.apache.struts.action.ActionForm |
multipartRequestHandler, servlet |
| Constructor Summary | |
MaintForm()
|
|
| Method Summary | |
boolean |
doValidate(HttpServletRequest request)
This method should be invoked to ensure a valid state of the FormBean. |
int |
getCurrentScreenCounter()
Getter for property currentScreenCounter. |
boolean |
isClearActionAvailable()
Returns true if Clear is allowed in the current screen. |
boolean |
isDeleteActionAvailable()
Returns true if Delete is allowed in the current screen. |
boolean |
isDisplayOnlyField(String fieldName)
Returns a true if a field has been marked as 'DisplayOnly'. |
boolean |
isNextActionAvailable()
Returns true if there is a Next screen after the current screen. |
boolean |
isPreviousActionAvailable()
Returns true if there is a Previous screen before the current screen. |
boolean |
isRefreshActionAvailable()
Returns true if Refresh is allowed in the current screen. |
boolean |
isSaveActionAvailable()
Returns true if Save is allowed in the current screen. |
boolean |
isUpdateMode()
Is this update mode, if so the key is display only, else this is create mode and the key is editable. |
void |
setCurrentScreenCounter(int currentScreenCounter)
Setter for property currentScreenCounter. |
| Methods inherited from class org.jaffa.presentation.portlet.FormBase |
cleanup, clearErrors, getComponent, getErrors, getWidgetCache, hasErrors, initForm, raiseError, raiseError, raiseError, raiseError, raiseError, raiseError, raiseError, raiseError, raiseError, reset, setComponent |
| Methods inherited from class org.apache.struts.action.ActionForm |
getMultipartRequestHandler, getServlet, getServletWrapper, reset, setMultipartRequestHandler, setServlet, validate, validate |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
public static final String PARAMETER_CURRENT_SCREEN_COUNTER
| Constructor Detail |
public MaintForm()
| Method Detail |
public boolean isUpdateMode()
public int getCurrentScreenCounter()
public void setCurrentScreenCounter(int currentScreenCounter)
currentScreenCounter - New value of property currentScreenCounter.public boolean isDisplayOnlyField(String fieldName)
fieldName - The field to be checked.
public boolean isClearActionAvailable()
public boolean isSaveActionAvailable()
public boolean isDeleteActionAvailable()
public boolean isRefreshActionAvailable()
public boolean isNextActionAvailable()
public boolean isPreviousActionAvailable()
public boolean doValidate(HttpServletRequest request)
request - The request stream
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||