public class ConceptLookupBean
extends java.lang.Object
implements java.io.Serializable
Modifier and Type | Field and Description |
---|---|
private ConceptSearchService |
conceptSearchService |
private ConceptFirstWord |
currentCUI |
private static Log |
log |
private java.util.List<SelectItem> |
matchesList |
private ConceptFirstWord |
searchCUI |
private static long |
serialVersionUID |
static java.util.Comparator<java.lang.Object> |
umlsFirstWordComparator |
Constructor and Description |
---|
ConceptLookupBean() |
Modifier and Type | Method and Description |
---|---|
static ConceptFirstWord |
extractUMLSFirstWord(java.lang.String fword) |
static java.lang.String |
formatUMLSFirstWord(ConceptFirstWord fword) |
ConceptSearchService |
getConceptSearchService() |
ConceptFirstWord |
getCurrentCUI()
Gets the currently selected city.
|
java.util.List<SelectItem> |
getList()
The list of possible matches for the given SelectInputText value
|
private ConceptFirstWord |
getMatch(java.lang.String value) |
ConceptFirstWord |
getSearchCUI() |
void |
reset() |
void |
resetListen(ActionEvent event) |
private void |
setMatches(ValueChangeEvent event)
Utility method for building the match list given the current value of the
SelectInputText component.
|
void |
setSearchCUI(ConceptFirstWord searchCUI) |
void |
setUmlsFirstWordService(ConceptSearchService umlsFirstWordService) |
void |
updateList(ValueChangeEvent event)
Called when a user has modifed the SelectInputText value.
|
private static final long serialVersionUID
private static final Log log
private ConceptSearchService conceptSearchService
private ConceptFirstWord currentCUI
private ConceptFirstWord searchCUI
private java.util.List<SelectItem> matchesList
public static java.util.Comparator<java.lang.Object> umlsFirstWordComparator
public ConceptSearchService getConceptSearchService()
public void setUmlsFirstWordService(ConceptSearchService umlsFirstWordService)
public ConceptFirstWord getSearchCUI()
public void setSearchCUI(ConceptFirstWord searchCUI)
public void resetListen(ActionEvent event)
public void reset()
public void updateList(ValueChangeEvent event)
event
- public ConceptFirstWord getCurrentCUI()
public java.util.List<SelectItem> getList()
public static java.lang.String formatUMLSFirstWord(ConceptFirstWord fword)
public static ConceptFirstWord extractUMLSFirstWord(java.lang.String fword)
private ConceptFirstWord getMatch(java.lang.String value)
private void setMatches(ValueChangeEvent event)
event
-