|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.sun.syndication.feed.synd.SyndEntryImpl
com.openedit.blog.BlogEntry
public class BlogEntry
| Field Summary |
|---|
| Fields inherited from class com.sun.syndication.feed.synd.SyndEntryImpl |
|---|
CONVENIENCE_PROPERTIES |
| Constructor Summary | |
|---|---|
BlogEntry()
|
|
| Method Summary | |
|---|---|
void |
addComment(BlogComment inComment)
Adds a comment to this blog entry. |
void |
addNotify(User inUser)
|
void |
addProperty(java.lang.String key,
java.lang.String value)
|
int |
compareTo(java.lang.Object inEntry)
|
int |
countComments()
Returns the total number of comments on this blog entry, both visible (published) and invisible (unpublished). |
int |
countVisibleComments()
Returns the number of visible (published) comments on this blog entry. |
java.lang.String |
get(java.lang.String key)
|
java.util.List |
getAllowedComments(User inUser)
|
BlogComment |
getComment(java.lang.String inId)
Returns the comment with the given comment ID. |
BlogCommentArchive |
getCommentArchive()
|
java.util.List |
getComments()
Returns all the comments on this blog, published or unpublished. |
java.text.SimpleDateFormat |
getGmtStandard()
|
java.lang.String |
getId()
|
LinkTree |
getLinkTree()
|
java.util.Collection |
getNotificationList()
|
java.util.List |
getNotify()
|
PageManager |
getPageManager()
|
java.lang.String |
getPath()
|
java.util.Map |
getProperties()
|
java.lang.String |
getProperty(java.lang.String key)
|
User |
getUser()
|
java.util.List |
getVisibleComments()
Returns all comments on this blog entry that are visible (published). |
boolean |
hasCommented(User inUser)
|
boolean |
isBeingNotified(User inUser)
|
boolean |
isVisible()
|
java.util.Date |
parse(java.lang.String inDate)
|
java.lang.String |
published(java.lang.String inFormat)
|
void |
removeComment(BlogComment inComment)
|
void |
removeComment(java.lang.String inId)
|
void |
removeNotify(User inUser)
|
void |
setCommentArchive(BlogCommentArchive inCommentArchive)
|
void |
setDescription(java.lang.String inContent)
|
void |
setGmtStandard(java.text.SimpleDateFormat inGmtStandard)
|
void |
setLinkTree(LinkTree inLinkTree)
|
void |
setNotify(java.util.List inNotify)
|
void |
setPageManager(PageManager inPageManager)
|
void |
setPath(java.lang.String inPath)
A path is just the end part of a link |
void |
setProperties(java.util.Map fieldProperties)
|
void |
setUser(User inUser)
|
void |
setVisible(boolean invisible)
|
| Methods inherited from class com.sun.syndication.feed.synd.SyndEntryImpl |
|---|
clone, copyFrom, equals, getAuthor, getAuthors, getCategories, getContents, getContributors, getDescription, getEnclosures, getForeignMarkup, getInterface, getLink, getLinks, getModule, getModules, getPublishedDate, getTitle, getTitleEx, getUpdatedDate, getUri, hashCode, setAuthor, setAuthors, setCategories, setContents, setContributors, setDescription, setEnclosures, setForeignMarkup, setLink, setLinks, setModules, setPublishedDate, setTitle, setTitleEx, setUpdatedDate, setUri, toString |
| Methods inherited from class java.lang.Object |
|---|
getClass, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public BlogEntry()
| Method Detail |
|---|
public java.lang.String getPath()
public void setPath(java.lang.String inPath)
inPath - public java.lang.String published(java.lang.String inFormat)
public java.lang.String getId()
public int countComments()
throws OpenEditException
OpenEditException - If the comments needed to be loaded and could not be
public int countVisibleComments()
throws OpenEditException
OpenEditException - If the comments needed to be loaded and could not be
public java.util.List getComments()
throws OpenEditException
List of BlogComments
OpenEditException - If the comments needed to be loaded and could not be
public java.util.List getVisibleComments()
throws OpenEditException
List of BlogComments
OpenEditException - If the comments needed to be loaded and could not bepublic java.util.Collection getNotificationList()
public boolean isBeingNotified(User inUser)
public boolean hasCommented(User inUser)
public java.util.List getAllowedComments(User inUser)
throws OpenEditException
OpenEditExceptionpublic PageManager getPageManager()
public void setPageManager(PageManager inPageManager)
public LinkTree getLinkTree()
public void setLinkTree(LinkTree inLinkTree)
public void addComment(BlogComment inComment) throws OpenEditException
inComment - The new comment
OpenEditExceptionpublic BlogComment getComment(java.lang.String inId) throws OpenEditException
inId - The comment ID
null if this entry does not have a
comment with the given ID
OpenEditException
public void removeComment(java.lang.String inId)
throws OpenEditException
OpenEditExceptionpublic void removeComment(BlogComment inComment) throws OpenEditException
OpenEditExceptionpublic void setDescription(java.lang.String inContent)
inContent - public boolean isVisible()
public void setVisible(boolean invisible)
public java.text.SimpleDateFormat getGmtStandard()
public java.util.Date parse(java.lang.String inDate)
public void setGmtStandard(java.text.SimpleDateFormat inGmtStandard)
public User getUser()
public void setUser(User inUser)
public java.util.List getNotify()
public void setNotify(java.util.List inNotify)
public BlogCommentArchive getCommentArchive()
public void setCommentArchive(BlogCommentArchive inCommentArchive)
public int compareTo(java.lang.Object inEntry)
compareTo in interface java.lang.Comparablepublic java.util.Map getProperties()
public void setProperties(java.util.Map fieldProperties)
public void addProperty(java.lang.String key,
java.lang.String value)
public java.lang.String getProperty(java.lang.String key)
public java.lang.String get(java.lang.String key)
public void addNotify(User inUser)
public void removeNotify(User inUser)
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
Copyright 2008 OpenEdit Inc. All rights reserved. last modified: Jan 05 2009
