public class EventSearchController extends Object
| Constructor and Description |
|---|
EventSearchController() |
| Modifier and Type | Method and Description |
|---|---|
String |
doSearch()
Method to be called when the search command button is pressed
|
boolean |
getFlag()
Returns the flag used to control whether to render the datable or not
|
es.uvigo.esei.dgss.letta.service.EventEJB |
getSearchEJB()
Returns the EJB to work with events
|
List<es.uvigo.esei.dgss.letta.domain.entities.Event> |
getSearchResults()
Returns the result list of events
|
org.primefaces.model.LazyDataModel<es.uvigo.esei.dgss.letta.domain.entities.Event> |
getSearchResults2()
Returns the lazy data model
|
String |
getTerms()
Returns the search term
|
void |
setFlag(boolean flag)
Set the internal flag to an external value
|
void |
setSearchEJB(es.uvigo.esei.dgss.letta.service.EventEJB searchEJB)
Set the internal EJB
|
void |
setSearchResults(List<es.uvigo.esei.dgss.letta.domain.entities.Event> searchResults)
Set the result list to an external value
|
void |
setSearchResults2(org.primefaces.model.LazyDataModel<es.uvigo.esei.dgss.letta.domain.entities.Event> searchResults2)
Set the lazy data model to an external value
|
void |
setTerms(String terms)
Set the internal search term to the actual value
|
public es.uvigo.esei.dgss.letta.service.EventEJB getSearchEJB()
public void setSearchEJB(es.uvigo.esei.dgss.letta.service.EventEJB searchEJB)
searchEJB - the external EJBpublic void setSearchResults(List<es.uvigo.esei.dgss.letta.domain.entities.Event> searchResults)
searchResults - an external result listpublic org.primefaces.model.LazyDataModel<es.uvigo.esei.dgss.letta.domain.entities.Event> getSearchResults2()
public void setSearchResults2(org.primefaces.model.LazyDataModel<es.uvigo.esei.dgss.letta.domain.entities.Event> searchResults2)
searchResults2 - the external valuepublic boolean getFlag()
public void setFlag(boolean flag)
flag - the external valuepublic String getTerms()
public void setTerms(String terms)
terms - the external search termpublic List<es.uvigo.esei.dgss.letta.domain.entities.Event> getSearchResults()
public String doSearch()
Copyright © 2015. All rights reserved.