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, setSourceContent
getCreator, getCreatorName, getLastModifier, getLastModifierName, getRealClass, isPersistent, setCreator, setCreatorName, setLastModifier, setLastModifierName
public 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 AbstractLink
public int hashCode()
hashCode
in class AbstractLink
public int compareTo(OutgoingLink other)
compareTo
in interface Comparable<OutgoingLink>
public boolean isFrom(AbstractPage page)
Copyright © 2003–2021 Atlassian. All rights reserved.