Class AbstractBackofficeSearchImpexImportSystemSetup
- java.lang.Object
-
- com.hybris.backoffice.search.setup.impl.AbstractBackofficeSearchImpexImportSystemSetup
-
- All Implemented Interfaces:
BackofficeSearchImpexImportSystemSetup
- Direct Known Subclasses:
DefaultBackofficeSearchservicesImpexImportSystemSetup,DefaultBackofficeSolrSearchImpexImportSystemSetup
public abstract class AbstractBackofficeSearchImpexImportSystemSetup extends java.lang.Object implements BackofficeSearchImpexImportSystemSetup
-
-
Constructor Summary
Constructors Constructor Description AbstractBackofficeSearchImpexImportSystemSetup(ImportService importService, CommonI18NService commonI18NService, ModelService modelService, CronJobService cronJobService, ConfigurationService configurationService, BackofficeSearchSystemSetupConfig backofficeSearchSystemSetupConfig, FileBasedImpExResourceFactory fileBasedImpExResourceFactory)
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description protected abstract voidadjustIndexUpdatingCronjob()protected CommonI18NServicegetCommonI18NService()protected BackofficeSearchSystemSetupConfiggetConfig()protected ConfigurationServicegetConfigurationService()protected CronJobServicegetCronJobService()protected FileBasedImpExResourceFactorygetFileBasedImpExResourceFactory()protected ImportServicegetImportService()protected abstract org.slf4j.LoggergetLOG()protected ModelServicegetModelService()voidimportImpex()Imports configured (project.properties) impex files, and localized impex files during system initialization and system updateprotected voidimportImpexFileWithLogging(java.lang.String filePath)protected voidimportLocalizedImpexFiles(java.lang.String rootPath)protected java.lang.StringresolveLocalizedFilePath(java.lang.String root, LanguageModel languageModel)protected java.util.Optional<ImportResult>tryToImportImpexFile(java.lang.String filePath)
-
-
-
Constructor Detail
-
AbstractBackofficeSearchImpexImportSystemSetup
public AbstractBackofficeSearchImpexImportSystemSetup(ImportService importService, CommonI18NService commonI18NService, ModelService modelService, CronJobService cronJobService, ConfigurationService configurationService, BackofficeSearchSystemSetupConfig backofficeSearchSystemSetupConfig, FileBasedImpExResourceFactory fileBasedImpExResourceFactory)
-
-
Method Detail
-
importImpex
@SystemSetup(type=PROJECT, process=ALL) public void importImpex()
Imports configured (project.properties) impex files, and localized impex files during system initialization and system update- Specified by:
importImpexin interfaceBackofficeSearchImpexImportSystemSetup
-
importImpexFileWithLogging
protected void importImpexFileWithLogging(java.lang.String filePath)
-
tryToImportImpexFile
protected java.util.Optional<ImportResult> tryToImportImpexFile(java.lang.String filePath)
-
importLocalizedImpexFiles
protected void importLocalizedImpexFiles(java.lang.String rootPath)
-
resolveLocalizedFilePath
protected java.lang.String resolveLocalizedFilePath(java.lang.String root, LanguageModel languageModel)
-
adjustIndexUpdatingCronjob
protected abstract void adjustIndexUpdatingCronjob()
-
getImportService
protected ImportService getImportService()
-
getCommonI18NService
protected CommonI18NService getCommonI18NService()
-
getModelService
protected ModelService getModelService()
-
getCronJobService
protected CronJobService getCronJobService()
-
getConfigurationService
protected ConfigurationService getConfigurationService()
-
getConfig
protected BackofficeSearchSystemSetupConfig getConfig()
-
getFileBasedImpExResourceFactory
protected FileBasedImpExResourceFactory getFileBasedImpExResourceFactory()
-
getLOG
protected abstract org.slf4j.Logger getLOG()
-
-