站内搜索: 请输入搜索关键词
当前页面: 在线文档首页 > JBOSS Portal 2.2 API 英文版文档

TopicImpl - JBOSS Portal 2.2 API 英文版文档


org.jboss.portlet.forums.impl
Class TopicImpl

java.lang.Object
  extended byorg.jboss.portlet.forums.impl.TopicImpl
All Implemented Interfaces:
java.lang.Comparable, java.io.Serializable, Topic

public class TopicImpl
extends java.lang.Object
implements java.io.Serializable, java.lang.Comparable, Topic

See Also:
Serialized Form

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
 

Constructor Detail

TopicImpl

public TopicImpl()
Creates a new TopicImpl object.

Method Detail

compareTo

public int compareTo(java.lang.Object comp)
Specified by:
compareTo in interface java.lang.Comparable

getId

public java.lang.Integer getId()
Description copied from interface: Topic
DOCUMENT_ME

Specified by:
getId in interface Topic
Returns:
DOCUMENT_ME

setId

public void setId(java.lang.Integer id)
DOCUMENT_ME

Parameters:
id - DOCUMENT_ME

getPosts

public java.util.List getPosts()
Description copied from interface: Topic
DOCUMENT_ME

Specified by:
getPosts in interface Topic
Returns:
DOCUMENT_ME

setPosts

public void setPosts(java.util.List value)
DOCUMENT_ME

Specified by:
setPosts in interface Topic
Parameters:
value - DOCUMENT_ME

addPost

public void addPost(Post post)
DOCUMENT_ME

Specified by:
addPost in interface Topic
Parameters:
post - DOCUMENT_ME
Returns:
DOCUMENT_ME

getForum

public Forum getForum()
Description copied from interface: Topic
DOCUMENT_ME

Specified by:
getForum in interface Topic
Returns:
DOCUMENT_ME

setForum

public void setForum(Forum forum)
DOCUMENT_ME

Specified by:
setForum in interface Topic
Parameters:
forum - DOCUMENT_ME

getViewCount

public int getViewCount()
Description copied from interface: Topic
DOCUMENT_ME

Specified by:
getViewCount in interface Topic
Returns:
DOCUMENT_ME

setViewCount

public void setViewCount(int viewCount)
DOCUMENT_ME

Specified by:
setViewCount in interface Topic
Parameters:
viewCount - DOCUMENT_ME

getReplies

public int getReplies()
Description copied from interface: Topic
DOCUMENT_ME

Specified by:
getReplies in interface Topic
Returns:
DOCUMENT_ME

setReplies

public void setReplies(int replies)
DOCUMENT_ME

Specified by:
setReplies in interface Topic
Parameters:
replies - DOCUMENT_ME

getFirstPost

public Post getFirstPost()
_@_hibernate.many-to-one _column_="jbp_first_post_id" _class_="org.jboss.portlet.forums.impl.PostImpl"

Specified by:
getFirstPost in interface Topic
Returns:
DOCUMENT_ME

setFirstPost

public void setFirstPost(Post post)
DOCUMENT_ME

Specified by:
setFirstPost in interface Topic
Parameters:
post - DOCUMENT_ME

getLastPost

public Post getLastPost()
_@_hibernate.many-to-one _column_="jbp_last_post_id" _class_="org.jboss.portlet.forums.impl.PostImpl"

Specified by:
getLastPost in interface Topic
Returns:
DOCUMENT_ME

setLastPost

public void setLastPost(Post post)
DOCUMENT_ME

Specified by:
setLastPost in interface Topic
Parameters:
post - DOCUMENT_ME

getLastPostDate

public java.util.Date getLastPostDate()
Description copied from interface: Topic
DOCUMENT_ME

Specified by:
getLastPostDate in interface Topic
Returns:
DOCUMENT_ME

setLastPostDate

public void setLastPostDate(java.util.Date lastPostDate)
DOCUMENT_ME

Specified by:
setLastPostDate in interface Topic
Parameters:
lastPostDate - DOCUMENT_ME

getPoster

public Poster getPoster()
Description copied from interface: Topic
DOCUMENT_ME

Specified by:
getPoster in interface Topic
Returns:
DOCUMENT_ME

setPoster

public void setPoster(Poster poster)
DOCUMENT_ME

Specified by:
setPoster in interface Topic
Parameters:
poster - DOCUMENT_ME

getType

public int getType()
Description copied from interface: Topic
DOCUMENT_ME

Specified by:
getType in interface Topic
Returns:
DOCUMENT_ME

setType

public void setType(int type)
DOCUMENT_ME

Specified by:
setType in interface Topic
Parameters:
type - DOCUMENT_ME

getStatus

public int getStatus()
Description copied from interface: Topic
DOCUMENT_ME

Specified by:
getStatus in interface Topic
Returns:
DOCUMENT_ME

setStatus

public void setStatus(int status)
DOCUMENT_ME

Specified by:
setStatus in interface Topic
Parameters:
status - DOCUMENT_ME

getSubject

public java.lang.String getSubject()
Description copied from interface: Topic
DOCUMENT_ME

Specified by:
getSubject in interface Topic
Returns:
DOCUMENT_ME

setSubject

public void setSubject(java.lang.String subject)
DOCUMENT_ME

Specified by:
setSubject in interface Topic
Parameters:
subject - DOCUMENT_ME

getWatches

public java.util.List getWatches()
Specified by:
getWatches in interface Topic
Returns:

setWatches

public void setWatches(java.util.List watches)

getPoll

public Poll getPoll()
Description copied from interface: Topic
DOCUMENT_ME

Specified by:
getPoll in interface Topic
Returns:
DOCUMENT_ME

setPoll

public void setPoll(Poll poll)
Description copied from interface: Topic
DOCUMENT_ME

Specified by:
setPoll in interface Topic
Parameters:
poll - DOCUMENT_ME