1 26 27 29 package de.nava.informa.core; 30 31 import java.util.Collection ; 32 import java.util.Date ; 33 34 40 public interface ChannelIF extends WithIdMIF, WithTitleMIF, WithElementsAndAttributesMIF, 41 WithLocationMIF, WithCreatorMIF, WithCategoriesMIF, 42 WithDescriptionMIF, WithSiteMIF, ChannelObservableIF { 43 44 46 47 public static final String UPDATE_HOURLY = "hourly"; 48 49 50 public static final String UPDATE_DAILY = "daily"; 51 52 53 public static final String UPDATE_WEEKLY = "weekly"; 54 55 56 public static final String UPDATE_MONTHLY = "monthly"; 57 58 59 public static final String UPDATE_YEARLY = "yearly"; 60 61 63 64 65 String getLanguage(); 66 67 void setLanguage(String language); 68 69 String getPublisher(); 70 71 void setPublisher(String publisher); 72 73 String getRating(); 74 75 void setRating(String rating); 76 77 String getGenerator(); 78 79 void setGenerator(String generator); 80 81 String getDocs(); 82 83 void setDocs(String docs); 84 85 int getTtl(); 86 87 void setTtl(int ttl); 88 89 95 ChannelFormat getFormat(); 96 97 void setFormat(ChannelFormat format); 98 99 102 Collection getItems(); 103 104 void addItem(ItemIF item); 105 106 void removeItem(ItemIF item); 107 108 114 ItemIF getItem(long id); 115 116 120 ImageIF getImage(); 121 122 126 void setImage(ImageIF image); 127 128 TextInputIF getTextInput(); 129 130 void setTextInput(TextInputIF textInput); 131 132 Date getLastUpdated(); 133 134 void setLastUpdated(Date lastUpdated); 135 136 Date getLastBuildDate(); 137 138 void setLastBuildDate(Date lastBuild); 139 140 Date getPubDate(); 141 142 void setPubDate(Date pubDate); 143 144 CloudIF getCloud(); 145 146 void setCloud(CloudIF cloud); 147 148 150 163 String getUpdatePeriod(); 164 165 179 void setUpdatePeriod(String updatePeriod); 180 181 190 int getUpdateFrequency(); 191 192 198 void setUpdateFrequency(int updateFrequency); 199 200 206 Date getUpdateBase(); 207 208 212 void setUpdateBase(Date updateBase); 213 } 214 | Popular Tags |