@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 ReferralManagerpublic void saveReferralLink(ReferralLink link)
saveReferralLink in interface ReferralManagerpublic void saveTrackback(com.atlassian.trackback.Trackback tb,
long entityId)
saveTrackback in interface ReferralManagerpublic 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 ReferralManagerpublic int deleteReferrersWithPrefix(String urlPrefix)
deleteReferrersWithPrefix in interface ReferralManagerCopyright © 2003–2022 Atlassian. All rights reserved.