com.jtri.struts
Class FilterForm
java.lang.Object
org.apache.struts.action.ActionForm
org.apache.struts.validator.ValidatorForm
com.jtri.struts.FilterForm
- All Implemented Interfaces:
- ICallerForm, IFilter, IMapped, java.io.Serializable
- public abstract class FilterForm
- extends org.apache.struts.validator.ValidatorForm
- implements IFilter, IMapped, ICallerForm
The base struts' form for filters. The filter form should be capable of rendering
query language from it's fields. The mapped implementation should focus just in
data conversion since the filter may not relate to one model object.
- 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 |
FilterForm
public FilterForm()
startData
public void startData()
convertProperty
public java.lang.Object convertProperty(java.lang.String prop)
throws java.lang.Exception
- Description copied from interface:
IMapped
- convert a property to the the business object object
- Specified by:
convertProperty in interface IMapped
- Parameters:
prop -
- Returns:
-
- Throws:
java.lang.Exception
getLoveButtons
public ToolBarManager getLoveButtons()
- Specified by:
getLoveButtons in interface ICallerForm
setLoveButtons
public void setLoveButtons(ToolBarManager manager)
- Specified by:
setLoveButtons in interface ICallerForm
getQueryButton
public org.apache.struts.util.ImageButtonBean getQueryButton()
- Returns:
setQueryButton
public void setQueryButton(org.apache.struts.util.ImageButtonBean bean)
- Parameters:
bean -
reset
public void reset(org.apache.struts.action.ActionMapping mapping,
javax.servlet.http.HttpServletRequest request)
setCusco
public void setCusco(Cusco cusco)
validate
public org.apache.struts.action.ActionErrors validate(org.apache.struts.action.ActionMapping mapping,
javax.servlet.http.HttpServletRequest request)
checkIfValid
public boolean checkIfValid()
- Description copied from interface:
IFilter
- Returns true if the filter is in a valid state
- Specified by:
checkIfValid in interface IFilter
- Returns:
- true
invalidate
public void invalidate()
igetRootStructure
public abstract PageStructure igetRootStructure()
setResetButton
public void setResetButton(boolean bool)
getResetButton
public boolean getResetButton()