1 31 package org.blojsom.blog; 32 33 import java.util.Date ; 34 import java.util.Map ; 35 import java.util.Locale ; 36 37 44 public interface Comment extends Response { 45 46 51 void setId(Integer id); 52 53 58 public Integer getId(); 59 60 65 void setBlogId(Integer blogId); 66 67 72 Integer getBlogId(); 73 74 79 public Integer getBlogEntryId(); 80 81 86 public void setBlogEntryId(Integer blogEntryId); 87 88 93 String getAuthor(); 94 95 100 String getEscapedAuthor(); 101 102 107 void setAuthor(String author); 108 109 114 String getAuthorEmail(); 115 116 121 String getEscapedAuthorEmail(); 122 123 128 void setAuthorEmail(String authorEmail); 129 130 135 String getAuthorURL(); 136 137 142 String getEscapedAuthorURL(); 143 144 149 void setAuthorURL(String authorURL); 150 151 156 String getEscapedComment(); 157 158 163 String getComment(); 164 165 170 void setComment(String comment); 171 172 177 Date getCommentDate(); 178 179 185 String getISO8601Date(); 186 187 192 String getRFC822Date(); 193 194 199 Map getMetaData(); 200 201 206 void setCommentDate(Date commentDate); 207 208 213 void setMetaData(Map metaData); 214 215 222 String getDateAsFormat(String format); 223 224 231 String getDateAsFormat(String format, Locale locale); 232 233 238 Entry getEntry(); 239 240 245 void setEntry(Entry entry); 246 247 252 public Integer getParentId(); 253 254 259 public void setParentId(Integer parentId); 260 } 261 | Popular Tags |