public interface PublishUtils
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
externalizeImageDeliveryAsset(Resource resource,
java.lang.String assetPath)
Externalize an asset reference to a image delivery URL.
|
java.lang.String |
externalizeImageDeliveryUrl(Resource resource,
java.lang.String url)
Externalize an image delivery URL
The input url can be a relative path (e.g [/ctx]/is/image/[url]) or an absolute url
(e.g.
|
java.lang.String |
getPublishNodeURL(Resource resource)
Retrieve the publish node URL from the replication agent.
|
java.lang.String getPublishNodeURL(Resource resource) throws RepositoryException
resource - Resource for an assetRepositoryExceptionjava.lang.String externalizeImageDeliveryAsset(Resource resource, java.lang.String assetPath) throws RepositoryException
resource - Resource for an assetassetPath - Path to the asset in the JCRRepositoryException - when an error occurs interacting with the repositoryjava.lang.String externalizeImageDeliveryUrl(Resource resource, java.lang.String url) throws RepositoryException
resource - Resource for an asseturl - Image Delivery URLRepositoryException"Copyright © 2010 - 2018 Adobe Systems Incorporated. All Rights Reserved"