| Package | Description |
|---|---|
| com.sdl.web.api.linking |
| Modifier and Type | Method and Description |
|---|---|
Link |
PageLink.getLink(int targetPageId)
Create a new Link object targeting a page with just a page Id.
|
Link |
ComponentLink.getLink(int targetComponentId)
Gets a URL to the first page that is found containing the requested
targetComponentId.
|
Link |
DynamicComponentLink.getLink(int targetPageId,
int targetComponentId,
int targetTemplateId,
String linkTagAttributes,
String linkText,
boolean showTextOnFail)
This method tries to validate a link to a Dynamic Component Presentation on a Page.
|
Link |
ComponentLink.getLink(int sourcePageId,
int targetComponentId,
int excludeComponentTemplateId,
String linkTagAttributes,
String linkText,
boolean showTextOnFail,
boolean addAnchor)
Tries to create a link to a suitable component presentation on a page
and returns this as a
Link object. |
Link |
PageLink.getLink(int targetPageId,
String anchor,
String linkTagAttributes,
String linkText,
boolean showTextOnFail)
Create a Link object targeting a page.
|
Link |
PageLink.getLink(int targetPageId,
String anchor,
String linkTagAttributes,
String linkText,
boolean showTextOnFail,
String parameters)
Create a Link object targeting a page.
|
Link |
PageLink.getLink(String targetPageURI)
Create a new Link object targeting a page with just a page URI.
|
Link |
ComponentLink.getLink(String targetComponentURI)
Gets a URL to the first page that is found containing the requested
targetComponentId.
|
Link |
BatchLinkRetriever.getLink(String linkRequestId)
Returns a link object (if present) from the result available from executing the query by passing unique
identifier obtained when adding a link request.
|
Link |
PageLink.getLink(String targetPageURI,
String anchor,
String linkTagAttributes,
String linkText,
boolean showTextOnFail)
Create a page link using a tcm:uri.
|
Link |
BinaryLink.getLink(String binaryComponentURI,
String anchor,
String linkText,
String linkTagAttributes,
boolean showTextOnFail)
The
getLink method tries to find the location of the binary and wraps
this location in a Link object. |
Link |
PageLink.getLink(String targetPageURI,
String anchor,
String linkTagAttributes,
String linkText,
boolean showTextOnFail,
String parameters)
Create a page link using a tcm:uri.
|
Link |
DynamicComponentLink.getLink(String targetPageURI,
String targetComponentURI,
String targetTemplateURI,
String linkTagAttributes,
String linkText,
boolean showTextOnFail)
This method tries to validate a link to a Dynamic Component Presentation on a Page.
|
Link |
BinaryLink.getLink(String binaryComponentURI,
String variantId,
String anchor,
String linkText,
String linkTagAttributes,
boolean showTextOnFail)
The
getLink method tries to find the location of the binary and wraps
this location in a Link object. |
Link |
ComponentLink.getLink(String sourcePageURI,
String targetComponentURI,
String excludeTemplateURI,
String linkTagAttributes,
String linkText,
boolean showTextOnFail,
boolean showAnchor)
Tries to create a link to a suitable component presentation on a page
and returnes this as a
Link object. |
Link |
PageLink.getLink(String targetPageURI,
String targetURL,
String anchor,
String linkTagAttributes,
String linkText,
boolean showTextOnFail,
String parameters)
Create a page link as a String a tcm:uri.
|
Copyright © 2016 SDL Group. All rights reserved.