Package com.tridion.linking
Interface LinkInfo
public interface LinkInfo
The
LinkInfo interface describes methods for accessing
information about links.-
Method Summary
Modifier and TypeMethodDescriptionintReturns the anchor, which is the position on a page, for a possible link.intReturns the Component id for a possible link.intReturns the Component Template id for a possible link.intReturns the priority of the Component Template used in a possible link.intReturns the namespace id of the Page for a possible link.intReturns the id of the Page for a possible link.Returns the URL of the target Page for a possible link.intReturns the Publication id for a possible link.
-
Method Details
-
getPageId
int getPageId()Returns the id of the Page for a possible link.- Returns:
- The id of the Page.
-
getNamespaceId
int getNamespaceId()Returns the namespace id of the Page for a possible link.- Returns:
- the namespace id of the Page
-
getPublicationId
int getPublicationId()Returns the Publication id for a possible link.- Returns:
- The id of the Publication.
-
getComponentId
int getComponentId()Returns the Component id for a possible link.- Returns:
- The id of the Component.
-
getComponentTemplateId
int getComponentTemplateId()Returns the Component Template id for a possible link.- Returns:
- The id of the Component Template.
-
getComponentTemplatePriority
int getComponentTemplatePriority()Returns the priority of the Component Template used in a possible link.- Returns:
- The priority of the Component Template.
-
getAnchor
int getAnchor()Returns the anchor, which is the position on a page, for a possible link.- Returns:
- The anchor.
-
getPageURL
String getPageURL()Returns the URL of the target Page for a possible link.- Returns:
- The URL of the target Page.
-