|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectorg.blojsom.blog.BlogComment
org.blojsom.blog.FileBackedBlogComment
FileBackedBlogComment
| Field Summary | |
protected java.io.File |
_source
|
| Fields inherited from class org.blojsom.blog.BlogComment |
_author, _authorEmail, _authorURL, _blogEntry, _comment, _commentDate, _commentDateLong, _id, _metaData |
| Constructor Summary | |
FileBackedBlogComment()
Default constructor |
|
| Method Summary | |
void |
delete(BlogUser blogUser)
Delete the blog comment |
java.io.File |
getSource()
Retrieve the source file for this comment |
void |
load(BlogUser blogUser)
Load the blog comment |
void |
save(BlogUser blogUser)
Save the blog comment |
void |
setSource(java.io.File source)
Set the source file for this comment |
| Methods inherited from class org.blojsom.blog.BlogComment |
getAuthor, getAuthorEmail, getAuthorURL, getBlogEntry, getComment, getCommentDate, getCommentDateLong, getDateAsFormat, getDateAsFormat, getEscapedComment, getId, getISO8601Date, getMetaData, getRFC822Date, setAuthor, setAuthorEmail, setAuthorURL, setBlogEntry, setComment, setCommentDate, setCommentDateLong, setId, setMetaData |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
protected transient java.io.File _source
| Constructor Detail |
public FileBackedBlogComment()
| Method Detail |
public java.io.File getSource()
File backing this commentpublic void setSource(java.io.File source)
source - File backing this comment
public void load(BlogUser blogUser)
throws BlojsomException
load in class BlogCommentblogUser - BlogUser
BlojsomException
public void save(BlogUser blogUser)
throws BlojsomException
save in class BlogCommentblogUser - BlogUser
BlojsomException
public void delete(BlogUser blogUser)
throws BlojsomException
delete in class BlogCommentblogUser - BlogUser
BlojsomException
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||