Class SappostransactionaddonSystemSetup
- java.lang.Object
-
- de.hybris.platform.commerceservices.setup.AbstractSystemSetup
-
- de.hybris.platform.sap.sappostransactionaddon.setup.SappostransactionaddonSystemSetup
-
@SystemSetup(extension="sappostransactionaddon") public class SappostransactionaddonSystemSetup extends AbstractSystemSetup
This class provides hooks into the system's initialization and update processes.
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.StringAPPARELstatic java.lang.StringAPPAREL_DEstatic java.lang.StringAPPAREL_UKstatic java.lang.StringELECTRONICSstatic java.lang.StringIMPORT_SYNC_CATALOGS-
Fields inherited from class de.hybris.platform.commerceservices.setup.AbstractSystemSetup
BOOLEAN_FALSE, BOOLEAN_TRUE
-
-
Constructor Summary
Constructors Constructor Description SappostransactionaddonSystemSetup()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidcreateProjectData(SystemSetupContext context)This method will be called during the system initialization.java.util.List<SystemSetupParameter>getInitializationOptions()Generates the Dropdown and Multi-Select boxes for the project data importprotected voidimportContentCatalog(SystemSetupContext context, java.lang.String catalogName)booleansynchronizeContentCatalog(SystemSetupContext context, java.lang.String catalogName)-
Methods inherited from class de.hybris.platform.commerceservices.setup.AbstractSystemSetup
activateSolrIndexerCronJobs, createBooleanSystemSetupParameter, createContentCatalogSyncJob, createProductCatalogSyncJob, createSolrIndexerCronJobs, executeCatalogSyncJob, executeSolrIndexerCronJob, getBooleanSystemSetupParameter, getCatalogSyncJob, getCatalogVersionService, getDefaultValueForBooleanSystemSetupParameter, getEventService, getSetupImpexService, getSetupSolrIndexerService, getSetupSyncJobService, importImpexFile, importImpexFile, importImpexFile, isSyncRerunNeeded, logError, logInfo, setCatalogVersionService, setEventService, setSetupImpexService, setSetupSolrIndexerService, setSetupSyncJobService
-
-
-
-
Field Detail
-
IMPORT_SYNC_CATALOGS
public static final java.lang.String IMPORT_SYNC_CATALOGS
- See Also:
- Constant Field Values
-
APPAREL
public static final java.lang.String APPAREL
- See Also:
- Constant Field Values
-
APPAREL_UK
public static final java.lang.String APPAREL_UK
- See Also:
- Constant Field Values
-
APPAREL_DE
public static final java.lang.String APPAREL_DE
- See Also:
- Constant Field Values
-
ELECTRONICS
public static final java.lang.String ELECTRONICS
- See Also:
- Constant Field Values
-
-
Method Detail
-
getInitializationOptions
@SystemSetupParameterMethod public java.util.List<SystemSetupParameter> getInitializationOptions()
Generates the Dropdown and Multi-Select boxes for the project data import- Specified by:
getInitializationOptionsin classAbstractSystemSetup- Returns:
- the list of SystemSetupParameters for the SystemSetup class.
-
createProjectData
@SystemSetup(type=PROJECT, process=ALL, extension="sappostransactionaddon") public void createProjectData(SystemSetupContext context)
This method will be called during the system initialization.- Parameters:
context- provides the selected parameters and values
-
importContentCatalog
protected void importContentCatalog(SystemSetupContext context, java.lang.String catalogName)
-
synchronizeContentCatalog
public boolean synchronizeContentCatalog(SystemSetupContext context, java.lang.String catalogName)
-
-