Class SubscriptionBundleServicesSystemSetup
java.lang.Object
de.hybris.platform.commerceservices.setup.CommerceServicesSystemSetup
de.hybris.platform.subscriptionbundleservices.setup.SubscriptionBundleServicesSystemSetup
@SystemSetup(extension="subscriptionbundleservices")
public class SubscriptionBundleServicesSystemSetup
extends CommerceServicesSystemSetup
This class provides hooks into the system's initialization and update processes.
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected SystemSetupParametercreateBooleanSystemSetupParameter(String key, String label, boolean defaultValue) Helper method for creating a Boolean setup parameter.voidcreateSampleData(SystemSetupContext context) protected booleangetBooleanSystemSetupParameter(SystemSetupContext context, String key) Helper method for checking setting of a Boolean setup parameter.protected booleanHelper method for getting default value of a Boolean setup parameter.Generates the Dropdown and Multi-select boxes for the project data importMethods inherited from class de.hybris.platform.commerceservices.setup.CommerceServicesSystemSetup
createEssentialData, getCommonI18NService, getFileEncoding, getImpexExt, getImportService, importImpexFile, importImpexFile, setCommonI18NService, setFileEncoding, setFlexibleSearchService, setImpexExt, setImportService, setModelService, updateSolrIndexedPropertyVisibleFlag
-
Field Details
-
BOOLEAN_TRUE
- See Also:
-
BOOLEAN_FALSE
- See Also:
-
-
Constructor Details
-
SubscriptionBundleServicesSystemSetup
public SubscriptionBundleServicesSystemSetup()
-
-
Method Details
-
getInitializationOptions
Generates the Dropdown and Multi-select boxes for the project data import -
createSampleData
@SystemSetup(extension="subscriptionbundleservices", type=PROJECT, process=ALL) public void createSampleData(SystemSetupContext context) -
getBooleanSystemSetupParameter
Helper method for checking setting of a Boolean setup parameter.- Parameters:
context-key-- Returns:
- true if parameter is set to Yes
-
createBooleanSystemSetupParameter
protected SystemSetupParameter createBooleanSystemSetupParameter(String key, String label, boolean defaultValue) Helper method for creating a Boolean setup parameter.- Parameters:
key-label-defaultValue-
-
getDefaultValueForBooleanSystemSetupParameter
Helper method for getting default value of a Boolean setup parameter.- Parameters:
key-- Returns:
- the default value
-