@ProviderType
public interface AuthorUIHelper
com.day.cq.commons.Externalizer to create absolute URLs.| Modifier and Type | Method and Description |
|---|---|
String |
generateEditAssetLink(String assetPath,
boolean absoluteUrl,
org.apache.sling.api.resource.ResourceResolver resolver)
Generates a URL to edit a DAM asset in AEM author environment.
|
String |
generateEditPageLink(String pagePath,
boolean absoluteUrl,
org.apache.sling.api.resource.ResourceResolver resolver)
Generates a URL to edit a page in AEM author environment.
|
boolean |
isTouchUI()
Indicates whether the author experience is using the Touch UI or Classic
UI
|
boolean isTouchUI()
String generateEditPageLink(String pagePath, boolean absoluteUrl, org.apache.sling.api.resource.ResourceResolver resolver)
pagePath - the path to the pageabsoluteUrl - if set to true will use the Externalizer to generate an
absolute Url with author hostnameresolver - used by the Externalizer for resource mapping, can be passed as null to
avoid extra processing.String generateEditAssetLink(String assetPath, boolean absoluteUrl, org.apache.sling.api.resource.ResourceResolver resolver)
assetPath - the path to the asset in the DAMabsoluteUrl - if set to true will use the Externalizer to generate an
absolute Url with author hostnameresolver - used by the Externalizer for resource mapping, can be passed as null to
avoid extra processing.Copyright © 2013–2020 Adobe. All rights reserved.