| |
|
| org.blojsom.blog.Comment
All known Subclasses: org.blojsom.blog.database.DatabaseComment,
Comment | public interface Comment extends Response(Code) | | Comment
author: David Czarnecki since: blojsom 3.0 version: $Id: Comment.java,v 1.8 2007/01/17 02:35:16 czarneckid Exp $ |
getAuthor | String getAuthor()(Code) | | Get the author of the comment
Comment author |
getAuthorEmail | String getAuthorEmail()(Code) | | Get the e-mail of the author of the comment
Author's e-mail |
getAuthorURL | String getAuthorURL()(Code) | | Get the URL of the author
Author's URL |
getBlogEntryId | public Integer getBlogEntryId()(Code) | | Get the blog entry ID
Blog entry ID |
getComment | String getComment()(Code) | | Get the comment
Comment |
getCommentDate | Date getCommentDate()(Code) | | Get the date the comment was entered
Comment date |
getDateAsFormat | String getDateAsFormat(String format)(Code) | | Return the comment date formatted with a specified date format
Parameters: format - Date format null if the comment date or format is null, otherwise returns the comment dateformatted to the specified format. If the format is invalid, returns commentDate.toString() |
getDateAsFormat | String getDateAsFormat(String format, Locale locale)(Code) | | Return the comment date formatted with a specified date format
Parameters: format - Date format Parameters: locale - Locale for date formatting null if the entry date or format is null, otherwise returns the entry date formatted to the specified format. If the format is invalid, returns commentDate.toString() |
getEscapedAuthor | String getEscapedAuthor()(Code) | | Get the author as an escaped string
Escaped author |
getEscapedAuthorEmail | String getEscapedAuthorEmail()(Code) | | Get the escaped e-mail of the author of the comment
Escaped author e-mail |
getEscapedAuthorURL | String getEscapedAuthorURL()(Code) | | Get the escaped URL of the author
Escaped URL |
getEscapedComment | String getEscapedComment()(Code) | | Get the comment as a escaped string
Escaped Comment |
getISO8601Date | String getISO8601Date()(Code) | | Return an ISO 8601 style date
http://www.w3.org/TR/NOTE-datetime
Date formatted in ISO 8601 format |
getMetaData | Map getMetaData()(Code) | | Get the comment meta-data
Meta-data as a Map |
getParentId | public Integer getParentId()(Code) | | Get the comment parent ID
Comment parent ID |
getRFC822Date | String getRFC822Date()(Code) | | Return an RFC 822 style date
Date formatted in RFC 822 format |
setAuthor | void setAuthor(String author)(Code) | | Set the author of the comment
Parameters: author - Comment's new author |
setAuthorEmail | void setAuthorEmail(String authorEmail)(Code) | | Set the e-mail of the author of the comment
Parameters: authorEmail - Author's new e-mail |
setAuthorURL | void setAuthorURL(String authorURL)(Code) | | Set the URL for the author
Parameters: authorURL - New URL for the author |
setBlogEntryId | public void setBlogEntryId(Integer blogEntryId)(Code) | | Set the blog entry ID
Parameters: blogEntryId - Blog entry ID |
setBlogId | void setBlogId(Integer blogId)(Code) | | Set the blog ID
Parameters: blogId - Blog ID |
setComment | void setComment(String comment)(Code) | | Set the new comment
Parameters: comment - New comment |
setCommentDate | void setCommentDate(Date commentDate)(Code) | | Set the date for the comment
Parameters: commentDate - Comment date |
setEntry | void setEntry(Entry entry)(Code) | | Set the
Entry associated with this comment
Parameters: entry - Entry |
setId | void setId(Integer id)(Code) | | Set the comment ID
Parameters: id - Comment ID |
setMetaData | void setMetaData(Map metaData)(Code) | | Set the comment meta-data
Parameters: metaData - Map containing meta-data for this comment |
setParentId | public void setParentId(Integer parentId)(Code) | | Set the comment parent ID
Parameters: parentId - Comment parent ID |
|
|
|