@Deprecated public class DefaultReferralManager extends Object implements ReferralManager
Constructor and Description |
---|
DefaultReferralManager()
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
int |
deleteReferrersWithPrefix(String urlPrefix)
Deprecated.
potential for mass deletes in this operation.
|
List<ReferralLink> |
getHotReferrers(ContentEntityObject content,
int maxCount)
Deprecated.
|
void |
referToContent(com.atlassian.bonnie.Handle handle,
String referrer,
int hitCount)
Deprecated.
Extracts the "referring URL" from the request and
(a) adds it as a ReferralLink to the content if it doesn't exist (b) increments the view count of that link if it already exists |
void |
saveReferralLink(ReferralLink link)
Deprecated.
|
void |
saveTrackback(com.atlassian.trackback.Trackback tb,
long entityId)
Deprecated.
|
public List<ReferralLink> getHotReferrers(ContentEntityObject content, int maxCount)
getHotReferrers
in interface ReferralManager
public void saveReferralLink(ReferralLink link)
saveReferralLink
in interface ReferralManager
public void saveTrackback(com.atlassian.trackback.Trackback tb, long entityId)
saveTrackback
in interface ReferralManager
public void referToContent(com.atlassian.bonnie.Handle handle, String referrer, int hitCount)
Note: URL will not be added if it is longer than 255 char, is null or getUrlIndex != 0
referToContent
in interface ReferralManager
public int deleteReferrersWithPrefix(String urlPrefix)
deleteReferrersWithPrefix
in interface ReferralManager
Copyright © 2003–2021 Atlassian. All rights reserved.