com.mycompany.controller
Class SearchController
java.lang.Object
com.mycompany.controller.AbstractController
com.mycompany.controller.SearchController
- All Implemented Interfaces:
- java.io.Serializable
public class SearchController
- extends AbstractController
Controller class for searching for shows and events.
- Author:
- Ian Hlavats (ian@tarantulaconsulting.com)
- See Also:
- Serialized Form
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SearchController
public SearchController()
eventSelected
public void eventSelected(org.primefaces.event.map.OverlaySelectEvent evt)
getCitiesForState
public java.util.List<City> getCitiesForState()
getCity
public City getCity()
getEventType
public EventType getEventType()
getKeyword
public java.lang.String getKeyword()
getMapCenter
public java.lang.String getMapCenter()
getMapZoom
public java.lang.Integer getMapZoom()
getMaxResults
public int getMaxResults()
getProvinceState
public ProvinceState getProvinceState()
getProvinceStates
public java.util.List<ProvinceState> getProvinceStates()
getSearchResultsModel
public org.primefaces.model.map.MapModel getSearchResultsModel()
getSelectedEvent
public Event getSelectedEvent()
init
public void init(javax.faces.event.ComponentSystemEvent event)
isAlcoholPermitted
public boolean isAlcoholPermitted()
isNoCoverCharge
public boolean isNoCoverCharge()
isOutdoorVenue
public boolean isOutdoorVenue()
search
public void search(javax.faces.event.ActionEvent evt)
- This method searches the database for events.
- Parameters:
evt
-
setAlcoholPermitted
public void setAlcoholPermitted(boolean alcoholPermitted)
setCity
public void setCity(City city)
setCountryService
public void setCountryService(CountryService countryService)
setEventService
public void setEventService(EventService eventService)
setEventType
public void setEventType(EventType eventType)
setKeyword
public void setKeyword(java.lang.String keyword)
setMaxResults
public void setMaxResults(int maxResults)
setNoCoverCharge
public void setNoCoverCharge(boolean noCoverCharge)
setOutdoorVenue
public void setOutdoorVenue(boolean outdoorVenue)
setProvinceState
public void setProvinceState(ProvinceState state)
setSelectedEvent
public void setSelectedEvent(Event selectedEvent)