public interface PageLinkListener extends LinkListener
Modifier and Type | Method and Description |
---|---|
void |
pageLinkNotification(int publicationId,
int targetPageId,
String anchor,
String linkTagAttributes,
String linkText,
boolean showTextOnFail,
String parameters,
Link returnLink)
Implement this method to process the parameters passed.
|
configure
void pageLinkNotification(int publicationId, int targetPageId, String anchor, String linkTagAttributes, String linkText, boolean showTextOnFail, String parameters, Link returnLink)
com.tridion.linking.Linking
class will pass
all PageLinks which the system tries to resolve to the configured class, which will then be processed in the
configured
class.publicationId
- The Id of the publication which the page the link is trying to resolve to is in.targetPageId
- The Id of the page the link is trying to resolve to.anchor
- The anchor on the page where the link has to be pointing to.linkTagAttributes
- Attributes to include in the link.linkText
- The text to be displayed for the link.showTextOnFail
- Indicates if the linkText needs to be returned if no link can be resolved.parameters
- HTTP parameters to be appended to the URL.returnLink
- The Link resolved by the PageLink class.Copyright (c) 2014-2021 All Rights Reserved by the RWS Group for and on behalf of its affiliates and subsidiaries