fr.ifremer.wao.ui.components
Class ContactFilterComponent

java.lang.Object
  extended by fr.ifremer.wao.ui.components.FilterComponent<ContactFilter>
      extended by fr.ifremer.wao.ui.components.ContactFilterComponent

public class ContactFilterComponent
extends FilterComponent<ContactFilter>

Author:
sletellier

Constructor Summary
ContactFilterComponent()
           
 
Method Summary
 org.apache.tapestry5.SelectModel getContactStateSelectModel()
           
 org.apache.tapestry5.SelectModel getContactStateSelectModel(org.apache.tapestry5.ioc.Messages messages)
           
 Boolean getFiltersVisible()
           
 ContactFilterValues getPossibleValuesForFilter()
           
protected  ContactFilterValues getPossibleValuesForFilter(boolean update)
           
protected  boolean isAvailableDataForFiltersOnly()
          Used to show only active company and observers.
 void resetFilter()
          Method to initialize filter, is call on constructor
 boolean showTerrestrialLocations()
           
 ContactFilterValues 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

ContactFilterComponent

public ContactFilterComponent()
Method Detail

resetFilter

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

Specified by:
resetFilter in class FilterComponent<ContactFilter>

isAvailableDataForFiltersOnly

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

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

updateSearchFields

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

Specified by:
updateSearchFields in class FilterComponent<ContactFilter>

getPossibleValuesForFilter

public ContactFilterValues getPossibleValuesForFilter()

updatePossibleValuesForFilter

public ContactFilterValues updatePossibleValuesForFilter()

getPossibleValuesForFilter

protected ContactFilterValues getPossibleValuesForFilter(boolean update)

getContactStateSelectModel

public org.apache.tapestry5.SelectModel getContactStateSelectModel()

getContactStateSelectModel

public org.apache.tapestry5.SelectModel getContactStateSelectModel(org.apache.tapestry5.ioc.Messages messages)

getFiltersVisible

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

showTerrestrialLocations

public boolean showTerrestrialLocations()


Copyright © 2009-2011 Ifremer. All Rights Reserved.