Class SelectiveSyncAttributesOverviewRenderer
java.lang.Object
com.hybris.cockpitng.widgets.common.AbstractWidgetComponentRenderer<org.zkoss.zk.ui.Component,T,K>
com.hybris.cockpitng.widgets.editorarea.renderer.impl.AbstractEditorAreaComponentRenderer<com.hybris.cockpitng.core.config.impl.jaxb.editorarea.AbstractPanel,K>
com.hybris.cockpitng.widgets.editorarea.renderer.impl.AbstractEditorAreaPanelRenderer<CatalogVersionSyncJobModel>
com.hybris.backoffice.widgets.selectivesync.renderer.SelectiveSyncAttributesOverviewRenderer
- All Implemented Interfaces:
com.hybris.cockpitng.widgets.common.NotifyingWidgetComponentRenderer<org.zkoss.zk.ui.Component,,com.hybris.cockpitng.core.config.impl.jaxb.editorarea.AbstractPanel, CatalogVersionSyncJobModel> com.hybris.cockpitng.widgets.common.WidgetComponentRenderer<org.zkoss.zk.ui.Component,com.hybris.cockpitng.core.config.impl.jaxb.editorarea.AbstractPanel, CatalogVersionSyncJobModel>
public class SelectiveSyncAttributesOverviewRenderer
extends com.hybris.cockpitng.widgets.editorarea.renderer.impl.AbstractEditorAreaPanelRenderer<CatalogVersionSyncJobModel>
Custom renderer for
CatalogVersionSyncJobModel with summary view of attributes included for synchronization.-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic class -
Field Summary
FieldsModifier and TypeFieldDescriptionprotected static final Stringprotected static final Stringprotected static final Stringprotected static final Stringprotected static final Stringprotected static final Stringprotected static final StringFields inherited from class com.hybris.cockpitng.widgets.editorarea.renderer.impl.AbstractEditorAreaComponentRenderer
ATTR_NOT_SAVED_OBJECT, attributeDescriptionIconRenderer, CURRENT_OBJECT, CURRENT_OBJECT_DOTLESS, DEFAULT_ENCRYPTED_EDITOR, 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 -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected intcalculateExcludedAttributes(Collection<SyncAttributeDescriptorConfigModel> syncAttributeConfigurations) protected intcalculateExcludedTypes(Collection<SyncAttributeDescriptorConfigModel> syncAttributeConfigurations) protected intcalculateIncludedAttributes(Collection<SyncAttributeDescriptorConfigModel> syncAttributeConfigurations) protected intcalculateIncludedTypes(Collection<SyncAttributeDescriptorConfigModel> syncAttributeConfigurations) calculateSummary(Collection<SyncAttributeDescriptorConfigModel> syncAttributeConfigurations) protected org.zkoss.zul.ButtoncreateButton(CatalogVersionSyncJobModel data, com.hybris.cockpitng.engine.WidgetInstanceManager widgetInstanceManager) protected org.zkoss.zk.ui.ComponentcreateColumn(String headerKey, int attributes, int types) protected org.zkoss.zul.LabelcreateLabel(String labelKey, Object... values) protected org.zkoss.zk.ui.Componentprotected List<com.hybris.cockpitng.core.WidgetSocket>getAllOutputs(com.hybris.cockpitng.engine.WidgetInstanceManager widgetInstanceManager) protected booleanisCurrentObjectSocketAvailable(com.hybris.cockpitng.engine.WidgetInstanceManager widgetInstanceManager) voidrender(org.zkoss.zk.ui.Component parent, com.hybris.cockpitng.core.config.impl.jaxb.editorarea.AbstractPanel configuration, CatalogVersionSyncJobModel data, com.hybris.cockpitng.dataaccess.facades.type.DataType dataType, com.hybris.cockpitng.engine.WidgetInstanceManager widgetInstanceManager) 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, getObjectFacade, getPermissionFacade, getPropertyValueService, getWidgetRenderingUtils, processEditorBeforeComposition, renderNotReadableLabel, resolveAttributeLabel, resolveAttributePath, resolveCustomComponentRenderer, resolveEditorType, resolveLabel, setAttributeDescriptionIconRenderer, setCockpitLocaleService, setCockpitUserService, setEditAvailabilityProviderFactory, setLabelService, setObjectFacade, setPasswordEditorAsDefaultForEncryptedStrings, setPermissionFacade, setPropertyValueService, setWidgetRenderingUtils, validateCustomElementMethods inherited from class com.hybris.cockpitng.widgets.common.AbstractWidgetComponentRenderer
addRendererListener, fireComponentRendered, fireComponentRendered, fireComponentRendered, removeRendererListenerMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.hybris.cockpitng.widgets.common.WidgetComponentRenderer
render
-
Field Details
-
LABEL_CONFIGURATION
- See Also:
-
LABEL_PROPERTIES_INCLUDED
- See Also:
-
LABEL_PROPERTIES_EXCLUDED
- See Also:
-
LABEL_PROPERTIES_TYPES
- See Also:
-
LABEL_PROPERTIES_ATTRIBUTES
- See Also:
-
LABEL_EDIT_CONFIGURATION
- See Also:
-
SOCKET_OUTPUT_SEL_SYNC_OBJECT
- See Also:
-
-
Constructor Details
-
SelectiveSyncAttributesOverviewRenderer
public SelectiveSyncAttributesOverviewRenderer()
-
-
Method Details
-
render
public void render(org.zkoss.zk.ui.Component parent, com.hybris.cockpitng.core.config.impl.jaxb.editorarea.AbstractPanel configuration, CatalogVersionSyncJobModel data, com.hybris.cockpitng.dataaccess.facades.type.DataType dataType, com.hybris.cockpitng.engine.WidgetInstanceManager widgetInstanceManager) -
calculateSummary
protected SelectiveSyncAttributesOverviewRenderer.SyncAttributesSummary calculateSummary(Collection<SyncAttributeDescriptorConfigModel> syncAttributeConfigurations) -
calculateIncludedAttributes
protected int calculateIncludedAttributes(Collection<SyncAttributeDescriptorConfigModel> syncAttributeConfigurations) -
calculateExcludedAttributes
protected int calculateExcludedAttributes(Collection<SyncAttributeDescriptorConfigModel> syncAttributeConfigurations) -
calculateIncludedTypes
protected int calculateIncludedTypes(Collection<SyncAttributeDescriptorConfigModel> syncAttributeConfigurations) -
calculateExcludedTypes
protected int calculateExcludedTypes(Collection<SyncAttributeDescriptorConfigModel> syncAttributeConfigurations) -
createTable
protected org.zkoss.zk.ui.Component createTable(SelectiveSyncAttributesOverviewRenderer.SyncAttributesSummary summary) -
createColumn
-
createLabel
-
createButton
protected org.zkoss.zul.Button createButton(CatalogVersionSyncJobModel data, com.hybris.cockpitng.engine.WidgetInstanceManager widgetInstanceManager) -
isCurrentObjectSocketAvailable
protected boolean isCurrentObjectSocketAvailable(com.hybris.cockpitng.engine.WidgetInstanceManager widgetInstanceManager) -
getAllOutputs
protected List<com.hybris.cockpitng.core.WidgetSocket> getAllOutputs(com.hybris.cockpitng.engine.WidgetInstanceManager widgetInstanceManager)
-