@ProviderType
public interface PublishUtils
Modifier and Type | Method and Description |
---|---|
java.lang.String[] |
externalizeImageDeliveryAsset(Resource resource)
Externalize an asset reference to a image delivery URL.
|
java.lang.String |
externalizeImageDeliveryAsset(Resource resource,
java.lang.String assetPath)
Deprecated.
|
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 |
getISProperty(java.lang.String tenantId,
java.lang.String property)
Get Image Server settings
|
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 assetRepositoryException
- when an error occurs interacting with the repository@Deprecated java.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[] externalizeImageDeliveryAsset(Resource resource) throws RepositoryException
resource
- Resource for an assetRepositoryException
- 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
- when an error occurs interacting with the repositoryjava.lang.String getISProperty(java.lang.String tenantId, java.lang.String property)
tenantId
- blank or the tenantIdproperty
- to be fetched from valuesCopyright © 2010 - 2020 Adobe. All Rights Reserved