public interface PublicationResolver
| Modifier and Type | Method and Description |
|---|---|
int |
discoverPublicationIdByImagesUrl(String imagesUrl)
Tries to discover the Publication Id for an images URl
|
String |
getImagesPath()
Gets the Images Path property as defined in Tridion Publication metadata corresponding to the current request
|
String |
getImagesUrl()
Gets the Images URL property as defined in Tridion Publication metadata corresponding to the current request
|
String |
getLocalBinaryUrl(String url)
Gets the Binary URL in the current Publication corresponding to the given generic URL
|
String |
getLocalPageUrl(String url)
Gets the Page URL in the current Publication corresponding to the given generic URL
|
PublicationDescriptor |
getPublicationDescriptor() |
int |
getPublicationId()
Gets the Publication TCMURI item id for the current request for Pages
|
String |
getPublicationPath()
Gets the Publication Path property as defined in Tridion Publication metadata corresponding to the current request
|
String |
getPublicationUrl()
Gets the Publication Url property as defined in Tridion Publication metadata corresponding to the current request
|
int getPublicationId()
int discoverPublicationIdByImagesUrl(String imagesUrl)
imagesUrl - the image URL pathString getPublicationUrl()
String getPublicationPath()
String getImagesUrl()
String getImagesPath()
String getLocalPageUrl(String url)
url - String representing the generic URL (i.e. URL path without PublicationUrl prefix)String getLocalBinaryUrl(String url)
url - String representing the generic URL (i.e. URL path without PublicationUrl prefix)PublicationDescriptor getPublicationDescriptor()
Copyright © 2017. All rights reserved.