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>
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionprotected static class -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final StringFields inherited from class com.hybris.cockpitng.editors.impl.AbstractCockpitEditorRenderer
HEADER_LABEL_TOOLTIP, ON_ADD_EVENT, ON_DELETE_EVENT, YW_EDITOR_AREA_LABEL_CONTAINERFields inherited from interface com.hybris.cockpitng.editors.CockpitEditorRenderer
INITIAL_EDIT_STRING -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected com.hybris.cockpitng.components.EditorcreateNestedPKEditor(com.hybris.cockpitng.editors.EditorContext<Object> context) createReferenceContainer(Object initialValue, com.hybris.cockpitng.editors.EditorListener<Object> listener, com.hybris.cockpitng.components.Editor editor) com.hybris.cockpitng.util.type.BackofficeTypeUtilscom.hybris.cockpitng.labels.LabelServiceprotected String[]getSupportedTypes(com.hybris.cockpitng.editors.EditorContext<Object> context) protected voidhandleOnValueChanged(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) protected booleanisOfRequiredType(ItemModel model, com.hybris.cockpitng.editors.EditorContext<Object> context) protected ItemModelloadItemByPK(com.hybris.cockpitng.components.Editor editor, PK pk, com.hybris.cockpitng.editors.EditorContext<Object> context) protected com.hybris.cockpitng.editors.EditorContext<Object>prepareNestedContext(com.hybris.cockpitng.editors.EditorContext<Object> context) voidrender(org.zkoss.zk.ui.Component parent, com.hybris.cockpitng.editors.EditorContext<Object> context, com.hybris.cockpitng.editors.EditorListener<Object> listener) Methods inherited from class com.hybris.cockpitng.editors.impl.AbstractCockpitEditorRenderer
extractEmbeddedEditor, extractEmbeddedType, findAncestorEditor, findEmbeddedEditors, getInitialEditString, getL10nDecorator
-
Field Details
-
EDITOR_ID_ONPREMISE_PK
- See Also:
-
SCLASS_YE_DEFAULT_REFERENCE_CONTAINER
- See Also:
-
SCLASS_YE_ONPREMISE_REFERENCE_PK_EDITOR
- See Also:
-
SCLASS_YE_REMOVE_REFERENCE
- See Also:
-
SCLASS_YE_INVALID_PK
- See Also:
-
-
Constructor Details
-
DefaultReferencePKEditor
public DefaultReferencePKEditor()
-
-
Method Details
-
render
-
prepareNestedContext
-
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
-
getSupportedTypes
-
loadItemByPK
-
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
-
getLabelService
public com.hybris.cockpitng.labels.LabelService getLabelService() -
getBackofficeTypeUtils
public com.hybris.cockpitng.util.type.BackofficeTypeUtils getBackofficeTypeUtils()
-