Class SystemSetupCollectorImpl
java.lang.Object
de.hybris.platform.core.initialization.impl.SystemSetupCollectorImpl
- All Implemented Interfaces:
SystemSetupCollector,org.springframework.beans.factory.Aware,org.springframework.context.ApplicationContextAware
public class SystemSetupCollectorImpl
extends Object
implements SystemSetupCollector, org.springframework.context.ApplicationContextAware
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidExecutes methods from the dataPool created before, according to the givenSystemSetupContextgetApplicablePatches(String extensionName) Returns all applicable patches for given extension.getDefaultParameterMap(String extensionName) getParameterMap(String extensionName) Returns allSystemSetupParameterin a list for the given extension.booleanhasEssentialData(String extensionName) booleanhasParameter(String extensionName) booleanhasProjectData(String extensionName) voidsetApplicationContext(org.springframework.context.ApplicationContext applicationContext) voidsetSystemSetupAuditDAO(SystemSetupAuditDAO systemSetupAuditDAO)
-
Constructor Details
-
SystemSetupCollectorImpl
public SystemSetupCollectorImpl()
-
-
Method Details
-
hasProjectData
- Specified by:
hasProjectDatain interfaceSystemSetupCollector- Returns:
- true, if the given extension has annotated methods for the project data creation
-
hasEssentialData
- Specified by:
hasEssentialDatain interfaceSystemSetupCollector- Returns:
- true, if the given extension has annotated methods for the essential data creation
-
hasParameter
- Specified by:
hasParameterin interfaceSystemSetupCollector- Returns:
- true, if the given extension has annotated methods returning
SystemSetupParameter
-
getParameterMap
Description copied from interface:SystemSetupCollectorReturns allSystemSetupParameterin a list for the given extension.- Specified by:
getParameterMapin interfaceSystemSetupCollector- Returns:
nullif nothing exists.
-
getDefaultParameterMap
- Specified by:
getDefaultParameterMapin interfaceSystemSetupCollector- Returns:
- returns a default parameter Map with the parameter key as key and the default value as
-
executeMethods
Description copied from interface:SystemSetupCollectorExecutes methods from the dataPool created before, according to the givenSystemSetupContext- Specified by:
executeMethodsin interfaceSystemSetupCollector- Parameters:
ctx-SystemSetupContext
-
getApplicablePatches
Description copied from interface:SystemSetupCollectorReturns all applicable patches for given extension.- Specified by:
getApplicablePatchesin interfaceSystemSetupCollector- Returns:
- List of patch data or empty list if there are no pending patches to apply
-
setApplicationContext
public void setApplicationContext(org.springframework.context.ApplicationContext applicationContext) throws org.springframework.beans.BeansException - Specified by:
setApplicationContextin interfaceorg.springframework.context.ApplicationContextAware- Throws:
org.springframework.beans.BeansException
-
setSystemSetupAuditDAO
-