Class ExportSolrConfigurationPanelRenderer

  • All Implemented Interfaces:
    com.hybris.cockpitng.widgets.common.NotifyingWidgetComponentRenderer<org.zkoss.zk.ui.Component,​com.hybris.cockpitng.core.config.impl.jaxb.editorarea.AbstractPanel,​java.lang.Object>, com.hybris.cockpitng.widgets.common.WidgetComponentRenderer<org.zkoss.zk.ui.Component,​com.hybris.cockpitng.core.config.impl.jaxb.editorarea.AbstractPanel,​java.lang.Object>

    public class ExportSolrConfigurationPanelRenderer
    extends com.hybris.cockpitng.widgets.editorarea.renderer.impl.AbstractEditorAreaPanelRenderer<java.lang.Object>
    Renders button to export Solr configuration (synonyms and stop words)
    • Field Summary

      Fields 
      Modifier and Type Field Description
      protected static java.lang.String CSS_EXPORT_BUTTON  
      protected static java.lang.String EXPORT_BUTTON  
      protected static java.lang.String NOTIFICATION_EVENT_EXPORT_SOLR_CONFIGURATION  
      • Fields inherited from class com.hybris.cockpitng.widgets.editorarea.renderer.impl.AbstractEditorAreaComponentRenderer

        ATTR_NOT_SAVED_OBJECT, attributeDescriptionIconRenderer, CURRENT_OBJECT, CURRENT_OBJECT_DOTLESS, MISSING_RENDERER_ERROR_MSG, SCLASS_CELL_READ_RESTRICTED, SCLASS_CUSTOM_CONTAINER, SCLASS_DESCRIPTION, SCLASS_DESCRIPTION_LABEL, SCLASS_EDITOR, SCLASS_EDITOR_CONTAINER, SCLASS_LABEL, SCLASS_READONLY_EDITOR
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      protected void exportConfiguration​(java.lang.String configurationName)  
      FacetSearchConfigService getFacetSearchConfigService()  
      com.hybris.backoffice.widgets.notificationarea.NotificationService getNotificationService()  
      SolrIndexService getSolrIndexService()  
      SolrSearchProviderFactory getSolrSearchProviderFactory()  
      void render​(org.zkoss.zk.ui.Component parent, com.hybris.cockpitng.core.config.impl.jaxb.editorarea.AbstractPanel panel, java.lang.Object data, com.hybris.cockpitng.dataaccess.facades.type.DataType type, com.hybris.cockpitng.engine.WidgetInstanceManager widgetInstanceManager)  
      void setFacetSearchConfigService​(FacetSearchConfigService facetSearchConfigService)  
      void setNotificationService​(com.hybris.backoffice.widgets.notificationarea.NotificationService notificationService)  
      void setSolrIndexService​(SolrIndexService solrIndexService)  
      void setSolrSearchProviderFactory​(SolrSearchProviderFactory solrSearchProviderFactory)  
      • Methods inherited from class com.hybris.cockpitng.widgets.editorarea.renderer.impl.AbstractEditorAreaComponentRenderer

        buildEditor, canChangeProperty, createCustom, createEditor, createNotReadableAttributeLabelRenderer, evaluateCustomDefinition, extractParameterName, extractParameterValue, extractPropertiesList, getAttributeDescription, getCockpitLocaleService, getCockpitUserService, getEditAvailabilityProviderFactory, getEditorBuilder, getLabelService, getPermissionFacade, getPropertyValueService, getWidgetRenderingUtils, processEditorBeforeComposition, renderNotReadableLabel, resolveAttributeLabel, resolveAttributePath, resolveCustomComponentRenderer, resolveEditorType, resolveLabel, setAttributeDescriptionIconRenderer, setCockpitLocaleService, setCockpitUserService, setEditAvailabilityProviderFactory, setLabelService, setPermissionFacade, setPropertyValueService, setWidgetRenderingUtils, validateCustomElement
      • Methods inherited from class com.hybris.cockpitng.widgets.common.AbstractWidgetComponentRenderer

        addRendererListener, fireComponentRendered, fireComponentRendered, fireComponentRendered, removeRendererListener
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
      • Methods inherited from interface com.hybris.cockpitng.widgets.common.WidgetComponentRenderer

        render
    • Field Detail

      • CSS_EXPORT_BUTTON

        protected static final java.lang.String CSS_EXPORT_BUTTON
        See Also:
        Constant Field Values
      • NOTIFICATION_EVENT_EXPORT_SOLR_CONFIGURATION

        protected static final java.lang.String NOTIFICATION_EVENT_EXPORT_SOLR_CONFIGURATION
        See Also:
        Constant Field Values
    • Constructor Detail

      • ExportSolrConfigurationPanelRenderer

        public ExportSolrConfigurationPanelRenderer()
    • Method Detail

      • render

        public void render​(org.zkoss.zk.ui.Component parent,
                           com.hybris.cockpitng.core.config.impl.jaxb.editorarea.AbstractPanel panel,
                           java.lang.Object data,
                           com.hybris.cockpitng.dataaccess.facades.type.DataType type,
                           com.hybris.cockpitng.engine.WidgetInstanceManager widgetInstanceManager)
      • setFacetSearchConfigService

        public void setFacetSearchConfigService​(FacetSearchConfigService facetSearchConfigService)
      • setSolrSearchProviderFactory

        public void setSolrSearchProviderFactory​(SolrSearchProviderFactory solrSearchProviderFactory)
      • setSolrIndexService

        public void setSolrIndexService​(SolrIndexService solrIndexService)
      • getNotificationService

        public com.hybris.backoffice.widgets.notificationarea.NotificationService getNotificationService()
      • setNotificationService

        public void setNotificationService​(com.hybris.backoffice.widgets.notificationarea.NotificationService notificationService)