Class AbstractReferenceUIEditor
- java.lang.Object
-
- de.hybris.platform.cockpit.model.editor.impl.AbstractUIEditor
-
- de.hybris.platform.cockpit.model.referenceeditor.impl.AbstractReferenceUIEditor
-
- All Implemented Interfaces:
ReferenceUIEditor
,UIEditor
- Direct Known Subclasses:
CollectionUIEditor
,DefaultMediaReferenceCollectionUIEditor
,DefaultMediaReferenceUIEditor
,DefaultReferenceCollectionUIEditor
,DefaultReferenceUIEditor
,DefaultSimpleReferenceUIEditor
,ListViewCollectionEditor
,SimpleReferenceUIEditor
public abstract class AbstractReferenceUIEditor extends AbstractUIEditor implements ReferenceUIEditor
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class de.hybris.platform.cockpit.model.editor.impl.AbstractUIEditor
AbstractUIEditor.CancelButtonContainer, AbstractUIEditor.CancelListener, AbstractUIEditor.ErrorDiv
-
-
Field Summary
-
Fields inherited from class de.hybris.platform.cockpit.model.editor.impl.AbstractUIEditor
ATTRIBUTE_QUALIFIER_PARAM, CANCEL_BTN, EVENT_SOURCE, inEditMode, initialEditValue, initialInputString, PROPERTY_DESCRIPTOR_PARAM, SEARCH_MODE_PARAM
-
Fields inherited from interface de.hybris.platform.cockpit.model.editor.ReferenceUIEditor
ALLOW_CREATE_PARAM_KEY
-
Fields inherited from interface de.hybris.platform.cockpit.model.editor.UIEditor
INITIAL_EDIT_STRING
-
-
Constructor Summary
Constructors Constructor Description AbstractReferenceUIEditor()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected java.lang.Integer
findMaxAutocompleteSearchResults(java.util.Map<java.lang.String,? extends java.lang.Object> parameters)
protected java.util.Optional<java.lang.Boolean>
getBooleanParameter(java.lang.String paramKey, java.util.Map<java.lang.String,? extends java.lang.Object> parameters)
java.lang.String
getEditorType()
java.lang.Boolean
isAllowCreate()
Returns the flag that indicates whether reference selector can create new item.void
setAllowCreate(java.lang.Boolean allowCreate)
Sets the flag that indicates whether reference selector can create new item.-
Methods inherited from class de.hybris.platform.cockpit.model.editor.impl.AbstractUIEditor
applyReferenceRelatedAttributes, createEditor, createEditor, createEditor, createEditor, filterValues, fireValueChanged, getRootSearchType, getUIEditor, getValue, isEditable, isEditable, isOptional, isSearchMode, parseInitialInputString, parseTemplateCodes, persistValues, persistValues, setEditable, setFocus, setOptional, setValue
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface de.hybris.platform.cockpit.model.editor.ReferenceUIEditor
getRootSearchType, getRootType, setRootSearchType, setRootType
-
Methods inherited from interface de.hybris.platform.cockpit.model.editor.UIEditor
createViewComponent, getValue, isEditable, isInline, isOptional, setEditable, setFocus, setOptional, setValue
-
-
-
-
Method Detail
-
isAllowCreate
public java.lang.Boolean isAllowCreate()
Description copied from interface:ReferenceUIEditor
Returns the flag that indicates whether reference selector can create new item.- Specified by:
isAllowCreate
in interfaceReferenceUIEditor
- Returns:
- the flag
-
setAllowCreate
public void setAllowCreate(java.lang.Boolean allowCreate)
Description copied from interface:ReferenceUIEditor
Sets the flag that indicates whether reference selector can create new item.- Specified by:
setAllowCreate
in interfaceReferenceUIEditor
-
getEditorType
public java.lang.String getEditorType()
- Specified by:
getEditorType
in interfaceUIEditor
-
findMaxAutocompleteSearchResults
protected java.lang.Integer findMaxAutocompleteSearchResults(java.util.Map<java.lang.String,? extends java.lang.Object> parameters)
-
getBooleanParameter
protected java.util.Optional<java.lang.Boolean> getBooleanParameter(java.lang.String paramKey, java.util.Map<java.lang.String,? extends java.lang.Object> parameters)
-
-