Class ClassificationAttributesExportRenderer

java.lang.Object
com.hybris.cockpitng.widgets.common.AbstractWidgetComponentRenderer<org.zkoss.zk.ui.Component,com.hybris.cockpitng.config.jaxb.wizard.ViewType,Map<String,String>>
com.hybris.cockpitng.widgets.configurableflow.renderer.DefaultCustomViewRenderer
com.hybris.backoffice.renderer.attributeschooser.AbstractAttributesExportRenderer<ClassAttributeAssignmentModel>
com.hybris.backoffice.renderer.attributeschooser.ClassificationAttributesExportRenderer
All Implemented Interfaces:
com.hybris.cockpitng.widgets.common.NotifyingWidgetComponentRenderer<org.zkoss.zk.ui.Component,com.hybris.cockpitng.config.jaxb.wizard.ViewType,Map<String,String>>, com.hybris.cockpitng.widgets.common.WidgetComponentRenderer<org.zkoss.zk.ui.Component,com.hybris.cockpitng.config.jaxb.wizard.ViewType,Map<String,String>>
Direct Known Subclasses:
ClassificationAttributesWithoutLocalizationRenderer

public class ClassificationAttributesExportRenderer extends AbstractAttributesExportRenderer<ClassAttributeAssignmentModel>
Renders components that allow to pick a list of classification attributes for given products.

Displays a list of available classification attributes of given Products, and a second list of selected attributes. Mandatory attributes are selected by default. Current implementation only allows to select classification attributes of all selected products. Params:

  • "classificationAttributesFormModelKey" - defines where in model attributes form is AttributeChooserForm - required
  • "itemsToExport" - defines spel to get items from model AttributeChooserForm - required
  • "includeAllSupported" - defines if include all should be available
  • "excludeLocalizedNodes" - defines if language nodes should be available. For example: if set to true then localized node will be visible, but the node will not have any children
  • "emptyAttributesMessageKey" - defines message key for label displayed in case there are no attributes to select.
  • "retrieveMode" - defines in what way classification classes are retrieved. There are 3 modes:
    • "ITEMS_INTERSECTION" - default value. In this mode displayed classification classes are retrieved from given items and intersected - it means that only common classes are displayed.
    • "ITEMS_UNION" - in this mode displayed classification classes are retrieved from given items - all classification classes from given items are then displayed.
    • "ALL" - in this mode all classification classes from the system are displayed - not only from given items
Available classification attributes can be filtered by setSupportedAttributesPredicate(Predicate)