com.atlassian.confluence.links
Class ReferralLink
java.lang.Object
com.atlassian.core.bean.EntityObject
com.atlassian.confluence.core.ConfluenceEntityObject
com.atlassian.confluence.links.AbstractLink
com.atlassian.confluence.links.ReferralLink
- All Implemented Interfaces:
- java.io.Serializable, java.lang.Cloneable, java.lang.Comparable
- Direct Known Subclasses:
- TrackbackLink
public class ReferralLink
- extends AbstractLink
- implements java.lang.Comparable
Represents a link from a remote URL to a Confluence page
Note: The source page field actually represents the destination page in Confluence
- See Also:
- Serialized Form
Methods inherited from class com.atlassian.core.bean.EntityObject |
clone, getCreationDate, getCurrentDate, getId, getLastModificationDate, setClock, setCreationDate, setId, setLastModificationDate |
Methods inherited from class java.lang.Object |
finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
ReferralLink
public ReferralLink()
getViewCount
public int getViewCount()
setViewCount
public void setViewCount(int viewCount)
getUrl
public java.lang.String getUrl()
setUrl
public void setUrl(java.lang.String url)
incViewCount
public void incViewCount()
equals
public boolean equals(java.lang.Object o)
- Overrides:
equals
in class AbstractLink
hashCode
public int hashCode()
- Overrides:
hashCode
in class AbstractLink
compareTo
public int compareTo(java.lang.Object o)
- Order by hit-count, descending. Otherwise order alphabetically by
URL
- Specified by:
compareTo
in interface java.lang.Comparable
Copyright © 2003-2010 Atlassian. All Rights Reserved.