1 18 19 package org.apache.roller.model; 20 21 import java.util.Collection ; 22 import java.util.List ; 23 import org.apache.roller.RollerException; 24 import org.apache.roller.pojos.AutoPingData; 25 import org.apache.roller.pojos.PingTargetData; 26 import org.apache.roller.pojos.WeblogEntryData; 27 import org.apache.roller.pojos.WebsiteData; 28 29 30 33 public interface AutoPingManager { 34 35 36 42 public void saveAutoPing(AutoPingData autoPing) throws RollerException; 43 44 45 51 public void removeAutoPing(AutoPingData autoPing) throws RollerException; 52 53 54 62 public void removeAutoPing(PingTargetData pingTarget, WebsiteData website) throws RollerException; 63 64 65 71 public void removeAutoPings(Collection autopings) throws RollerException; 72 73 74 79 public void removeAllAutoPings() throws RollerException; 80 81 82 89 public AutoPingData getAutoPing(String id) throws RollerException; 90 91 92 98 public List getAutoPingsByWebsite(WebsiteData website) throws RollerException; 99 100 101 107 public List getAutoPingsByTarget(PingTargetData pingTarget) throws RollerException; 108 109 110 116 public List getApplicableAutoPings(WeblogEntryData changedWeblogEntry) throws RollerException; 117 118 119 126 public void queueApplicableAutoPings(WeblogEntryData changedWeblogEntry) throws RollerException; 127 128 129 137 public List getCategoryRestrictions(AutoPingData autoPing) throws RollerException; 138 139 140 147 public void setCategoryRestrictions(AutoPingData autoPing, 148 Collection newCategories); 149 150 151 154 public void release(); 155 156 } 157 | Popular Tags |