Class CelumMediaReferenceUIEditor
- java.lang.Object
-
- de.hybris.platform.cockpit.model.editor.impl.AbstractUIEditor
-
- de.hybris.platform.cockpit.model.referenceeditor.impl.AbstractReferenceUIEditor
-
- de.hybris.platform.cockpit.model.referenceeditor.impl.DefaultMediaReferenceUIEditor
-
- de.hybris.platform.cockpit.model.referenceeditor.celum.impl.CelumMediaReferenceUIEditor
-
- All Implemented Interfaces:
ReferenceUIEditor
,UIEditor
@Deprecated public class CelumMediaReferenceUIEditor extends DefaultMediaReferenceUIEditor
Deprecated.since 6.3, useCelumSimpleMediaReferenceUIEditor
insteadThe Class CelumMediaReferenceUIEditor.
-
-
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 Modifier and Type Field Description static java.lang.String
CELUM_MEDIA_FORMAT_KEY
Deprecated.protected CockpitCelumService
celumService
Deprecated.protected static java.lang.String
CONTEXT_PATH
Deprecated.protected static java.lang.String
EDITOR_CONTEXT_OBJECT
Deprecated.protected static java.lang.String
OPEN_CELUM_EDITOR_IMG
Deprecated.protected static java.lang.String
OPEN_CELUM_EDITOR_NOSYNC_IMG
Deprecated.-
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 CelumMediaReferenceUIEditor()
Deprecated.
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description org.zkoss.zk.ui.HtmlBasedComponent
createViewComponent(java.lang.Object initialValue, java.util.Map<java.lang.String,? extends java.lang.Object> parameters, EditorListener listener)
Deprecated.Creates a new editor component and attaches it to the specifiedPage
page
.protected TypedObject
getAssociatedItem()
Deprecated.protected java.lang.String
getCatalogVersionPK()
Deprecated.protected java.util.Map<java.lang.String,java.lang.String>
getCelumParameters(java.util.Map<java.lang.String,? extends java.lang.Object> parameters)
Deprecated.protected DefaultCockpitCelumDelegate
getCockpitCelumDelegate()
Deprecated.protected java.lang.String
getLink(java.util.Map<java.lang.String,? extends java.lang.Object> parameters)
Deprecated.protected boolean
isSynchronized()
Deprecated.protected void
renderEditorContent(org.zkoss.zk.ui.HtmlBasedComponent parent, java.lang.Object initialValue, java.util.Map<java.lang.String,? extends java.lang.Object> parameters, EditorListener listener)
Deprecated.void
setFocus(org.zkoss.zk.ui.HtmlBasedComponent rootEditorComponent, boolean selectAll)
Deprecated.Sets the focus on the given input component which can be the rootEditorComponent or a child of it-
Methods inherited from class de.hybris.platform.cockpit.model.referenceeditor.impl.DefaultMediaReferenceUIEditor
getModel, getRootSearchType, getRootType, getValue, isInline, setRootSearchType, setRootType, setValue
-
Methods inherited from class de.hybris.platform.cockpit.model.referenceeditor.impl.AbstractReferenceUIEditor
findMaxAutocompleteSearchResults, getBooleanParameter, getEditorType, isAllowCreate, setAllowCreate
-
Methods inherited from class de.hybris.platform.cockpit.model.editor.impl.AbstractUIEditor
applyReferenceRelatedAttributes, createEditor, createEditor, createEditor, createEditor, filterValues, fireValueChanged, getRootSearchType, getUIEditor, isEditable, isEditable, isOptional, isSearchMode, parseInitialInputString, parseTemplateCodes, persistValues, persistValues, setEditable, setOptional
-
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.UIEditor
isEditable, isOptional, setEditable, setOptional
-
-
-
-
Field Detail
-
CELUM_MEDIA_FORMAT_KEY
public static final java.lang.String CELUM_MEDIA_FORMAT_KEY
Deprecated.- See Also:
- Constant Field Values
-
EDITOR_CONTEXT_OBJECT
protected static final java.lang.String EDITOR_CONTEXT_OBJECT
Deprecated.- See Also:
- Constant Field Values
-
CONTEXT_PATH
protected static final java.lang.String CONTEXT_PATH
Deprecated.- See Also:
- Constant Field Values
-
OPEN_CELUM_EDITOR_IMG
protected static final java.lang.String OPEN_CELUM_EDITOR_IMG
Deprecated.- See Also:
- Constant Field Values
-
OPEN_CELUM_EDITOR_NOSYNC_IMG
protected static final java.lang.String OPEN_CELUM_EDITOR_NOSYNC_IMG
Deprecated.- See Also:
- Constant Field Values
-
celumService
protected CockpitCelumService celumService
Deprecated.
-
-
Method Detail
-
createViewComponent
public org.zkoss.zk.ui.HtmlBasedComponent createViewComponent(java.lang.Object initialValue, java.util.Map<java.lang.String,? extends java.lang.Object> parameters, EditorListener listener)
Deprecated.Description copied from interface:UIEditor
Creates a new editor component and attaches it to the specifiedPage
page
.- Specified by:
createViewComponent
in interfaceUIEditor
- Overrides:
createViewComponent
in classDefaultMediaReferenceUIEditor
- Parameters:
initialValue
- editor's initial valueparameters
- parameters passed via configuration for particular editorlistener
- theEditorListener
that will receive events when the editor's value is changed- Returns:
- the editor component
-
renderEditorContent
protected void renderEditorContent(org.zkoss.zk.ui.HtmlBasedComponent parent, java.lang.Object initialValue, java.util.Map<java.lang.String,? extends java.lang.Object> parameters, EditorListener listener)
Deprecated.
-
isSynchronized
protected boolean isSynchronized() throws CelumNotAvailableException
Deprecated.- Throws:
CelumNotAvailableException
-
getLink
protected java.lang.String getLink(java.util.Map<java.lang.String,? extends java.lang.Object> parameters) throws CelumNotAvailableException, java.lang.IllegalStateException
Deprecated.- Throws:
CelumNotAvailableException
java.lang.IllegalStateException
-
getCelumParameters
protected java.util.Map<java.lang.String,java.lang.String> getCelumParameters(java.util.Map<java.lang.String,? extends java.lang.Object> parameters) throws java.lang.IllegalStateException, CelumNotAvailableException
Deprecated.- Throws:
java.lang.IllegalStateException
CelumNotAvailableException
-
getCatalogVersionPK
protected java.lang.String getCatalogVersionPK()
Deprecated.
-
getCockpitCelumDelegate
protected DefaultCockpitCelumDelegate getCockpitCelumDelegate()
Deprecated.
-
getAssociatedItem
protected TypedObject getAssociatedItem()
Deprecated.
-
setFocus
public void setFocus(org.zkoss.zk.ui.HtmlBasedComponent rootEditorComponent, boolean selectAll)
Deprecated.Description copied from interface:UIEditor
Sets the focus on the given input component which can be the rootEditorComponent or a child of it- Specified by:
setFocus
in interfaceUIEditor
- Overrides:
setFocus
in classDefaultMediaReferenceUIEditor
- Parameters:
rootEditorComponent
- the rootEditorComponent which is returned on method createViewComponentselectAll
- if true, select the whole input field after focus. It is not guaranteed that the editor supports selection.
-
-