@SystemSetup(extension="backofficesolrsearch") public class DefaultBackofficeSolrSearchImpexImportSystemSetup extends java.lang.Object implements BackofficeSolrSearchImpexImportSystemSetup
| Constructor and Description |
|---|
DefaultBackofficeSolrSearchImpexImportSystemSetup(ImportService importService,
CommonI18NService commonI18NService,
BackofficeSolrSearchSystemSetupConfig backofficeSolrSearchSystemSetupConfig,
FileBasedImpExResourceFactory fileBasedImpExResourceFactory) |
| Modifier and Type | Method and Description |
|---|---|
protected CommonI18NService |
getCommonI18NService() |
protected BackofficeSolrSearchSystemSetupConfig |
getConfig() |
protected FileBasedImpExResourceFactory |
getFileBasedImpExResourceFactory() |
protected ImportService |
getImportService() |
void |
importImpex()
Imports configured (project.properties) impex files, and localized impex files during system initialization and
system update
|
protected void |
importImpexFileWithLogging(java.lang.String filePath) |
protected void |
importLocalizedImpexFiles(java.lang.String rootPath) |
protected java.lang.String |
resolveLocalizedFilePath(java.lang.String root,
LanguageModel languageModel) |
protected java.util.Optional<ImportResult> |
tryToImportImpexFile(java.lang.String filePath) |
public DefaultBackofficeSolrSearchImpexImportSystemSetup(ImportService importService, CommonI18NService commonI18NService, BackofficeSolrSearchSystemSetupConfig backofficeSolrSearchSystemSetupConfig, FileBasedImpExResourceFactory fileBasedImpExResourceFactory)
@SystemSetup(type=PROJECT, process=ALL) public void importImpex()
importImpex in interface BackofficeSolrSearchImpexImportSystemSetupprotected void importImpexFileWithLogging(java.lang.String filePath)
protected java.util.Optional<ImportResult> tryToImportImpexFile(java.lang.String filePath)
protected void importLocalizedImpexFiles(java.lang.String rootPath)
protected java.lang.String resolveLocalizedFilePath(java.lang.String root,
LanguageModel languageModel)
protected ImportService getImportService()
protected CommonI18NService getCommonI18NService()
protected BackofficeSolrSearchSystemSetupConfig getConfig()
protected FileBasedImpExResourceFactory getFileBasedImpExResourceFactory()
Copyright © 2018 SAP SE. All Rights Reserved.