@ProviderType public interface PublishUtils
| Modifier and Type | Method and Description |
|---|---|
String[] |
externalizeImageDeliveryAsset(Resource resource)
Externalize an asset reference to a image delivery URL.
|
String |
externalizeImageDeliveryAsset(Resource resource,
String assetPath)
Deprecated.
|
String |
externalizeImageDeliveryUrl(Resource resource,
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.
|
String |
getISProperty(String tenantId,
String property)
Get Image Server settings
|
String |
getPublishNodeURL(Resource resource)
Retrieve the publish node URL from the replication agent.
|
String getPublishNodeURL(Resource resource) throws RepositoryException
resource - Resource for an assetRepositoryException - when an error occurs interacting with the repository@Deprecated String externalizeImageDeliveryAsset(Resource resource, String assetPath) throws RepositoryException
externalizeImageDeliveryAsset(Resource)resource - Resource for an assetassetPath - Path to the asset in the JCRRepositoryException - when an error occurs interacting with the repositoryString[] externalizeImageDeliveryAsset(Resource resource) throws RepositoryException
resource - Resource for an assetRepositoryException - when an error occurs interacting with the repositoryString externalizeImageDeliveryUrl(Resource resource, String url) throws RepositoryException
resource - Resource for an asseturl - Image Delivery URLRepositoryException - when an error occurs interacting with the repositoryCopyright © 2010 - 2020 Adobe. All Rights Reserved