1 18 19 package org.apache.roller.model; 20 21 import java.util.List ; 22 import org.apache.roller.RollerException; 23 import org.apache.roller.pojos.RefererData; 24 import org.apache.roller.pojos.WebsiteData; 25 26 29 public interface RefererManager { 30 31 34 public void saveReferer(RefererData referer) throws RollerException; 35 36 39 public void removeReferer(RefererData referer) throws RollerException; 40 41 44 public void clearReferrers() throws RollerException; 45 46 49 public void clearReferrers(WebsiteData website) throws RollerException; 50 51 54 public RefererData getReferer(String id) throws RollerException; 55 56 61 public List getReferers(WebsiteData weblog) throws RollerException; 62 63 68 public List getTodaysReferers(WebsiteData website) throws RollerException; 69 70 77 public List getReferersToDate(WebsiteData website, String date) 78 throws RollerException; 79 80 86 public List getDaysPopularWebsites( 87 int offset, 88 int length) 89 throws RollerException; 90 91 98 public List getHotWeblogs(int sinceDays, int offset, int length) 99 throws RollerException; 100 101 107 public List getReferersToEntry(String entryid) throws RollerException; 108 109 112 public int getDayHits(WebsiteData website) throws RollerException; 113 114 117 public int getTotalHits(WebsiteData website) throws RollerException; 118 119 122 public void applyRefererFilters() throws RollerException; 123 124 127 public void applyRefererFilters(WebsiteData website) throws RollerException; 128 129 132 public void processReferrer( 133 String requestUrl, 134 String referrerUrl, 135 String weblogHandle, 136 String weblogAnchor, 137 String weblogDateString); 138 139 142 public void release(); 143 } 144 145 | Popular Tags |