fr.ifremer.wao.ui.components
Class SamplingFilterComponent

java.lang.Object
  extended by fr.ifremer.wao.ui.components.FilterComponent<SamplingFilter>
      extended by fr.ifremer.wao.ui.components.SamplingFilterComponent

public class SamplingFilterComponent
extends FilterComponent<SamplingFilter>

Author:
sletellier

Constructor Summary
SamplingFilterComponent()
           
 
Method Summary
 Boolean getFiltersVisible()
           
 String getFormatForPeriod()
           
 String getLegendMsg()
           
 org.apache.tapestry5.SelectModel getObservationTypeSelectModel()
           
 SamplingFilterValues getPossibleValuesForFilter()
           
protected  SamplingFilterValues getPossibleValuesForFilter(boolean update)
           
 Boolean getShowEstimatedTides()
           
 Boolean getShowObservationTypes()
           
 org.apache.tapestry5.SelectModel getSkillZoneSelectModel()
           
 org.apache.tapestry5.SelectModel getSubPopulationSelectModel()
           
protected  boolean isAvailableDataForFiltersOnly()
          Used to show only active company and observers.
 void resetFilter()
          Method to initialize filter, is call on constructor
 SamplingFilterValues updatePossibleValuesForFilter()
           
 void updateSearchFields()
          Used to update search fields
 
Methods inherited from class fr.ifremer.wao.ui.components.FilterComponent
getDateFormat, getFilter, getFiltersZone, getResources, getUser, getVisibleOnStartup, isRefresh, isReset, onSelectedFromRefresh, onSelectedFromReset, onSuccessFromFiltersForm, setFilter, setFiltersVisible, switchFiltersVisible
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SamplingFilterComponent

public SamplingFilterComponent()
Method Detail

isAvailableDataForFiltersOnly

protected boolean isAvailableDataForFiltersOnly()
Description copied from class: FilterComponent
Used to show only active company and observers.

Specified by:
isAvailableDataForFiltersOnly in class FilterComponent<SamplingFilter>
Returns:
true if only active users will be showed, false otherwise

getFiltersVisible

public Boolean getFiltersVisible()
Overrides:
getFiltersVisible in class FilterComponent<SamplingFilter>

resetFilter

public void resetFilter()
Description copied from class: FilterComponent
Method to initialize filter, is call on constructor

Specified by:
resetFilter in class FilterComponent<SamplingFilter>

updateSearchFields

public void updateSearchFields()
Description copied from class: FilterComponent
Used to update search fields

Specified by:
updateSearchFields in class FilterComponent<SamplingFilter>

getPossibleValuesForFilter

public SamplingFilterValues getPossibleValuesForFilter()

updatePossibleValuesForFilter

public SamplingFilterValues updatePossibleValuesForFilter()

getPossibleValuesForFilter

protected SamplingFilterValues getPossibleValuesForFilter(boolean update)

getShowEstimatedTides

public Boolean getShowEstimatedTides()

getShowObservationTypes

public Boolean getShowObservationTypes()

getLegendMsg

public String getLegendMsg()

getFormatForPeriod

public String getFormatForPeriod()

getSkillZoneSelectModel

public org.apache.tapestry5.SelectModel getSkillZoneSelectModel()

getSubPopulationSelectModel

public org.apache.tapestry5.SelectModel getSubPopulationSelectModel()

getObservationTypeSelectModel

public org.apache.tapestry5.SelectModel getObservationTypeSelectModel()


Copyright © 2009-2012 Ifremer. All Rights Reserved.