|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Entry
Method Summary | |
java.lang.Boolean |
allowsComments()
Whether or not comments are allowed |
java.lang.Boolean |
allowsPingbacks()
Whether or not pingbacks are allowed |
java.lang.Boolean |
allowsTrackbacks()
Whether or not trackbacks are allowed |
java.lang.Integer |
getAllowComments()
Determines whether or not this blog entry supports comments. |
java.lang.Integer |
getAllowPingbacks()
Determines whether or not this blog entry supports pingbacks. |
java.lang.Integer |
getAllowTrackbacks()
Determines whether or not this blog entry supports trackbacks. |
java.lang.String |
getAuthor()
Get the author |
Category |
getBlogCategory()
Get the Category object for this blog entry |
java.lang.Integer |
getBlogCategoryId()
Get the blog category ID |
java.lang.Integer |
getBlogId()
Get the blog ID |
java.lang.String |
getCategory()
Category for the blog entry. |
java.util.List |
getComments()
Get the comments |
Comment[] |
getCommentsAsArray()
Get the comments as an array of Comment objects |
java.util.Date |
getDate()
Date of the blog entry This value is constructed from the lastModified value of the file |
java.lang.String |
getDateAsFormat(java.lang.String format)
Return the blog entry date formatted with a specified date format |
java.lang.String |
getDateAsFormat(java.lang.String format,
java.util.Locale locale)
Return the blog entry date formatted with a specified date format |
java.lang.String |
getDescription()
Description of the blog entry |
java.lang.String |
getEncodedCategory()
Return the category name encoded. |
java.lang.String |
getEncodedPostSlug()
Get the post slug encoded as UTF-8 |
java.lang.String |
getEscapedDescription()
Escaped description of the blog entry This method would be used for generating RSS feeds where the <, >, and & characters are escaped |
java.lang.String |
getEscapedTitle()
Title for the entry where the <, >, and & characters are escaped |
java.lang.Integer |
getId()
Get the entry ID |
java.lang.String |
getISO8601Date()
Return an ISO 8601 style date http://www.w3.org/TR/NOTE-datetime |
java.util.Map |
getMetaData()
Return meta data for this blog entry. |
java.util.Date |
getModifiedDate()
Get the last modified date |
int |
getNumComments()
Get the number of comments for this entry |
int |
getNumPingbacks()
Get the number of pingbacks for this entry |
int |
getNumTrackbacks()
Get the number of trackbacks for this entry |
java.util.List |
getPingbacks()
Get the pingbacks for this entry |
Pingback[] |
getPingbacksAsArray()
Get the pingbacks as an array of Pingback s objects |
java.lang.String |
getPostSlug()
Get the post slug |
java.util.List |
getResponses()
Get the responses (comments, trackbacks, pingbacks) |
java.util.List |
getResponsesMatchingStatus(java.lang.String status)
Get the responses (comments, trackbacks, pingbacks) matching some status code |
java.util.List |
getResponsesNotMatchingStatus(java.lang.String status)
Get the responses (comments, trackbacks, pingbacks) not matching some status code |
java.lang.String |
getRFC822Date()
Return an RFC 822 style date |
java.lang.String |
getStatus()
Get the status |
java.lang.String |
getTitle()
Title of the blog entry |
java.util.List |
getTrackbacks()
Get the trackbacks |
Trackback[] |
getTrackbacksAsArray()
Get the trackbacks as an array of Trackback objects |
java.lang.String |
getUTCDate()
Return an UTC style date |
void |
setAllowComments(java.lang.Integer allowComments)
Set whether comments are allowed |
void |
setAllowPingbacks(java.lang.Integer allowPingbacks)
Set whether pingbacks are allowed |
void |
setAllowTrackbacks(java.lang.Integer allowTrackbacks)
Set whether trackbacks are allowed |
void |
setAuthor(java.lang.String author)
Set the author |
void |
setBlogCategory(Category blogCategory)
Set the Category object for this blog entry |
void |
setBlogCategoryId(java.lang.Integer blogCategoryId)
Set the blog category ID |
void |
setBlogId(java.lang.Integer blogId)
Set the blog ID |
void |
setComments(java.util.List comments)
Set the comments for this blog entry. |
void |
setDate(java.util.Date entryDate)
Date of this blog entry |
void |
setDescription(java.lang.String description)
Set the description for the blog entry |
void |
setId(java.lang.Integer id)
Set the entry ID |
void |
setMetaData(java.util.Map metaData)
Set the meta-data associated with this blog entry |
void |
setModifiedDate(java.util.Date modifiedDate)
Set the last modified date |
void |
setPingbacks(java.util.List pingbacks)
Set the pingbacks for this blog entry. |
void |
setPostSlug(java.lang.String postSlug)
Set the post slug |
void |
setStatus(java.lang.String status)
Set the status |
void |
setTitle(java.lang.String title)
Set the title of the blog entry |
void |
setTrackbacks(java.util.List trackbacks)
Set the trackbacks for this blog entry. |
Method Detail |
public java.lang.Integer getId()
public void setId(java.lang.Integer id)
id
- Entry IDpublic java.lang.Integer getBlogId()
public void setBlogId(java.lang.Integer blogId)
blogId
- Blog IDpublic java.lang.Integer getBlogCategoryId()
public void setBlogCategoryId(java.lang.Integer blogCategoryId)
blogCategoryId
- Blog category IDpublic java.util.Date getDate()
public void setDate(java.util.Date entryDate)
entryDate
- Date of the blog entrypublic java.lang.String getRFC822Date()
public java.lang.String getUTCDate()
public java.lang.String getISO8601Date()
public java.lang.String getDateAsFormat(java.lang.String format)
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()public java.lang.String getDateAsFormat(java.lang.String format, java.util.Locale locale)
format
- Date formatlocale
- 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()public java.lang.String getTitle()
public void setTitle(java.lang.String title)
title
- Title for the blog entrypublic java.lang.String getEscapedTitle()
public java.lang.String getDescription()
public java.lang.String getEscapedDescription()
public void setDescription(java.lang.String description)
description
- Description for the blog entrypublic java.lang.String getCategory()
public java.lang.String getEncodedCategory()
public java.lang.Integer getAllowComments()
true
if the blog entry supports comments, false
otherwisepublic java.lang.Boolean allowsComments()
true
if comments are allowed, false
otherwisepublic void setAllowComments(java.lang.Integer allowComments)
allowComments
- true
if comments are allowed, false
otherwisepublic java.util.List getComments()
public void setComments(java.util.List comments)
List
of Comment
. This method will not writeback or change the comments on disk.
comments
- Comments for this entrypublic Comment[] getCommentsAsArray()
Comment
objects
public int getNumComments()
null
, or the number of comments otherwise, which could be 0public java.lang.Integer getAllowTrackbacks()
true
if the blog entry supports trackbacks, false
otherwisepublic java.lang.Boolean allowsTrackbacks()
true
if trackbacks are allowed, false
otherwisepublic void setAllowTrackbacks(java.lang.Integer allowTrackbacks)
allowTrackbacks
- true
if trackbacks are allowed, false
otherwisepublic java.util.List getTrackbacks()
public void setTrackbacks(java.util.List trackbacks)
List
of Trackback
. This method will not writeback or change the trackbacks to disk.
trackbacks
- Trackbacks for this entrypublic Trackback[] getTrackbacksAsArray()
public int getNumTrackbacks()
null
, or the number of trackbacks otherwise, which could be 0public Category getBlogCategory()
Category
object for this blog entry
Category
objectpublic void setBlogCategory(Category blogCategory)
Category
object for this blog entry
blogCategory
- New Category
objectpublic java.util.Map getMetaData()
null
.
public void setMetaData(java.util.Map metaData)
metaData
- Meta-datapublic java.lang.Integer getAllowPingbacks()
true
if the blog entry supports pingbacks, false
otherwisepublic java.lang.Boolean allowsPingbacks()
true
if pingbacks are allowed, false
otherwisepublic void setAllowPingbacks(java.lang.Integer allowPingbacks)
allowPingbacks
- true
if pingbacks are allowed, false
otherwisepublic java.util.List getPingbacks()
Pingback
public void setPingbacks(java.util.List pingbacks)
List
of Pingback
. This method will not writeback or change the pingbacks to disk.
pingbacks
- Pingback
s for this entrypublic Pingback[] getPingbacksAsArray()
Pingback
s objects
Pingback
[] arraypublic int getNumPingbacks()
null
, or the number of pingbacks otherwise, which could be 0public java.lang.String getStatus()
public void setStatus(java.lang.String status)
status
- Statuspublic java.lang.String getAuthor()
public void setAuthor(java.lang.String author)
author
- Authorpublic java.lang.String getPostSlug()
public java.lang.String getEncodedPostSlug()
public void setPostSlug(java.lang.String postSlug)
postSlug
- Post slugpublic java.util.Date getModifiedDate()
public void setModifiedDate(java.util.Date modifiedDate)
modifiedDate
- Last modified datepublic java.util.List getResponses()
public java.util.List getResponsesMatchingStatus(java.lang.String status)
status
- Status code
public java.util.List getResponsesNotMatchingStatus(java.lang.String status)
status
- Status code
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |