|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.jboss.portlet.forums.impl.TopicImpl
Field Summary | |
private Forum |
forum
|
private java.lang.Integer |
id
|
private java.util.Date |
lastPostDate
|
private Poll |
poll
|
private Poster |
poster
|
private java.util.List |
posts
|
private int |
status
|
private java.lang.String |
subject
|
private int |
type
|
private int |
viewCount
|
private java.util.List |
watches
|
Constructor Summary | |
TopicImpl()
Creates a new TopicImpl object. |
Method Summary | |
void |
addPost(Post post)
DOCUMENT_ME |
int |
compareTo(java.lang.Object comp)
|
Post |
getFirstPost()
_@_hibernate.many-to-one _column_="jbp_first_post_id" _class_="org.jboss.portlet.forums.impl.PostImpl" |
Forum |
getForum()
DOCUMENT_ME |
java.lang.Integer |
getId()
DOCUMENT_ME |
Post |
getLastPost()
_@_hibernate.many-to-one _column_="jbp_last_post_id" _class_="org.jboss.portlet.forums.impl.PostImpl" |
java.util.Date |
getLastPostDate()
DOCUMENT_ME |
Poll |
getPoll()
DOCUMENT_ME |
Poster |
getPoster()
DOCUMENT_ME |
java.util.List |
getPosts()
DOCUMENT_ME |
int |
getReplies()
DOCUMENT_ME |
int |
getStatus()
DOCUMENT_ME |
java.lang.String |
getSubject()
DOCUMENT_ME |
int |
getType()
DOCUMENT_ME |
int |
getViewCount()
DOCUMENT_ME |
java.util.List |
getWatches()
|
void |
setFirstPost(Post post)
DOCUMENT_ME |
void |
setForum(Forum forum)
DOCUMENT_ME |
void |
setId(java.lang.Integer id)
DOCUMENT_ME |
void |
setLastPost(Post post)
DOCUMENT_ME |
void |
setLastPostDate(java.util.Date lastPostDate)
DOCUMENT_ME |
void |
setPoll(Poll poll)
DOCUMENT_ME |
void |
setPoster(Poster poster)
DOCUMENT_ME |
void |
setPosts(java.util.List value)
DOCUMENT_ME |
void |
setReplies(int replies)
DOCUMENT_ME |
void |
setStatus(int status)
DOCUMENT_ME |
void |
setSubject(java.lang.String subject)
DOCUMENT_ME |
void |
setType(int type)
DOCUMENT_ME |
void |
setViewCount(int viewCount)
DOCUMENT_ME |
void |
setWatches(java.util.List watches)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
private java.lang.Integer id
private java.util.List posts
private Forum forum
private int viewCount
private java.util.Date lastPostDate
private Poster poster
private int type
private int status
private java.lang.String subject
private java.util.List watches
private Poll poll
Constructor Detail |
public TopicImpl()
TopicImpl
object.
Method Detail |
public int compareTo(java.lang.Object comp)
compareTo
in interface java.lang.Comparable
public java.lang.Integer getId()
Topic
public void setId(java.lang.Integer id)
id
- DOCUMENT_MEpublic java.util.List getPosts()
Topic
public void setPosts(java.util.List value)
public void addPost(Post post)
post
- DOCUMENT_ME
public Forum getForum()
Topic
public void setForum(Forum forum)
public int getViewCount()
Topic
getViewCount
in interface Topic
public void setViewCount(int viewCount)
setViewCount
in interface Topic
viewCount
- DOCUMENT_MEpublic int getReplies()
Topic
getReplies
in interface Topic
public void setReplies(int replies)
setReplies
in interface Topic
replies
- DOCUMENT_MEpublic Post getFirstPost()
getFirstPost
in interface Topic
public void setFirstPost(Post post)
setFirstPost
in interface Topic
post
- DOCUMENT_MEpublic Post getLastPost()
getLastPost
in interface Topic
public void setLastPost(Post post)
setLastPost
in interface Topic
post
- DOCUMENT_MEpublic java.util.Date getLastPostDate()
Topic
getLastPostDate
in interface Topic
public void setLastPostDate(java.util.Date lastPostDate)
setLastPostDate
in interface Topic
lastPostDate
- DOCUMENT_MEpublic Poster getPoster()
Topic
public void setPoster(Poster poster)
public int getType()
Topic
public void setType(int type)
public int getStatus()
Topic
public void setStatus(int status)
public java.lang.String getSubject()
Topic
getSubject
in interface Topic
public void setSubject(java.lang.String subject)
setSubject
in interface Topic
subject
- DOCUMENT_MEpublic java.util.List getWatches()
getWatches
in interface Topic
public void setWatches(java.util.List watches)
public Poll getPoll()
Topic
public void setPoll(Poll poll)
Topic
poll
- DOCUMENT_ME
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |