Class DefaultVendorCreationStrategy
java.lang.Object
de.hybris.platform.marketplaceservices.strategies.impl.DefaultVendorCreationStrategy
- All Implemented Interfaces:
VendorCreationStrategy
A default implementation of
VendorCreationStrategy-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected voidcreateCatalog(VendorModel vendor) protected voidcreateLandingPage(VendorModel vendor) protected voidcreatePromotionRuleEngineContextMapping(CatalogVersionModel catalogVersion) protected voidcreateUserGroupsForVendor(VendorModel vendor) voidcreateVendor(VendorModel vendor, boolean useCustomPage) populate the specific vendor model and save it.protected voidcreateWarehouse(VendorModel vendor) protected BaseStoreServiceprotected CommerceCommonI18NServiceprotected ConfigurationServiceprotected ModelServiceprotected List<PrincipalModel>getReadPrincipals(CatalogVersionModel catalogVersion) protected Stringprotected UserServiceprotected VendorCMSStrategyprotected VendorPromotionRuleEngineContextServicevoidsetBaseStoreService(BaseStoreService baseStoreService) voidsetCommerceCommonI18NService(CommerceCommonI18NService commerceCommonI18NService) voidsetConfigurationService(ConfigurationService configurationService) voidsetModelService(ModelService modelService) voidsetUserService(UserService userService) voidsetVendorCmsStrategy(VendorCMSStrategy vendorCmsStrategy) voidsetVendorPromotionRuleEngineContextService(VendorPromotionRuleEngineContextService vendorPromotionRuleEngineContextService)
-
Constructor Details
-
DefaultVendorCreationStrategy
public DefaultVendorCreationStrategy()
-
-
Method Details
-
createVendor
Description copied from interface:VendorCreationStrategypopulate the specific vendor model and save it.- Specified by:
createVendorin interfaceVendorCreationStrategy- Parameters:
vendor- the vendor to saveuseCustomPage- if true will assign the vendor a landing page
-
createCatalog
-
createPromotionRuleEngineContextMapping
-
createWarehouse
-
createUserGroupsForVendor
-
createLandingPage
-
getStringForConfiguration
-
getReadPrincipals
-
getUserGroupUidListForConfiguration
-
getConfigurationService
-
getUserService
-
setConfigurationService
-
getBaseStoreService
-
setBaseStoreService
-
setUserService
-
getModelService
-
setModelService
-
getVendorCmsStrategy
-
setVendorCmsStrategy
-
getCommerceCommonI18NService
-
setCommerceCommonI18NService
-
getVendorPromotionRuleEngineContextService
-
setVendorPromotionRuleEngineContextService
public void setVendorPromotionRuleEngineContextService(VendorPromotionRuleEngineContextService vendorPromotionRuleEngineContextService)
-