Class DefaultReferencePKEditor

java.lang.Object
com.hybris.cockpitng.editors.impl.AbstractCockpitEditorRenderer<Object>
de.hybris.platform.platformbackoffice.editors.pk.reference.DefaultReferencePKEditor
All Implemented Interfaces:
com.hybris.cockpitng.editors.CockpitEditorRenderer<Object>

public class DefaultReferencePKEditor extends com.hybris.cockpitng.editors.impl.AbstractCockpitEditorRenderer<Object>
  • Field Details

  • Constructor Details

    • DefaultReferencePKEditor

      public DefaultReferencePKEditor()
  • Method Details

    • render

      public void render(org.zkoss.zk.ui.Component parent, com.hybris.cockpitng.editors.EditorContext<Object> context, com.hybris.cockpitng.editors.EditorListener<Object> listener)
    • prepareNestedContext

      protected com.hybris.cockpitng.editors.EditorContext<Object> prepareNestedContext(com.hybris.cockpitng.editors.EditorContext<Object> context)
    • handleOnValueChanged

      protected void handleOnValueChanged(com.hybris.cockpitng.editors.EditorListener<Object> listener, com.hybris.cockpitng.components.Editor editor, DefaultReferencePKEditor.ReferenceContainer referenceContainer, Object data, com.hybris.cockpitng.editors.EditorContext<Object> context)
    • isOfRequiredType

      protected boolean isOfRequiredType(ItemModel model, com.hybris.cockpitng.editors.EditorContext<Object> context)
    • getSupportedTypes

      protected String[] getSupportedTypes(com.hybris.cockpitng.editors.EditorContext<Object> context)
    • loadItemByPK

      protected ItemModel loadItemByPK(com.hybris.cockpitng.components.Editor editor, PK pk, com.hybris.cockpitng.editors.EditorContext<Object> context)
    • createNestedPKEditor

      protected com.hybris.cockpitng.components.Editor createNestedPKEditor(com.hybris.cockpitng.editors.EditorContext<Object> context)
    • createReferenceContainer

      protected DefaultReferencePKEditor.ReferenceContainer createReferenceContainer(Object initialValue, com.hybris.cockpitng.editors.EditorListener<Object> listener, com.hybris.cockpitng.components.Editor editor)
    • getModelService

      public ModelService getModelService()
    • getLabelService

      public com.hybris.cockpitng.labels.LabelService getLabelService()
    • getBackofficeTypeUtils

      public com.hybris.cockpitng.util.type.BackofficeTypeUtils getBackofficeTypeUtils()