| Constructor and Description |
|---|
UrlUtilsImpl() |
| Modifier and Type | Method and Description |
|---|---|
String |
decodeResourceName(String resourceName)
Reverse the URL encoding process to get the original resource name.
|
String |
getAssetIdFromShortUrl(String uri)
Get the asset id from a short url.
|
String |
getLongUrl(Asset asset)
Get the long url of an asset
|
String |
getShortUrl(Asset asset)
Get the short url of an asset
|
String |
getUrl(Asset asset)
Get the url of an asset
|
String |
getUrl(Section section)
Get the url of a section
|
String |
getWebsiteDomain(WebSite webSite)
Get the website domain as a string.
|
void |
setCmisIdEncoder(CmisIdEncoder cmisIdEncoder) |
public String getUrl(Asset asset)
UrlUtilsgetUrl in interface UrlUtilsUrlUtils.getUrl(Asset)public String getShortUrl(Asset asset)
UrlUtilsgetShortUrl in interface UrlUtilsUrlUtils.getShortUrl(Asset)public String getLongUrl(Asset asset)
UrlUtilsgetLongUrl in interface UrlUtilsUrlUtils.getLongUrl(Asset)public String decodeResourceName(String resourceName)
UrlUtilsdecodeResourceName in interface UrlUtilsorg.alfresco.wcm.client.util.UrlUtils#decodeResourceNamel(Section)public String getUrl(Section section)
UrlUtilsgetUrl in interface UrlUtilsUrlUtils.getUrl(Section)public String getAssetIdFromShortUrl(String uri)
UrlUtilsgetAssetIdFromShortUrl in interface UrlUtilsUrlUtils.getAssetIdFromShortUrl(String)public void setCmisIdEncoder(CmisIdEncoder cmisIdEncoder)
public String getWebsiteDomain(WebSite webSite)
UrlUtilsgetWebsiteDomain in interface UrlUtilsUrlUtils.getWebsiteDomain(WebSite)Copyright © 2005–2014 Alfresco Software. All rights reserved.