fr.ifremer.suiviobsmer.ui.base
Class AbstractFilteredPage
java.lang.Object
fr.ifremer.suiviobsmer.ui.base.AbstractFilteredPage
Direct Known Subclasses: Contacts , Synthesis
public abstract class AbstractFilteredPage extends Object
AbstractFilteredPage
Created: 14 janv. 2010
This class uses the BoatFilter bean (also SamplingFilter and UserFilter which are supertypes).
Known implementations are Synthesis and Contacts
You must override the three abstract methods and call initFilter() in the setupRender of the page.
- BoatName uses an Autocomplete mixins :
- SampleRow select value is sampleRowId :
- Company select value is companyId :
- Observer select value is observerId :
- Select change, use JavaScript :
Version:
$Revision: 236 $
Mise a jour: $Date: 2010-01-18 18:13:43 +0100 (lun., 18 janv. 2010) $
par : $Author$
Author:
fdesbois
Methods inherited from class java.lang.Object
clone , equals , finalize , getClass , hashCode , notify , notifyAll , toString , wait , wait , wait
AbstractFilteredPage
public AbstractFilteredPage ()
initFilter
protected void initFilter ()
throws SuiviObsmerException
Throws:
SuiviObsmerException
getFacadeSelectModel
public org.apache.tapestry5.SelectModel getFacadeSelectModel ()
throws SuiviObsmerException
Throws:
SuiviObsmerException
getSectorSelectModel
public org.apache.tapestry5.SelectModel getSectorSelectModel ()
throws SuiviObsmerException
Throws:
SuiviObsmerException
getSampleRowSelectModel
public GenericSelectModel <SampleRow > getSampleRowSelectModel ()
throws SuiviObsmerException
Throws:
SuiviObsmerException
getCompanySelectModel
public GenericSelectModel <Company > getCompanySelectModel ()
throws SuiviObsmerException
Throws:
SuiviObsmerException
getObserverSelectModel
public GenericSelectModel <User > getObserverSelectModel ()
throws SuiviObsmerException
Throws:
SuiviObsmerException
getFilter
protected abstract BoatFilter getFilter ()
throws SuiviObsmerException
Throws:
SuiviObsmerException
resetFilter
protected abstract void resetFilter ()
getAvailableDataForFiltersOnly
protected abstract boolean getAvailableDataForFiltersOnly ()
onProvideCompletionsFromBoatName
public String [] onProvideCompletionsFromBoatName (String input)
throws SuiviObsmerException
Throws:
SuiviObsmerException
onSuccess
@Log
public void onSuccess ()
throws SuiviObsmerException
Throws:
SuiviObsmerException
Copyright © 2009-2010 Ifremer . All Rights Reserved.