Class GeoCodePosSectionRenderer
- 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.AbstractSection,K>
-
- com.hybris.cockpitng.widgets.editorarea.renderer.impl.AbstractEditorAreaSectionRenderer<java.lang.Object>
-
- com.hybris.cockpitng.widgets.editorarea.renderer.impl.DefaultEditorAreaSectionRenderer
-
- de.hybris.platform.basecommerce.backoffice.editor.GeoCodePosSectionRenderer
-
- All Implemented Interfaces:
com.hybris.cockpitng.widgets.common.NotifyingWidgetComponentRenderer<org.zkoss.zk.ui.Component,com.hybris.cockpitng.core.config.impl.jaxb.editorarea.AbstractSection,java.lang.Object>,com.hybris.cockpitng.widgets.common.WidgetComponentRenderer<org.zkoss.zk.ui.Component,com.hybris.cockpitng.core.config.impl.jaxb.editorarea.AbstractSection,java.lang.Object>
public class GeoCodePosSectionRenderer extends com.hybris.cockpitng.widgets.editorarea.renderer.impl.DefaultEditorAreaSectionRenderer
-
-
Field Summary
-
Fields inherited from class com.hybris.cockpitng.widgets.editorarea.renderer.impl.DefaultEditorAreaSectionRenderer
MODEL_CURRENT_OBJECT, MODEL_EDITORS_DETACHED, MODEL_ESSENTIAL_SECTION_IS_OPEN, SCLASS_CELL_LABEL_CONTAINER
-
Fields 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 Constructor Description GeoCodePosSectionRenderer()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected voiddesynchronizeView(GPS gps, java.util.Date geocodeTimestamp, com.hybris.cockpitng.engine.WidgetInstanceManager widgetInstanceManager)protected booleangeoCodeAddress(AddressData address, PointOfServiceModel pos, com.hybris.cockpitng.engine.WidgetInstanceManager widgetInstanceManager)protected java.util.List<com.hybris.cockpitng.core.config.impl.jaxb.editorarea.Attribute>getAttributes()protected GeoWebServiceWrappergetGeoServiceWrapper()protected com.hybris.cockpitng.util.notifications.NotificationServicegetNotificationService()protected booleanhasUserPermissionToWrite(PointOfServiceModel pos)voidrender(org.zkoss.zk.ui.Component parent, com.hybris.cockpitng.core.config.impl.jaxb.editorarea.AbstractSection abstractSectionConfiguration, java.lang.Object object, com.hybris.cockpitng.dataaccess.facades.type.DataType dataType, com.hybris.cockpitng.engine.WidgetInstanceManager widgetInstanceManager)voidsetGeoServiceWrapper(GeoWebServiceWrapper geoServiceWrapper)voidsetNotificationService(com.hybris.cockpitng.util.notifications.NotificationService notificationService)protected voidupdatePointOfService(GPS gps, java.util.Date geocodeTimestamp, PointOfServiceModel pos)-
Methods inherited from class com.hybris.cockpitng.widgets.editorarea.renderer.impl.DefaultEditorAreaSectionRenderer
calculateWidthPercentage, createAttributeEditorWithLabelRenderer, createAttributeRenderer, createCustomSectionRenderer, createSectionRenderer, getEditorAreaPanelRenderer, getValidationRenderer, isEssentialSection, prepareContainer, prepareContainerCaption, renderAttributes, renderAttributes, renderAttributesInPanels, renderCustomElement, renderDescription, setEditorAreaPanelRenderer, setSectionOpenAttribute, setValidationRenderer
-
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, validateCustomElement
-
Methods inherited from class com.hybris.cockpitng.widgets.common.AbstractWidgetComponentRenderer
addRendererListener, fireComponentRendered, fireComponentRendered, fireComponentRendered, removeRendererListener
-
-
-
-
Method Detail
-
render
public void render(org.zkoss.zk.ui.Component parent, com.hybris.cockpitng.core.config.impl.jaxb.editorarea.AbstractSection abstractSectionConfiguration, java.lang.Object object, com.hybris.cockpitng.dataaccess.facades.type.DataType dataType, com.hybris.cockpitng.engine.WidgetInstanceManager widgetInstanceManager)- Specified by:
renderin interfacecom.hybris.cockpitng.widgets.common.WidgetComponentRenderer<org.zkoss.zk.ui.Component,com.hybris.cockpitng.core.config.impl.jaxb.editorarea.AbstractSection,java.lang.Object>- Overrides:
renderin classcom.hybris.cockpitng.widgets.editorarea.renderer.impl.DefaultEditorAreaSectionRenderer
-
geoCodeAddress
protected boolean geoCodeAddress(AddressData address, PointOfServiceModel pos, com.hybris.cockpitng.engine.WidgetInstanceManager widgetInstanceManager)
-
desynchronizeView
protected void desynchronizeView(GPS gps, java.util.Date geocodeTimestamp, com.hybris.cockpitng.engine.WidgetInstanceManager widgetInstanceManager)
-
updatePointOfService
protected void updatePointOfService(GPS gps, java.util.Date geocodeTimestamp, PointOfServiceModel pos)
-
hasUserPermissionToWrite
protected boolean hasUserPermissionToWrite(PointOfServiceModel pos)
-
getAttributes
protected java.util.List<com.hybris.cockpitng.core.config.impl.jaxb.editorarea.Attribute> getAttributes()
-
setGeoServiceWrapper
public void setGeoServiceWrapper(GeoWebServiceWrapper geoServiceWrapper)
-
getGeoServiceWrapper
protected GeoWebServiceWrapper getGeoServiceWrapper()
-
getNotificationService
protected com.hybris.cockpitng.util.notifications.NotificationService getNotificationService()
-
setNotificationService
public void setNotificationService(com.hybris.cockpitng.util.notifications.NotificationService notificationService)
-
-