public class AbstractMimeUriGenerator extends Object
The object provider, i.e., the application that ships the mime object (something like myicon.jpg), exposes a three-part key to identify the icon:
AbstractMimeUrlGeneratorCore.APPLICATION_TYPE_PORTAL,
AbstractMimeUrlGeneratorCore.APPLICATION_TYPE_WEBDYNPRO or
AbstractMimeUrlGeneratorCore.APPLICATION_TYPE_WEBAPP.
AbstractMimeUrlGeneratorCore library computes
an abstract url in the form
<url-context of the ui>/mime/<application-type>/<application-name>/<relative path>.
In order to retrieve the mime url the UI application performs a call to the method
getAbstractMimeUri(IPortalComponentRequest, String, String, String).
In order to do so it first has to collect the 3 information (application-type, application-name, local path)
either from the object provider's schema entries or, in case the object provider
implements the PCM Administration Aspect, from the PCM.
| Modifier and Type | Method and Description |
|---|---|
static String |
getAbstractMimeUri(IPortalComponentRequest request,
String applicationType,
String applicationName,
String localIconPath)
Portal UI applications perform a call this method in order to
Retrieve an abstract mime URL for rendering an icon.
|
public static String getAbstractMimeUri(IPortalComponentRequest request, String applicationType, String applicationName, String localIconPath)
request - IPortalComponentRequest requestapplicationType - String applicationTypeapplicationName - String applicationName<url-context of the ui>/mime/<application-type>/<application-name>/<relative path>| Access Rights |
|---|
| SC | DC | Public Part | ACH |
|---|---|---|---|
[sap.com] EP-BASIS-API
|
[sap.com]
|
default
|
EP-PIN-PRT
|
[sap.com] EP-BASIS-API
|
[sap.com] tc/epbc/prt/api
|
api
|
EP-PIN
|
[sap.com] EP-BASIS-API
|
[sap.com] tc/epbc/prt/lib/api
|
api
|
EP-PIN
|
[sap.com] EP-RUNTIME
|
[sap.com] tc/ep/semantics/api
|
api
|
EP-PIN
|
[sap.com] KMC-WPC
|
[sap.com] tc/kmc/wpc/wpcfacade
|
api
|
EP-PIN-WPC-WCM
|
Copyright 2021 SAP SE Complete Copyright Notice