public class LinkListenerManagerImpl extends Object implements LinkListenerManager
| Constructor and Description |
|---|
LinkListenerManagerImpl() |
| Modifier and Type | Method and Description |
|---|---|
void |
binaryLinkNotification(int publicationId,
int componentId,
String anchor,
String text,
String attributes,
boolean textOnFail,
String type,
boolean isComponent,
Link link) |
void |
componentLinkNotification(int publicationId,
int pageId,
int componentId,
int componentTemplateId,
String linkAttr,
String linkText,
boolean textOnFail,
boolean anchor,
Link returnLink) |
void |
configure(com.sdl.delivery.configuration.Configuration configuration) |
void |
dynamicComponentLinkNotification(int publicationId,
int pageId,
int componentId,
int componentTemplateId,
String attributes,
String text,
boolean textOnFail,
String parameters,
Link link)
Implement this method to process the parameters passed.
|
void |
pageLinkNotification(int publicationId,
int pageId,
String anchor,
String attributes,
String text,
boolean textOnFail,
String parameters,
Link link) |
public void configure(com.sdl.delivery.configuration.Configuration configuration)
throws com.sdl.delivery.configuration.ConfigurationException
configure in interface LinkListenerManagercom.sdl.delivery.configuration.ConfigurationExceptionpublic void componentLinkNotification(int publicationId,
int pageId,
int componentId,
int componentTemplateId,
String linkAttr,
String linkText,
boolean textOnFail,
boolean anchor,
Link returnLink)
componentLinkNotification in interface LinkListenerManagerpublic void dynamicComponentLinkNotification(int publicationId,
int pageId,
int componentId,
int componentTemplateId,
String attributes,
String text,
boolean textOnFail,
String parameters,
Link link)
com.tridion.linking.Linking class will pass
all DynamicComponentLinks which the system tries to resolve to the configured class, which will then be
processed in the configured
class.dynamicComponentLinkNotification in interface LinkListenerManagerpublicationId - The Id of the publication which the page the link is trying to resolve to is in.pageId - The Id of the page the link is trying to resolve to.componentId - The Id of the Component you wish to try to resolve a link to.componentTemplateId - The Id of the Component Template to be used for DCP assembly.attributes - Attributes to include in the link.text - The text to be displayed for the link.textOnFail - Indicates if the linkText needs to be returned if no link can be resolved.parameters - HTTP parameters to be appended to the URL.link - The Link resolved by the DynamicComponentLink class.public void binaryLinkNotification(int publicationId,
int componentId,
String anchor,
String text,
String attributes,
boolean textOnFail,
String type,
boolean isComponent,
Link link)
binaryLinkNotification in interface LinkListenerManagerpublic void pageLinkNotification(int publicationId,
int pageId,
String anchor,
String attributes,
String text,
boolean textOnFail,
String parameters,
Link link)
pageLinkNotification in interface LinkListenerManagerCopyright (c) 2014-2021 All Rights Reserved by the RWS Group for and on behalf of its affiliates and subsidiaries