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

ForumImpl - JBOSS Portal 2.6 API 英文版文档


org.jboss.portlet.forums.impl
Class ForumImpl

java.lang.Object
  extended byorg.jboss.portlet.forums.impl.ForumImpl
All Implemented Interfaces:
Forum, java.io.Serializable

public class ForumImpl
extends java.lang.Object
implements java.io.Serializable, Forum

Category of forums.

Version:
$Revision: 5448 $
Author:
Julien Viet , Thomas Heute , Boleslaw Dawidowicz
See Also:
Serialized Form

Field Summary
private  Category category
           
private  java.lang.String description
           
private  java.lang.Integer id
           
private  java.lang.String name
           
private  int order
           
private  int status
           
private  java.util.List topics
           
private  java.util.Collection watch
           
private  java.util.List watches
           
 
Constructor Summary
ForumImpl()
          Creates a new ForumImpl object.
 
Method Summary
 void addPostSize()
          DOCUMENT_ME
 void addTopic(Topic value)
          DOCUMENT_ME
 void addTopicSize()
          DOCUMENT_ME
 Category getCategory()
          DOCUMENT_ME
 java.lang.String getDescription()
          DOCUMENT_ME
 java.util.Collection getForumWatch()
           
 java.lang.Integer getId()
          DOCUMENT_ME
 Post getLastPost()
          _@_hibernate.many-to-one _cascade_="all" _column_="jbp_last_post_id" _class_="org.jboss.portlet.forums.impl.PostImpl"
 java.lang.String getName()
          DOCUMENT_ME
 int getOrder()
          DOCUMENT_ME
 int getPostCount()
          DOCUMENT_ME
 boolean getPruneEnable()
          _@___ hibernate.property column="jbp_prune_enable" unique="false" update="true"
 int getPruneNext()
          _@___ hibernate.property column="jbp_prune_next" unique="false" update="true"
 int getStatus()
          DOCUMENT_ME
 int getTopicCount()
          DOCUMENT_ME
 java.util.List getTopics()
          DOCUMENT_ME
 java.util.List getWatches()
           
 void setCategory(Category category)
          DOCUMENT_ME
 void setDescription(java.lang.String description)
          DOCUMENT_ME
 void setForumWatch(java.util.Collection watch)
          DOCUMENT_ME
private  void setId(java.lang.Integer id)
           
 void setLastPost(Post lastPost)
          DOCUMENT_ME
 void setName(java.lang.String name)
          DOCUMENT_ME
 void setOrder(int order)
          DOCUMENT_ME
 void setPostCount(int size)
          DOCUMENT_ME
 void setPruneEnable(boolean enable)
          DOCUMENT_ME
 void setPruneNext(int next)
          DOCUMENT_ME
 void setStatus(int status)
          DOCUMENT_ME
 void setTopicCount(int size)
          DOCUMENT_ME
 void setTopics(java.util.List value)
          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

category

private Category category

description

private java.lang.String description

id

private java.lang.Integer id

name

private java.lang.String name

order

private int order

status

private int status

topics

private java.util.List topics

watch

private java.util.Collection watch

watches

private java.util.List watches
Constructor Detail

ForumImpl

public ForumImpl()
Creates a new ForumImpl object.

Method Detail

getCategory

public Category getCategory()
Description copied from interface: Forum
DOCUMENT_ME

Specified by:
getCategory in interface Forum
Returns:
DOCUMENT_ME

setCategory

public void setCategory(Category category)
DOCUMENT_ME

Specified by:
setCategory in interface Forum
Parameters:
category - DOCUMENT_ME

getDescription

public java.lang.String getDescription()
Description copied from interface: Forum
DOCUMENT_ME

Specified by:
getDescription in interface Forum
Returns:
DOCUMENT_ME

setDescription

public void setDescription(java.lang.String description)
DOCUMENT_ME

Specified by:
setDescription in interface Forum
Parameters:
description - DOCUMENT_ME

getId

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

Specified by:
getId in interface Forum
Returns:
DOCUMENT_ME

setId

private void setId(java.lang.Integer id)

getLastPost

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

Specified by:
getLastPost in interface Forum
Returns:
DOCUMENT_ME

setLastPost

public void setLastPost(Post lastPost)
DOCUMENT_ME

Specified by:
setLastPost in interface Forum
Parameters:
lastPost - DOCUMENT_ME

getName

public java.lang.String getName()
Description copied from interface: Forum
DOCUMENT_ME

Specified by:
getName in interface Forum
Returns:
DOCUMENT_ME

setName

public void setName(java.lang.String name)
DOCUMENT_ME

Specified by:
setName in interface Forum
Parameters:
name - DOCUMENT_ME

getOrder

public int getOrder()
Description copied from interface: Forum
DOCUMENT_ME

Specified by:
getOrder in interface Forum
Returns:
DOCUMENT_ME

setOrder

public void setOrder(int order)
DOCUMENT_ME

Specified by:
setOrder in interface Forum
Parameters:
order - DOCUMENT_ME

getTopicCount

public int getTopicCount()
Description copied from interface: Forum
DOCUMENT_ME

Specified by:
getTopicCount in interface Forum
Returns:
DOCUMENT_ME

setTopicCount

public void setTopicCount(int size)
DOCUMENT_ME

Specified by:
setTopicCount in interface Forum
Parameters:
size - DOCUMENT_ME

addTopicSize

public void addTopicSize()
DOCUMENT_ME

Specified by:
addTopicSize in interface Forum

getPostCount

public int getPostCount()
Description copied from interface: Forum
DOCUMENT_ME

Specified by:
getPostCount in interface Forum
Returns:
DOCUMENT_ME

setPostCount

public void setPostCount(int size)
DOCUMENT_ME

Specified by:
setPostCount in interface Forum
Parameters:
size - DOCUMENT_ME

addPostSize

public void addPostSize()
DOCUMENT_ME

Specified by:
addPostSize in interface Forum

getPruneEnable

public boolean getPruneEnable()
_@___ hibernate.property column="jbp_prune_enable" unique="false" update="true"

Specified by:
getPruneEnable in interface Forum
Returns:
DOCUMENT_ME

setPruneEnable

public void setPruneEnable(boolean enable)
DOCUMENT_ME

Specified by:
setPruneEnable in interface Forum
Parameters:
enable - DOCUMENT_ME

getPruneNext

public int getPruneNext()
_@___ hibernate.property column="jbp_prune_next" unique="false" update="true"

Specified by:
getPruneNext in interface Forum
Returns:
DOCUMENT_ME

setPruneNext

public void setPruneNext(int next)
DOCUMENT_ME

Specified by:
setPruneNext in interface Forum
Parameters:
next - DOCUMENT_ME

getStatus

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

Specified by:
getStatus in interface Forum
Returns:
DOCUMENT_ME

setStatus

public void setStatus(int status)
DOCUMENT_ME

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

getTopics

public java.util.List getTopics()
Description copied from interface: Forum
DOCUMENT_ME

Specified by:
getTopics in interface Forum
Returns:
DOCUMENT_ME

setTopics

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

Specified by:
setTopics in interface Forum
Parameters:
value - DOCUMENT_ME

addTopic

public void addTopic(Topic value)
DOCUMENT_ME

Specified by:
addTopic in interface Forum
Parameters:
value - DOCUMENT_ME

getForumWatch

public java.util.Collection getForumWatch()

setForumWatch

public void setForumWatch(java.util.Collection watch)
DOCUMENT_ME

Parameters:
watch - DOCUMENT_ME

getWatches

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

setWatches

public void setWatches(java.util.List watches)