public class OutgoingLink extends AbstractLink implements Comparable<OutgoingLink>
The destination can currently be:
| Constructor and Description |
|---|
OutgoingLink()
Default constructor
|
OutgoingLink(ContentEntityObject sourceContent,
String destinationSpaceKey,
String destinationPageTitle)
Convenience constructor
|
| Modifier and Type | Method and Description |
|---|---|
int |
compareTo(OutgoingLink other) |
boolean |
equals(Object o) |
String |
getDestinationPageTitle() |
String |
getDestinationSpaceKey() |
String |
getLowerDestinationPageTitle() |
String |
getLowerDestinationSpaceKey() |
String |
getUrlLink() |
int |
hashCode() |
boolean |
isFrom(AbstractPage page)
Is the link directed from a page, or from some of its contents (i.e.
|
boolean |
isUrlLink() |
void |
setDestinationPageTitle(String destinationPageTitle) |
void |
setDestinationSpaceKey(String destinationSpaceKey) |
String |
toString() |
getLinkTitle, getSourceContent, setLinkTitle, setSourceContentgetCreator, getCreatorName, getLastModifier, getLastModifierName, getRealClass, isPersistent, setCreator, setCreatorName, setLastModifier, setLastModifierNamepublic OutgoingLink()
public OutgoingLink(ContentEntityObject sourceContent, String destinationSpaceKey, String destinationPageTitle)
sourceContent - content object that the link comes fromdestinationSpaceKey - space the link points todestinationPageTitle - page the link points topublic String getDestinationPageTitle()
public void setDestinationPageTitle(String destinationPageTitle)
public String getLowerDestinationPageTitle()
public String getDestinationSpaceKey()
public void setDestinationSpaceKey(String destinationSpaceKey)
public String getLowerDestinationSpaceKey()
public boolean isUrlLink()
public String getUrlLink()
public boolean equals(Object o)
equals in class AbstractLinkpublic int hashCode()
hashCode in class AbstractLinkpublic int compareTo(OutgoingLink other)
compareTo in interface Comparable<OutgoingLink>public boolean isFrom(AbstractPage page)
Copyright © 2003–2022 Atlassian. All rights reserved.