public class ConceptSearchServiceImpl extends Object implements ConceptSearchService, org.springframework.beans.factory.InitializingBean
Modifier and Type | Class and Description |
---|---|
static class |
ConceptSearchServiceImpl.ConceptFirstWordRowMapper |
Constructor and Description |
---|
ConceptSearchServiceImpl() |
Modifier and Type | Method and Description |
---|---|
void |
afterPropertiesSet() |
String |
checkTermByConceptId(String conceptId)
if the conceptId is a valid conceptId, get the corresponding term
|
List<ConceptFirstWord> |
getConceptByFirstWord(String textStart)
get Concepts that start with the specified text.
|
DataSource |
getDataSource() |
Properties |
getSearchProperties() |
String |
getTermByConceptId(String conceptId) |
Properties |
getYtexProperties() |
void |
setDataSource(DataSource dataSource) |
void |
setSearchProperties(Properties searchProperties) |
void |
setYtexProperties(Properties ytexProperties) |
public void afterPropertiesSet() throws Exception
afterPropertiesSet
in interface org.springframework.beans.factory.InitializingBean
Exception
public List<ConceptFirstWord> getConceptByFirstWord(String textStart)
ConceptSearchService
getConceptByFirstWord
in interface ConceptSearchService
public DataSource getDataSource()
public Properties getSearchProperties()
public String checkTermByConceptId(String conceptId)
ConceptSearchService
checkTermByConceptId
in interface ConceptSearchService
public String getTermByConceptId(String conceptId)
getTermByConceptId
in interface ConceptSearchService
public Properties getYtexProperties()
public void setDataSource(DataSource dataSource)
public void setSearchProperties(Properties searchProperties)
public void setYtexProperties(Properties ytexProperties)
Copyright © 2012-2017 The Apache Software Foundation. All Rights Reserved.