|
||||||||||
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
public abstract class Response
Represents a response to a blog entry - either a comment or a TrackBack.
Field Summary | |
---|---|
protected BlogEntry |
blogEntry
the parent blog entry |
protected java.util.Date |
date
the date that the trackback was received |
protected java.lang.String |
ipAddress
the ip address of the author |
protected java.lang.String |
title
the title |
Fields inherited from class net.sourceforge.pebble.domain.Content |
---|
propertyChangeSupport |
Constructor Summary | |
---|---|
Response()
Default, no args constructor. |
Method Summary | |
---|---|
BlogEntry |
getBlogEntry()
Gets the owning blog entry. |
java.util.Date |
getDate()
Gets the date that this response was received. |
java.lang.String |
getGuid()
Gets the globally unique id of this response. |
long |
getId()
Gets the id of this comment. |
java.lang.String |
getIpAddress()
Gets the IP address. |
abstract java.lang.String |
getSourceLink()
Gets the link to the source of this response. |
abstract java.lang.String |
getSourceName()
Gets the name of the source of this response. |
int |
getSpamScore()
Gets the spam score. |
java.lang.String |
getTitle()
Gets the title. |
void |
incrementSpamScore()
Increments the spam score by 1. |
boolean |
isApproved()
Determines whether this response is approved. |
boolean |
isPending()
Determines whether this response is pending. |
boolean |
isRejected()
Determines whether this response is rejected. |
void |
setApproved()
Sets the state of this response to approved. |
void |
setDate(java.util.Date date)
Sets the date that this response was received. |
void |
setIpAddress(java.lang.String ipAddress)
Sets the IP address. |
void |
setPending()
Sets the state of this response to pending. |
void |
setRejected()
Sets the state of this response to rejected. |
void |
setTitle(java.lang.String title)
Sets the title of the blog entry for this trackback. |
Methods inherited from class net.sourceforge.pebble.domain.Content |
---|
clearPropertyChangeEvents, getContent, getEvents, getPropertyChangeEvents, getState, getTruncatedContent, hasEvents, isDirty, nextEvent |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface net.sourceforge.pebble.domain.Permalinkable |
---|
getPermalink |
Field Detail |
---|
protected java.lang.String title
protected java.lang.String ipAddress
protected java.util.Date date
protected BlogEntry blogEntry
Constructor Detail |
---|
public Response()
Method Detail |
---|
public long getId()
public java.lang.String getGuid()
public java.lang.String getTitle()
public void setTitle(java.lang.String title)
title
- the title as a Stringpublic abstract java.lang.String getSourceName()
public abstract java.lang.String getSourceLink()
public java.lang.String getIpAddress()
public void setIpAddress(java.lang.String ipAddress)
ipAddress
- the IP address of the responderpublic java.util.Date getDate()
public void setDate(java.util.Date date)
date
- the date as a java.util.Date instance.public BlogEntry getBlogEntry()
public int getSpamScore()
public void incrementSpamScore()
public void setRejected()
public boolean isRejected()
public void setApproved()
public boolean isApproved()
public void setPending()
public boolean isPending()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |