1 2 package org.roller.model; 3 import org.roller.RollerException; 4 import org.roller.business.ThreadManagerImpl; 5 import org.roller.pojos.RefererData; 6 import org.roller.pojos.WebsiteData; 7 8 import java.io.Serializable ; 9 import java.util.List ; 10 11 12 17 public interface RefererManager extends Serializable 18 { 19 21 27 public List getReferers(WebsiteData website) 28 throws RollerException; 29 30 36 public List getTodaysReferers(WebsiteData website) 37 throws RollerException; 38 39 46 public List getReferersToDate(WebsiteData website, String date) 47 throws RollerException; 48 49 53 public List getDaysPopularWebsites(int max) throws RollerException; 54 55 61 public List getReferersToEntry(String entryid) 62 throws RollerException; 63 64 69 public void removeReferersForEntry(String entryid) throws RollerException; 70 71 74 public void applyRefererFilters() throws RollerException; 75 76 79 public void applyRefererFilters(WebsiteData website) throws RollerException; 80 81 88 public List getEntryReferers(String entryId, boolean authorized) 89 throws RollerException; 90 91 92 public int getDayHits(WebsiteData website) throws RollerException; 93 94 95 public int getTotalHits(WebsiteData website) throws RollerException; 96 97 99 104 public boolean processRequest(ParsedRequest request); 105 106 108 111 public void forceTurnover(String websiteId) throws RollerException; 112 113 116 public void checkForTurnover(boolean forceTurnover, String websiteId) 117 throws RollerException; 118 119 121 124 public RefererData retrieveReferer(String id) 125 throws RollerException; 126 127 130 public void removeReferer( String id ) 131 throws RollerException; 132 133 136 public void release(); 137 } 138 139 | Popular Tags |