| java.lang.Object org.apache.roller.business.hibernate.HibernateRefererManagerImpl
HibernateRefererManagerImpl | public class HibernateRefererManagerImpl implements RefererManager(Code) | | Hibernate implementation of the RefererManager.
|
Inner Class :class LinkbackExtractorRunnable implements Runnable | |
Method Summary | |
public void | applyRefererFilters() Apply ignoreWord/spam filters to all referers in system. | public void | applyRefererFilters(WebsiteData website) Apply ignoreWord/spam filters to all referers in website. | public void | clearReferrers() Clear referrer dayhits and remove referrers without excerpts. | public void | clearReferrers(WebsiteData website) Clear referrer dayhits and remove referrers without excerpts. | public int | getDayHits(WebsiteData website) | public List | getDaysPopularWebsites(int offset, int length) | protected List | getExistingReferers(WebsiteData website, String dateString, String permalink) Use Hibernate directly because Roller's Query API does too much allocation. | protected int | getHits(WebsiteData website, String type) Use raw SQL because Hibernate can't handle the query. | public List | getHotWeblogs(int sinceDays, int offset, int length) Returns hot weblogs as StatCount objects, in descending order by today's hits. | protected List | getMatchingReferers(WebsiteData website, String requestUrl, String refererUrl) Use Hibernate directly because Roller's Query API does too much allocation. | public RefererData | getReferer(String id) | public List | getReferers(WebsiteData website) | public List | getReferersToDate(WebsiteData website, String date) Returns referers for a specified day. | public List | getReferersToEntry(String entryid) | protected List | getReferersToWebsite(WebsiteData website, String refererUrl) Query for collection of referers. | protected List | getReferersWithSameTitle(WebsiteData website, String requestUrl, String title, String excerpt) Query for collection of referers. | public List | getTodaysReferers(WebsiteData website) | public int | getTotalHits(WebsiteData website) | public void | processReferrer(String requestUrl, String referrerUrl, String weblogHandle, String entryAnchor, String dateString) | public void | release() | public void | removeReferer(RefererData referer) | public void | saveReferer(RefererData referer) |
serialVersionUID | final static long serialVersionUID(Code) | | |
applyRefererFilters | public void applyRefererFilters() throws RollerException(Code) | | Apply ignoreWord/spam filters to all referers in system.
|
clearReferrers | public void clearReferrers() throws RollerException(Code) | | Clear referrer dayhits and remove referrers without excerpts.
TODO: do we really need dialect specific queries?
|
clearReferrers | public void clearReferrers(WebsiteData website) throws RollerException(Code) | | Clear referrer dayhits and remove referrers without excerpts.
TODO: do we really need dialect specific queries?
|
getHotWeblogs | public List getHotWeblogs(int sinceDays, int offset, int length) throws RollerException(Code) | | Returns hot weblogs as StatCount objects, in descending order by today's hits.
|
getReferersToDate | public List getReferersToDate(WebsiteData website, String date) throws RollerException(Code) | | Returns referers for a specified day. Duplicate enties are not
included in this list so the hit counts may not be accurate.
See Also: org.apache.roller.pojos.RefererManager.getReferersToDate(org.apache.roller.pojos.WebsiteDatajava.lang.String) |
getReferersToEntry | public List getReferersToEntry(String entryid) throws RollerException(Code) | | See Also: org.apache.roller.pojos.RefererManager.getReferersToEntry(java.lang.Stringjava.lang.String) |
release | public void release()(Code) | | |
|
|