@SystemSetup(extension="commerceservices") public class CommerceServicesSystemSetup extends java.lang.Object
| Constructor and Description |
|---|
CommerceServicesSystemSetup() |
| Modifier and Type | Method and Description |
|---|---|
void |
createEssentialData(SystemSetupContext context)
This method will be called by system creator during initialization and system update.
|
protected CommonI18NService |
getCommonI18NService() |
protected java.lang.String |
getFileEncoding() |
protected java.lang.String |
getImpexExt() |
protected ImportService |
getImportService() |
protected void |
importImpexFile(java.lang.String file,
java.io.InputStream stream) |
protected void |
importImpexFile(SystemSetupContext context,
java.lang.String file,
boolean errorIfMissing)
Import impex file.
|
void |
setCommonI18NService(CommonI18NService commonI18NService) |
void |
setFileEncoding(java.lang.String fileEncoding) |
void |
setFlexibleSearchService(FlexibleSearchService flexibleSearchService) |
void |
setImpexExt(java.lang.String impexExt) |
void |
setImportService(ImportService importService) |
void |
setModelService(ModelService modelService) |
void |
updateSolrIndexedPropertyVisibleFlag(SystemSetupContext context) |
protected CommonI18NService getCommonI18NService()
public void setCommonI18NService(CommonI18NService commonI18NService)
protected ImportService getImportService()
public void setImportService(ImportService importService)
protected java.lang.String getFileEncoding()
public void setFileEncoding(java.lang.String fileEncoding)
protected java.lang.String getImpexExt()
public void setImpexExt(java.lang.String impexExt)
public void setFlexibleSearchService(FlexibleSearchService flexibleSearchService)
public void setModelService(ModelService modelService)
@SystemSetup(type=ESSENTIAL, process=UPDATE) public void updateSolrIndexedPropertyVisibleFlag(SystemSetupContext context)
@SystemSetup(type=ESSENTIAL, process=ALL) public void createEssentialData(SystemSetupContext context)
context - the context provides the selected parameters and valuesprotected void importImpexFile(SystemSetupContext context, java.lang.String file, boolean errorIfMissing)
context - the context provides the selected parameters and valuesfile - the file path to importerrorIfMissing - flag, set to true to error if the file is not foundprotected void importImpexFile(java.lang.String file,
java.io.InputStream stream)
Copyright © 2018 SAP SE. All Rights Reserved.