public class BrokerLinkProvider extends BaseBrokerProvider implements LinkProvider
cacheProvider, contentIsBase64Encoded, contentIsCompressed| Constructor and Description |
|---|
BrokerLinkProvider() |
| Modifier and Type | Method and Description |
|---|---|
String |
resolveComponent(String targetComponentURI)
Returns a link URL to the given Component TcmUri, if exists.
|
String |
resolveComponent(String targetComponentUri,
String excludeComponentTemplateUri) |
String |
resolveComponentFromPage(String targetComponentURI,
String sourcePageURI)
Returns a link URL to the given Component TcmUri, when also specifying the source Page TcmUri.
|
convertStreamToString, decodeAndDecompressContent, encodeUrl, getKey, isContentIsBase64Encoded, setCacheProvider, setContentIsBase64Encoded, setContentIsCompressedpublic String resolveComponent(String targetComponentURI)
resolveComponent in interface LinkProvidertargetComponentURI - String representing the TcmUri of the Component to resolve a link topublic String resolveComponentFromPage(String targetComponentURI, String sourcePageURI)
resolveComponentFromPage in interface LinkProvidertargetComponentURI - String representing the TcmUri of the Component to resolve a link tosourcePageURI - String representing the TcmUri of the source Page (the current page)public String resolveComponent(String targetComponentUri, String excludeComponentTemplateUri) throws org.dd4t.core.exceptions.ItemNotFoundException, org.dd4t.core.exceptions.SerializationException
resolveComponent in interface LinkProvidertargetComponentUri - String representing the TcmUri of the Component to resolve a link toexcludeComponentTemplateUri - The Component Presentation to excludeorg.dd4t.core.exceptions.ItemNotFoundExceptionorg.dd4t.core.exceptions.SerializationExceptionCopyright © 2017. All rights reserved.