|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectnet.sourceforge.pebble.domain.Content
net.sourceforge.pebble.domain.Response
net.sourceforge.pebble.domain.Comment
public class Comment
Represents a blog comment.
Field Summary |
---|
Fields inherited from class net.sourceforge.pebble.domain.Response |
---|
blogEntry, date, ipAddress, title |
Fields inherited from class net.sourceforge.pebble.domain.Content |
---|
propertyChangeSupport |
Constructor Summary | |
---|---|
Comment()
|
Method Summary | |
---|---|
java.lang.Object |
clone()
Creates and returns a copy of this object. |
boolean |
equals(java.lang.Object o)
|
java.lang.String |
getAuthor()
Gets the name of the author. |
java.lang.String |
getBody()
Gets the body of this comment. |
java.util.List<Comment> |
getComments()
Gets a list of comments, in the order that they were left. |
java.lang.String |
getContent()
Gets the content of this response. |
java.lang.String |
getEmail()
Gets the author's e-mail address. |
int |
getNumberOfParents()
Gets the number of parents that this comment has. |
Comment |
getParent()
Gets the owning comment, if this comment is nested. |
java.lang.String |
getPermalink()
Gets the permalink for this comment. |
java.lang.String |
getSourceLink()
Gets the link to the source of this response. |
java.lang.String |
getSourceName()
Gets the name of the source of this response. |
java.lang.String |
getTruncatedBody()
Gets the body of this comment, truncated and without HTML tags. |
java.lang.String |
getWebsite()
Gets the author's website. |
int |
hashCode()
|
boolean |
isAuthenticated()
|
void |
setAuthenticated(boolean authenticated)
|
void |
setAuthor(java.lang.String author)
Sets the author of this blog comment. |
void |
setBody(java.lang.String body)
Sets the body of this comment. |
void |
setEmail(java.lang.String email)
Sets the author's e-mail address. |
void |
setParent(Comment parent)
Sets the owning comment. |
void |
setTitle(java.lang.String title)
Sets the title of this comment. |
void |
setWebsite(java.lang.String website)
Sets the author's website. |
Methods inherited from class net.sourceforge.pebble.domain.Response |
---|
getBlogEntry, getDate, getGuid, getId, getIpAddress, getSpamScore, getTitle, incrementSpamScore, isApproved, isPending, isRejected, setApproved, setDate, setIpAddress, setPending, setRejected |
Methods inherited from class net.sourceforge.pebble.domain.Content |
---|
clearPropertyChangeEvents, getEvents, getPropertyChangeEvents, getState, getTruncatedContent, hasEvents, isDirty, nextEvent |
Methods inherited from class java.lang.Object |
---|
finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public Comment()
Method Detail |
---|
public java.lang.String getBody()
public java.lang.String getContent()
getContent
in class Content
public java.lang.String getTruncatedBody()
public void setTitle(java.lang.String title)
setTitle
in class Response
title
- the title of this comment as a Stringpublic void setBody(java.lang.String body)
body
- the body of this comment as a Stringpublic java.lang.String getAuthor()
public java.lang.String getSourceName()
getSourceName
in class Response
public void setAuthor(java.lang.String author)
author
- the name of the authorpublic java.lang.String getEmail()
public void setEmail(java.lang.String email)
email
- the e-mail addresspublic java.lang.String getWebsite()
public java.lang.String getSourceLink()
getSourceLink
in class Response
public void setWebsite(java.lang.String website)
website
- the website urlpublic java.lang.String getPermalink()
public Comment getParent()
public void setParent(Comment parent)
parent
- the owning Comment instancepublic int getNumberOfParents()
public java.util.List<Comment> getComments()
public java.lang.Object clone()
clone
in class java.lang.Object
Cloneable
public boolean equals(java.lang.Object o)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public boolean isAuthenticated()
public void setAuthenticated(boolean authenticated)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |