Class ProductWizardCatalogVersionPopulator
java.lang.Object
de.hybris.platform.platformbackoffice.handlers.ProductWizardCatalogVersionPopulator
- All Implemented Interfaces:
com.hybris.cockpitng.widgets.configurableflow.FlowPrepareHandler
public class ProductWizardCatalogVersionPopulator
extends Object
implements com.hybris.cockpitng.widgets.configurableflow.FlowPrepareHandler
Wizard handler which populates
ProductModel.CATALOGVERSION property from context and checks if user can
create product in such Catalog Version.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected Collection<CatalogVersionModel>getAllWritableCatalogVersions(UserModel currentUser) protected CatalogVersionModelprotected CatalogVersionModelprotected CatalogVersionServiceprotected UserServiceprotected voidpopulateProductWithCatalogVersion(com.hybris.cockpitng.core.model.WidgetModel widgetModel, CatalogVersionModel catalogVersion) voidprepareFlow(com.hybris.cockpitng.config.jaxb.wizard.PrepareType prepare, com.hybris.cockpitng.engine.WidgetInstanceManager widgetInstanceManager) voidsetCatalogVersionService(CatalogVersionService catalogVersionService) voidsetUserService(UserService userService)
-
Constructor Details
-
ProductWizardCatalogVersionPopulator
public ProductWizardCatalogVersionPopulator()
-
-
Method Details
-
prepareFlow
public void prepareFlow(com.hybris.cockpitng.config.jaxb.wizard.PrepareType prepare, com.hybris.cockpitng.engine.WidgetInstanceManager widgetInstanceManager) - Specified by:
prepareFlowin interfacecom.hybris.cockpitng.widgets.configurableflow.FlowPrepareHandler
-
getCatalogVersionFromActionContext
-
getCatalogVersionFromMap
-
populateProductWithCatalogVersion
protected void populateProductWithCatalogVersion(com.hybris.cockpitng.core.model.WidgetModel widgetModel, CatalogVersionModel catalogVersion) -
getAllWritableCatalogVersions
-
getCatalogVersionService
-
setCatalogVersionService
-
getUserService
-
setUserService
-