org.broadleafcommerce.core.search.service
Class SearchServiceCompassImpl

java.lang.Object
  extended by org.broadleafcommerce.core.search.service.SearchServiceCompassImpl
All Implemented Interfaces:
SearchService

@Service(value="blSearchService")
public class SearchServiceCompassImpl
extends Object
implements SearchService

Author:
dmclain

Field Summary
protected  CatalogService catalogService
           
protected  org.compass.core.Compass compass
           
protected  SearchInterceptDao searchInterceptDao
           
protected  SearchSynonymDao searchSynonymDao
           
 
Constructor Summary
SearchServiceCompassImpl()
           
 
Method Summary
 void createSearchIntercept(SearchIntercept intercept)
           
 void createSearchSynonym(SearchSynonym synonym)
           
 void deleteSearchIntercept(SearchIntercept intercept)
           
 void deleteSearchSynonym(SearchSynonym synonym)
           
 List<SearchIntercept> getAllSearchIntercepts()
           
 List<SearchSynonym> getAllSearchSynonyms()
           
 CatalogService getCatalogService()
           
 org.compass.core.Compass getCompass()
           
 SearchIntercept getInterceptForTerm(String term)
           
 SearchInterceptDao getSearchInterceptDao()
           
 SearchSynonymDao getSearchSynonymDao()
           
 List<Product> performSearch(String input)
           
 void rebuildProductIndex()
           
 void setCatalogService(CatalogService catalogService)
           
 void setCompass(org.compass.core.Compass compass)
           
 void setSearchInterceptDao(SearchInterceptDao searchInterceptDao)
           
 void setSearchSynonymDao(SearchSynonymDao searchSynonymDao)
           
 void updateSearchIntercept(SearchIntercept intercept)
           
 void updateSearchSynonym(SearchSynonym synonym)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

compass

protected org.compass.core.Compass compass

catalogService

protected CatalogService catalogService

searchInterceptDao

protected SearchInterceptDao searchInterceptDao

searchSynonymDao

protected SearchSynonymDao searchSynonymDao
Constructor Detail

SearchServiceCompassImpl

public SearchServiceCompassImpl()
Method Detail

performSearch

public List<Product> performSearch(String input)
Specified by:
performSearch in interface SearchService

rebuildProductIndex

public void rebuildProductIndex()
Specified by:
rebuildProductIndex in interface SearchService

getInterceptForTerm

public SearchIntercept getInterceptForTerm(String term)
Specified by:
getInterceptForTerm in interface SearchService

getAllSearchIntercepts

public List<SearchIntercept> getAllSearchIntercepts()
Specified by:
getAllSearchIntercepts in interface SearchService

createSearchIntercept

public void createSearchIntercept(SearchIntercept intercept)
Specified by:
createSearchIntercept in interface SearchService

deleteSearchIntercept

public void deleteSearchIntercept(SearchIntercept intercept)
Specified by:
deleteSearchIntercept in interface SearchService

updateSearchIntercept

public void updateSearchIntercept(SearchIntercept intercept)
Specified by:
updateSearchIntercept in interface SearchService

createSearchSynonym

public void createSearchSynonym(SearchSynonym synonym)
Specified by:
createSearchSynonym in interface SearchService

deleteSearchSynonym

public void deleteSearchSynonym(SearchSynonym synonym)
Specified by:
deleteSearchSynonym in interface SearchService

getAllSearchSynonyms

public List<SearchSynonym> getAllSearchSynonyms()
Specified by:
getAllSearchSynonyms in interface SearchService

updateSearchSynonym

public void updateSearchSynonym(SearchSynonym synonym)
Specified by:
updateSearchSynonym in interface SearchService

getCompass

public org.compass.core.Compass getCompass()

setCompass

public void setCompass(org.compass.core.Compass compass)

getCatalogService

public CatalogService getCatalogService()

setCatalogService

public void setCatalogService(CatalogService catalogService)

getSearchInterceptDao

public SearchInterceptDao getSearchInterceptDao()

setSearchInterceptDao

public void setSearchInterceptDao(SearchInterceptDao searchInterceptDao)

getSearchSynonymDao

public SearchSynonymDao getSearchSynonymDao()

setSearchSynonymDao

public void setSearchSynonymDao(SearchSynonymDao searchSynonymDao)


Copyright © 2012. All Rights Reserved.