| org.blojsom.blog.Entry
All known Subclasses: org.blojsom.blog.database.DatabaseEntry,
Entry | public interface Entry (Code) | | Entry
author: David Czarnecki since: blojsom 3.0 version: $Id: Entry.java,v 1.7 2007/01/17 02:35:16 czarneckid Exp $ |
allowsComments | Boolean allowsComments()(Code) | | Whether or not comments are allowed
true if comments are allowed, false otherwise |
allowsPingbacks | Boolean allowsPingbacks()(Code) | | Whether or not pingbacks are allowed
true if pingbacks are allowed, false otherwise |
allowsTrackbacks | Boolean allowsTrackbacks()(Code) | | Whether or not trackbacks are allowed
true if trackbacks are allowed, false otherwise |
getAllowComments | Integer getAllowComments()(Code) | | Determines whether or not this blog entry supports comments.
true if the blog entry supports comments, false otherwise |
getAllowPingbacks | Integer getAllowPingbacks()(Code) | | Determines whether or not this blog entry supports pingbacks.
true if the blog entry supports pingbacks, false otherwise |
getAllowTrackbacks | Integer getAllowTrackbacks()(Code) | | Determines whether or not this blog entry supports trackbacks.
true if the blog entry supports trackbacks, false otherwise |
getAuthor | public String getAuthor()(Code) | | Get the author
Author |
getBlogCategoryId | public Integer getBlogCategoryId()(Code) | | Get the blog category ID
Blog category ID |
getCategory | String getCategory()(Code) | | Category for the blog entry. This corresponds to the category directory name.
Blog entry category |
getComments | List getComments()(Code) | | Get the comments
List of comments |
getCommentsAsArray | Comment[] getCommentsAsArray()(Code) | | Get the comments as an array of
Comment objects
BlogComment[] array |
getDate | Date getDate()(Code) | | Date of the blog entry
This value is constructed from the lastModified value of the file
Date of the blog entry |
getDateAsFormat | String getDateAsFormat(String format)(Code) | | Return the blog entry date formatted with a specified date format
Parameters: format - Date format 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 entryDate.toString() |
getDateAsFormat | String getDateAsFormat(String format, Locale locale)(Code) | | Return the blog entry 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 entryDate.toString() |
getDescription | String getDescription()(Code) | | Description of the blog entry
Blog entry description |
getEncodedCategory | String getEncodedCategory()(Code) | | Return the category name encoded.
Category name encoded as UTF-8 |
getEncodedPostSlug | public String getEncodedPostSlug()(Code) | | Get the post slug encoded as UTF-8
Post slug encoded as UTF-8 |
getEscapedDescription | String getEscapedDescription()(Code) | | Escaped description of the blog entry
This method would be used for generating RSS feeds where the <, >, and & characters are escaped
Blog entry description where &, <, and > have been escaped |
getEscapedTitle | String getEscapedTitle()(Code) | | Title for the entry where the <, >, and & characters are escaped
Escaped entry title |
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) | | Return meta data for this blog entry. This method may return null .
Meta data |
getModifiedDate | public Date getModifiedDate()(Code) | | Get the last modified date
Last modified date |
getNumComments | int getNumComments()(Code) | | Get the number of comments for this entry
0 if comments is null , or the number of comments otherwise, which could be 0 |
getNumPingbacks | int getNumPingbacks()(Code) | | Get the number of pingbacks for this entry
0 if pingbacks is null , or the number of pingbacks otherwise, which could be 0 |
getNumTrackbacks | int getNumTrackbacks()(Code) | | Get the number of trackbacks for this entry
0 if trackbacks is null , or the number of trackbacks otherwise, which could be 0 |
getPostSlug | public String getPostSlug()(Code) | | Get the post slug
Post slug |
getRFC822Date | String getRFC822Date()(Code) | | Return an RFC 822 style date
Date formatted in RFC 822 format |
getResponses | public List getResponses()(Code) | | Get the responses (comments, trackbacks, pingbacks)
Responses (comments, trackbacks, pingbacks) |
getResponsesMatchingStatus | public List getResponsesMatchingStatus(String status)(Code) | | Get the responses (comments, trackbacks, pingbacks) matching some status code
Parameters: status - Status code Responses (comments, trackbacks, pingbacks) matching some status code |
getResponsesNotMatchingStatus | public List getResponsesNotMatchingStatus(String status)(Code) | | Get the responses (comments, trackbacks, pingbacks) not matching some status code
Parameters: status - Status code Responses (comments, trackbacks, pingbacks) not matching some status code |
getStatus | public String getStatus()(Code) | | Get the status
Status |
getTitle | String getTitle()(Code) | | Title of the blog entry
Blog title |
getTrackbacks | List getTrackbacks()(Code) | | Get the trackbacks
List of trackbacks |
getTrackbacksAsArray | Trackback[] getTrackbacksAsArray()(Code) | | Get the trackbacks as an array of Trackback objects
Trackback[] array |
getUTCDate | String getUTCDate()(Code) | | Return an UTC style date
Date formatted in UTC format |
setAllowComments | void setAllowComments(Integer allowComments)(Code) | | Set whether comments are allowed
Parameters: allowComments - true if comments are allowed, false otherwise |
setAllowPingbacks | void setAllowPingbacks(Integer allowPingbacks)(Code) | | Set whether pingbacks are allowed
Parameters: allowPingbacks - true if pingbacks are allowed, false otherwise |
setAllowTrackbacks | void setAllowTrackbacks(Integer allowTrackbacks)(Code) | | Set whether trackbacks are allowed
Parameters: allowTrackbacks - true if trackbacks are allowed, false otherwise |
setAuthor | public void setAuthor(String author)(Code) | | Set the author
Parameters: author - Author |
setBlogCategoryId | public void setBlogCategoryId(Integer blogCategoryId)(Code) | | Set the blog category ID
Parameters: blogCategoryId - Blog category ID |
setBlogId | void setBlogId(Integer blogId)(Code) | | Set the blog ID
Parameters: blogId - Blog ID |
setComments | void setComments(List comments)(Code) | | Set the comments for this blog entry. The comments must be an List
of
org.blojsom.blog.Comment . This method will not writeback or change the comments on disk.
Parameters: comments - Comments for this entry |
setDate | void setDate(Date entryDate)(Code) | | Date of this blog entry
Parameters: entryDate - Date of the blog entry |
setDescription | void setDescription(String description)(Code) | | Set the description for the blog entry
Parameters: description - Description for the blog entry |
setId | void setId(Integer id)(Code) | | Set the entry ID
Parameters: id - Entry ID |
setMetaData | void setMetaData(Map metaData)(Code) | | Set the meta-data associated with this blog entry
Parameters: metaData - Meta-data |
setModifiedDate | public void setModifiedDate(Date modifiedDate)(Code) | | Set the last modified date
Parameters: modifiedDate - Last modified date |
setPostSlug | public void setPostSlug(String postSlug)(Code) | | Set the post slug
Parameters: postSlug - Post slug |
setStatus | public void setStatus(String status)(Code) | | Set the status
Parameters: status - Status |
setTitle | void setTitle(String title)(Code) | | Set the title of the blog entry
Parameters: title - Title for the blog entry |
setTrackbacks | void setTrackbacks(List trackbacks)(Code) | | Set the trackbacks for this blog entry. The trackbacks must be an List
of
org.blojsom.blog.Trackback . This method will not writeback or change the trackbacks to disk.
Parameters: trackbacks - Trackbacks for this entry |
|
|