public interface CockpitCelumService
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
CELUM_CONTAINER_KEY |
static java.lang.String |
REQUEST_EVENT_PREFIX |
| Modifier and Type | Method and Description |
|---|---|
java.lang.Integer |
getCelumAssetId(ItemModel asset) |
java.lang.String |
getCelumUrl(TypedObject celumAsset)
Returns the Celum URL of the specified Celum asset.
|
java.lang.String |
getDirectCelumLink(ItemModel item,
java.lang.String celumAssetId,
java.util.Map<java.lang.String,java.lang.String> params)
Returns a link to be used for opening Celum Imagine from within a Cockpit application.
|
java.lang.String |
getDirectCelumLink(java.lang.String celumAssetId,
java.util.Map<java.lang.String,java.lang.String> params)
Returns a link to be used for opening Celum Imagine from within a Cockpit application.
|
java.lang.String |
getLocalUrl(TypedObject celumAsset)
Returns the local URL of the specified Celum asset.
|
java.lang.String |
getOriginalMediaFormat()
Gets the original media format.
|
boolean |
isAssetValid(TypedObject celumAsset)
Checks if is asset valid.
|
java.lang.Boolean |
isCelumAlive()
Checks if celum server is alive and responding.
|
boolean |
isSynchronized(TypedObject celumAsset)
Checks if is CelumAsset is synchronized.
|
void |
synchronize(TypedObject celumAsset)
Synchronize.
|
void |
unSynchronize(TypedObject celumAsset)
Unsynchronize CelumAsset.
|
static final java.lang.String REQUEST_EVENT_PREFIX
static final java.lang.String CELUM_CONTAINER_KEY
java.lang.String getDirectCelumLink(ItemModel item, java.lang.String celumAssetId, java.util.Map<java.lang.String,java.lang.String> params)
item - default search parameters for this item type will be included in returned link (leave null
if no search parameters should be included)celumAssetId - celum asset idparams - custom parameters, some of which are echoed back to the cockpitjava.lang.String getDirectCelumLink(java.lang.String celumAssetId,
java.util.Map<java.lang.String,java.lang.String> params)
celumAssetId - celum asset idparams - custom parameters, some of which are echoed back to the cockpitjava.lang.String getCelumUrl(TypedObject celumAsset) throws java.lang.IllegalArgumentException
celumAsset - celum assetjava.lang.IllegalArgumentException - if celumAsset is nullgetLocalUrl(TypedObject)java.lang.String getLocalUrl(TypedObject celumAsset) throws java.lang.IllegalArgumentException
celumAsset - celum assetjava.lang.IllegalArgumentException - if celumAsset is nullgetCelumUrl(TypedObject)void synchronize(TypedObject celumAsset)
celumAsset - the celum assetvoid unSynchronize(TypedObject celumAsset)
celumAsset - the celum assetboolean isSynchronized(TypedObject celumAsset) throws java.lang.IllegalArgumentException
celumAsset - the celum assetjava.lang.IllegalArgumentException - the illegal argument exceptionboolean isAssetValid(TypedObject celumAsset)
celumAsset - the celum assetjava.lang.Boolean isCelumAlive()
java.lang.String getOriginalMediaFormat()
java.lang.Integer getCelumAssetId(ItemModel asset)
asset - item model which might be celum assetCopyright © 2018 SAP SE. All Rights Reserved.