public class CelumMediaEditorBase extends Object
| Modifier and Type | Field and Description |
|---|---|
static String |
BACK_TO_HYBRIS_SCRIPT |
static String |
CATALOG_VERSION_PK |
static String |
CELUM_MEDIA_FORMAT_KEY |
static String |
CONTEXT_PATH |
static String |
EDITOR_CONTEXT_OBJECT |
static String |
EVENTS_KEY |
static String |
OPEN_CELUM_EDITOR_IMG |
static String |
OPEN_CELUM_EDITOR_NOSYNC_IMG |
| Constructor and Description |
|---|
CelumMediaEditorBase(Map<String,? extends Object> parameters) |
| Modifier and Type | Method and Description |
|---|---|
TypedObject |
getAssociatedItem() |
String |
getCatalogVersionPK()
Gets the catalog version PK.
|
Map<String,String> |
getCelumParameters(Map<String,? extends Object> parameters)
Gets the celum parameters.
|
protected DefaultCockpitCelumDelegate |
getCockpitCelumDelegate()
Gets the cockpit celum delegate.
|
protected String |
getLink(Map<String,? extends Object> parameters,
boolean isEditable)
Gets the link to the celum system.
|
Map<String,Object> |
getParameters() |
protected boolean |
isSynchronized(Object editorValue)
Checks if is synchronized.
|
Hbox |
renderCelumButton(HtmlBasedComponent superView,
String link,
boolean isCelumAlive,
boolean isEditable)
Render celum button.
|
public static final String CELUM_MEDIA_FORMAT_KEY
public static final String OPEN_CELUM_EDITOR_IMG
public static final String OPEN_CELUM_EDITOR_NOSYNC_IMG
public static final String EDITOR_CONTEXT_OBJECT
public static final String CONTEXT_PATH
public static final String BACK_TO_HYBRIS_SCRIPT
public static final String CATALOG_VERSION_PK
public static final String EVENTS_KEY
protected String getLink(Map<String,? extends Object> parameters, boolean isEditable) throws CelumNotAvailableException, IllegalStateException
parameters - the parametersisEditable - the is editableCelumNotAvailableException - the celum not available exceptionIllegalStateException - the illegal state exceptionprotected DefaultCockpitCelumDelegate getCockpitCelumDelegate()
public TypedObject getAssociatedItem()
public String getCatalogVersionPK()
public Map<String,String> getCelumParameters(Map<String,? extends Object> parameters) throws IllegalStateException, CelumNotAvailableException
parameters - the parametersIllegalStateException - the illegal state exceptionCelumNotAvailableException - the celum not available exceptionprotected boolean isSynchronized(Object editorValue) throws CelumNotAvailableException
editorValue - the editor valueCelumNotAvailableException - the celum not available exceptionpublic Hbox renderCelumButton(HtmlBasedComponent superView,
String link,
boolean isCelumAlive,
boolean isEditable)
superView - the super viewlink - the linkisCelumAlive - the is celum aliveisEditable - the is editableCopyright © 2017 SAP SE. All Rights Reserved.