1 8 9 package org.roller.model; 10 11 import org.roller.pojos.AutoPingData; 12 import org.roller.pojos.PingTargetData; 13 import org.roller.pojos.WebsiteData; 14 import org.roller.pojos.WeblogEntryData; 15 import org.roller.RollerException; 16 17 import java.io.Serializable ; 18 import java.util.Collection ; 19 import java.util.List ; 20 21 24 public interface AutoPingManager extends Serializable 25 { 26 29 public void release(); 30 31 39 public AutoPingData createAutoPing(PingTargetData pingTarget, WebsiteData website) 40 throws RollerException; 41 42 58 59 66 public AutoPingData retrieveAutoPing(String id) throws RollerException; 67 68 74 public void storeAutoPing(AutoPingData autoPing) throws RollerException; 75 76 82 public void removeAutoPing(String id) throws RollerException; 83 84 90 public void removeAutoPing(AutoPingData autoPing) throws RollerException; 91 92 100 public void removeAutoPing(PingTargetData pingTarget, WebsiteData website) throws RollerException; 101 102 108 public void removeAutoPings(Collection autopings) throws RollerException; 109 110 115 public void removeAllAutoPings() throws RollerException; 116 117 123 public List getAutoPingsByWebsite(WebsiteData website) throws RollerException; 124 125 131 public List getAutoPingsByTarget(PingTargetData pingTarget) throws RollerException; 132 133 141 public List getCategoryRestrictions(AutoPingData autoPing) throws RollerException; 142 143 150 public void setCategoryRestrictions(AutoPingData autoPing, 151 Collection newCategories); 152 153 159 public List getApplicableAutoPings(WeblogEntryData changedWeblogEntry) throws RollerException; 160 161 168 public void queueApplicableAutoPings(WeblogEntryData changedWeblogEntry) throws RollerException; 169 } 170 | Popular Tags |