org.gcube.portlets.user.speciesdiscovery.client.event
Class SearchEvent

java.lang.Object
  extended by com.google.web.bindery.event.shared.Event<H>
      extended by com.google.gwt.event.shared.GwtEvent<SearchEventHandler>
          extended by org.gcube.portlets.user.speciesdiscovery.client.event.SearchEvent

public class SearchEvent
extends com.google.gwt.event.shared.GwtEvent<SearchEventHandler>

Author:
"Federico De Faveri defaveri@isti.cnr.it"

Nested Class Summary
 
Nested classes/interfaces inherited from class com.google.gwt.event.shared.GwtEvent
com.google.gwt.event.shared.GwtEvent.Type<H>
 
Field Summary
protected  Date fromDate
           
protected  Number lowerBoundLatitude
           
protected  Number lowerBoundLongitude
           
protected  String searchTerm
           
protected  Date toDate
           
protected  SearchType type
           
static com.google.gwt.event.shared.GwtEvent.Type<SearchEventHandler> TYPE
           
protected  Number upperBoundLatitude
           
protected  Number upperBoundLongitude
           
 
Constructor Summary
SearchEvent(SearchType byQuery, String query)
           
SearchEvent(SearchType type, String searchTerm, Number upperBoundLongitude, Number upperBoundLatitude, Number lowerBoundLongitude, Number lowerBoundLatitude, Date fromDate, Date toDate, List<DataSourceModel> listDataSources, String rank, SpeciesCapability resultType)
           
 
Method Summary
protected  void dispatch(SearchEventHandler handler)
           
 com.google.gwt.event.shared.GwtEvent.Type<SearchEventHandler> getAssociatedType()
           
 Date getFromDate()
           
 String getGroupByRank()
           
 Number getLowerBoundLatitude()
           
 Number getLowerBoundLongitude()
           
 List<DataSourceModel> getLstDataSources()
           
 String getQuery()
           
 SpeciesCapability getResultType()
           
 String getSearchTerm()
           
 Date getToDate()
           
 SearchType getType()
           
 Number getUpperBoundLatitude()
           
 Number getUpperBoundLongitude()
           
 String toString()
          
 
Methods inherited from class com.google.gwt.event.shared.GwtEvent
assertLive, getSource, isLive, kill, revive
 
Methods inherited from class com.google.web.bindery.event.shared.Event
setSource, toDebugString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

TYPE

public static final com.google.gwt.event.shared.GwtEvent.Type<SearchEventHandler> TYPE

searchTerm

protected String searchTerm

type

protected SearchType type

upperBoundLongitude

protected Number upperBoundLongitude

upperBoundLatitude

protected Number upperBoundLatitude

lowerBoundLongitude

protected Number lowerBoundLongitude

lowerBoundLatitude

protected Number lowerBoundLatitude

fromDate

protected Date fromDate

toDate

protected Date toDate
Constructor Detail

SearchEvent

public SearchEvent(SearchType type,
                   String searchTerm,
                   Number upperBoundLongitude,
                   Number upperBoundLatitude,
                   Number lowerBoundLongitude,
                   Number lowerBoundLatitude,
                   Date fromDate,
                   Date toDate,
                   List<DataSourceModel> listDataSources,
                   String rank,
                   SpeciesCapability resultType)

SearchEvent

public SearchEvent(SearchType byQuery,
                   String query)
Method Detail

getAssociatedType

public com.google.gwt.event.shared.GwtEvent.Type<SearchEventHandler> getAssociatedType()
Overrides:
getAssociatedType in class com.google.gwt.event.shared.GwtEvent<SearchEventHandler>

dispatch

protected void dispatch(SearchEventHandler handler)
Specified by:
dispatch in class com.google.gwt.event.shared.GwtEvent<SearchEventHandler>

getType

public SearchType getType()
Returns:
the type

getSearchTerm

public String getSearchTerm()
Returns:
the searchTerm

getUpperBoundLongitude

public Number getUpperBoundLongitude()
Returns:
the upperBoundLongitude

getUpperBoundLatitude

public Number getUpperBoundLatitude()
Returns:
the upperBoundLatitude

getLowerBoundLongitude

public Number getLowerBoundLongitude()
Returns:
the lowerBoundLongitude

getLowerBoundLatitude

public Number getLowerBoundLatitude()
Returns:
the lowerBoundLatitude

getFromDate

public Date getFromDate()
Returns:
the fromDate

getToDate

public Date getToDate()
Returns:
the toDate

toString

public String toString()

Overrides:
toString in class com.google.web.bindery.event.shared.Event<SearchEventHandler>

getLstDataSources

public List<DataSourceModel> getLstDataSources()

getGroupByRank

public String getGroupByRank()

getResultType

public SpeciesCapability getResultType()

getQuery

public String getQuery()


Copyright © 2013. All Rights Reserved.