public interface BinaryLinkListener extends LinkListener
Modifier and Type | Method and Description |
---|---|
void |
binaryLinkNotification(int publicationId,
int targetComponentId,
String anchor,
String linkText,
String linkTagAttributes,
boolean showTextOnFail,
String mimeType,
boolean isComponent,
Link returnLink)
Implement this method to process the parameters passed.
|
configure
void binaryLinkNotification(int publicationId, int targetComponentId, String anchor, String linkText, String linkTagAttributes, boolean showTextOnFail, String mimeType, boolean isComponent, Link returnLink)
com.tridion.linking.Linking
class will pass
all BinaryLinks 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 Binary the link is trying to resolve to is in.targetComponentId
- The Id of the Binary Component to link to.anchor
- The anchor on the page where the link has to be pointing to. Use an empty
String
or
null
for this in normal situations.linkText
- The text to be displayed for the link.linkTagAttributes
- Optional query that should be placed in the anchor.showTextOnFail
- Indicates if the linkText needs to be returned if no link can be resolved.mimeType
- The MIME type of the Binary.isComponent
- Whether this component is a MultiMedia component in the Management System.returnLink
- The Link resolved by the BinaryLink class.Copyright (c) 2014-2021 All Rights Reserved by the RWS Group for and on behalf of its affiliates and subsidiaries