|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.elasticpath.service.impl.AbstractEpServiceImpl
com.elasticpath.service.impl.AbstractEpPersistenceServiceImpl
com.elasticpath.service.index.impl.AbstractIndexServiceImpl
public abstract class AbstractIndexServiceImpl
A high level implementation of an Indexing Service. Can be subclassed to implement specific indexing algorithms.
| Constructor Summary | |
|---|---|
AbstractIndexServiceImpl()
Default constructor. |
|
| Method Summary | |
|---|---|
void |
buildIndex()
Builds the search index. |
void |
buildIndex(boolean rebuild,
java.util.Locale locale)
Builds the search index based on the given locale. |
void |
buildIndexForDefaultLocale()
Builds the search index for system default locale only. |
Analyzer |
getAnalyzer()
Returns the analyzer. |
java.lang.Object |
getObject(long uid)
This is a stub implementation. |
TimeService |
getTimeService()
Returns the time service. |
void |
setAnalyzer(Analyzer analyzer)
Sets the anaylyer. |
void |
setElasticPath(ElasticPath elasticPath)
Set the ElasticPath instance. |
void |
setPropertiesDao(PropertiesDao propertiesDao)
Set the DAO used to load properties. |
void |
setTimeService(TimeService timeService)
Sets the time service. |
void |
setUtility(Utility utility)
Set the utility class. |
| Methods inherited from class com.elasticpath.service.impl.AbstractEpPersistenceServiceImpl |
|---|
getPersistenceEngine, setPersistenceEngine |
| Methods inherited from class com.elasticpath.service.impl.AbstractEpServiceImpl |
|---|
getElasticPath |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface com.elasticpath.service.EpService |
|---|
getElasticPath |
| Constructor Detail |
|---|
public AbstractIndexServiceImpl()
| Method Detail |
|---|
public void buildIndex()
public void buildIndex(boolean rebuild,
java.util.Locale locale)
rebuild - true if recreating a new index, false otherwiselocale - the locale, giving null to build index on all locales that system supportpublic void buildIndexForDefaultLocale()
public Analyzer getAnalyzer()
public java.lang.Object getObject(long uid)
throws EpServiceException
uid - the persistent instance uid
EpServiceException - - in case it is calledpublic TimeService getTimeService()
public void setAnalyzer(Analyzer analyzer)
analyzer - the anaylyerpublic void setElasticPath(ElasticPath elasticPath)
ElasticPath instance.
setElasticPath in interface EpServicesetElasticPath in class AbstractEpServiceImplelasticPath - the instance of ElasticPathpublic void setPropertiesDao(PropertiesDao propertiesDao)
propertiesDao - the DAO used to load properties.public void setTimeService(TimeService timeService)
timeService - the time servicepublic void setUtility(Utility utility)
utility - the utility class
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||