com.jtri.struts
Class PagedForm
java.lang.Object
org.apache.struts.action.ActionForm
org.apache.struts.validator.ValidatorForm
com.jtri.struts.PagedForm
- All Implemented Interfaces:
- ICallerForm, IEditForm, INavigateForm, IPagedInfoForm, IRootForm, java.io.Serializable
- Direct Known Subclasses:
- LoveForm
- public abstract class PagedForm
- extends org.apache.struts.validator.ValidatorForm
- implements IRootForm, ICallerForm, INavigateForm, IEditForm
Root Form class that implements add,naviagation,multiple sub forms, call and
save capability. This is the base class for jtri's window forms.
- Author:
- atorres
- See Also:
- Serialized Form
| Methods inherited from class org.apache.struts.validator.ValidatorForm |
getPage, getResultValueMap, getValidationKey, getValidatorResults, setPage, setValidatorResults |
| Methods inherited from class org.apache.struts.action.ActionForm |
getMultipartRequestHandler, getServletWrapper, reset, setMultipartRequestHandler, setServlet, validate |
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
PagedForm
public PagedForm()
getAddButton
public ToolBarManager getAddButton()
- Specified by:
getAddButton in interface IEditForm
setAddButton
public void setAddButton(ToolBarManager addB)
- Specified by:
setAddButton in interface IEditForm
getSaveButton
public org.apache.struts.util.ImageButtonBean getSaveButton()
- Specified by:
getSaveButton in interface IEditForm
setSaveButton
public void setSaveButton(org.apache.struts.util.ImageButtonBean bean)
- Specified by:
setSaveButton in interface IEditForm
getQueryButton
public org.apache.struts.util.ImageButtonBean getQueryButton()
- Returns:
setQueryButton
public void setQueryButton(org.apache.struts.util.ImageButtonBean bean)
- Parameters:
bean -
getNextButton
public ToolBarManager getNextButton()
- Specified by:
getNextButton in interface INavigateForm
- Returns:
setNextButton
public void setNextButton(ToolBarManager manager)
- Specified by:
setNextButton in interface INavigateForm
- Parameters:
manager -
getBackButton
public ToolBarManager getBackButton()
- Specified by:
getBackButton in interface INavigateForm
- Returns:
setBackButton
public void setBackButton(ToolBarManager manager)
- Specified by:
setBackButton in interface INavigateForm
- Parameters:
manager -
getLoveButtons
public ToolBarManager getLoveButtons()
- Specified by:
getLoveButtons in interface ICallerForm
setLoveButtons
public void setLoveButtons(ToolBarManager manager)
- Specified by:
setLoveButtons in interface ICallerForm
- Parameters:
manager -
validate
public org.apache.struts.action.ActionErrors validate(org.apache.struts.action.ActionMapping mapping,
javax.servlet.http.HttpServletRequest request)
isEmpty
public boolean isEmpty()
throws java.lang.IllegalAccessException,
java.lang.reflect.InvocationTargetException,
java.lang.NoSuchMethodException
- Throws:
java.lang.IllegalAccessException
java.lang.reflect.InvocationTargetException
java.lang.NoSuchMethodException
getPageInfos
public java.util.Map getPageInfos()
setPageInfos
public void setPageInfos(java.util.Map m)
igetRootStructure
public abstract PageStructure igetRootStructure()
- Specified by:
igetRootStructure in interface IRootForm
setPageInfo
public void setPageInfo(PageStructure ps)
setPageInfo
public void setPageInfo(java.lang.String colName,
PageInfo info)
- Specified by:
setPageInfo in interface IPagedInfoForm
getPageInfo
public PageInfo getPageInfo(java.lang.String colName)
- Specified by:
getPageInfo in interface IPagedInfoForm
reset
public void reset(org.apache.struts.action.ActionMapping mapping,
javax.servlet.http.HttpServletRequest request)
setCusco
public void setCusco(Cusco cusco)
get_pendingSave
public boolean get_pendingSave()
- Specified by:
get_pendingSave in interface IEditForm
set_pendingSave
public void set_pendingSave(boolean save)
- Specified by:
set_pendingSave in interface IEditForm