Class DefaultVendorCreationStrategy

java.lang.Object
de.hybris.platform.marketplaceservices.strategies.impl.DefaultVendorCreationStrategy
All Implemented Interfaces:
VendorCreationStrategy

public class DefaultVendorCreationStrategy extends Object implements VendorCreationStrategy
A default implementation of VendorCreationStrategy
  • Constructor Details

    • DefaultVendorCreationStrategy

      public DefaultVendorCreationStrategy()
  • Method Details

    • createVendor

      public void createVendor(VendorModel vendor, boolean useCustomPage)
      Description copied from interface: VendorCreationStrategy
      populate the specific vendor model and save it.
      Specified by:
      createVendor in interface VendorCreationStrategy
      Parameters:
      vendor - the vendor to save
      useCustomPage - if true will assign the vendor a landing page
    • createCatalog

      protected void createCatalog(VendorModel vendor)
    • createPromotionRuleEngineContextMapping

      protected void createPromotionRuleEngineContextMapping(CatalogVersionModel catalogVersion)
    • createWarehouse

      protected void createWarehouse(VendorModel vendor)
    • createUserGroupsForVendor

      protected void createUserGroupsForVendor(VendorModel vendor)
    • createLandingPage

      protected void createLandingPage(VendorModel vendor)
    • getStringForConfiguration

      protected String getStringForConfiguration(String key)
    • getReadPrincipals

      protected List<PrincipalModel> getReadPrincipals(CatalogVersionModel catalogVersion)
    • getUserGroupUidListForConfiguration

      protected List<String> getUserGroupUidListForConfiguration()
    • getConfigurationService

      protected ConfigurationService getConfigurationService()
    • getUserService

      protected UserService getUserService()
    • setConfigurationService

      public void setConfigurationService(ConfigurationService configurationService)
    • getBaseStoreService

      protected BaseStoreService getBaseStoreService()
    • setBaseStoreService

      public void setBaseStoreService(BaseStoreService baseStoreService)
    • setUserService

      public void setUserService(UserService userService)
    • getModelService

      protected ModelService getModelService()
    • setModelService

      public void setModelService(ModelService modelService)
    • getVendorCmsStrategy

      protected VendorCMSStrategy getVendorCmsStrategy()
    • setVendorCmsStrategy

      public void setVendorCmsStrategy(VendorCMSStrategy vendorCmsStrategy)
    • getCommerceCommonI18NService

      protected CommerceCommonI18NService getCommerceCommonI18NService()
    • setCommerceCommonI18NService

      public void setCommerceCommonI18NService(CommerceCommonI18NService commerceCommonI18NService)
    • getVendorPromotionRuleEngineContextService

      protected VendorPromotionRuleEngineContextService getVendorPromotionRuleEngineContextService()
    • setVendorPromotionRuleEngineContextService

      public void setVendorPromotionRuleEngineContextService(VendorPromotionRuleEngineContextService vendorPromotionRuleEngineContextService)