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

NewTopicAction - JBOSS Portal 2.6 API 英文版文档


org.jboss.portlet.forums.action
Class NewTopicAction

java.lang.Object
  extended byorg.jboss.portlet.forums.action.Action
      extended byorg.jboss.portlet.forums.action.ForumAction
          extended byorg.jboss.portlet.forums.action.NewTopicAction

public class NewTopicAction
extends ForumAction

Version:
$Revision: 5448 $
Author:
Julien Viet, Thomas Heute

Field Summary
private  java.util.List attachments
           
private  Forum forum
           
private  int forumId
           
private  Message message
           
private  Poll poll
           
private  Poster poster
           
 
Fields inherited from class org.jboss.portlet.forums.action.ForumAction
INIT, module, REFRESH
 
Constructor Summary
NewTopicAction(int forumId)
          Creates a new NewTopicAction object.
NewTopicAction(Poster poster, Message message, int forumId, java.util.List attachments, Poll poll)
          Creates a new NewTopicAction object.
 
Method Summary
 java.util.List getAttachments()
          DOCUMENT_ME
 Forum getForum()
          DOCUMENT_ME
 Message getMessage()
          DOCUMENT_ME
 Poll getPoll()
          DOCUMENT_ME
 Poster getPoster()
          DOCUMENT_ME
 void init()
          DOCUMENT_ME
 
Methods inherited from class org.jboss.portlet.forums.action.ForumAction
getMode, setModule
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

forumId

private int forumId

poster

private Poster poster

message

private Message message

poll

private Poll poll

attachments

private java.util.List attachments

forum

private Forum forum
Constructor Detail

NewTopicAction

public NewTopicAction(Poster poster,
                      Message message,
                      int forumId,
                      java.util.List attachments,
                      Poll poll)
Creates a new NewTopicAction object.

Parameters:
poster - DOCUMENT_ME
message - DOCUMENT_ME
forumId - DOCUMENT_ME
attachments - DOCUMENT_ME
poll - DOCUMENT_ME

NewTopicAction

public NewTopicAction(int forumId)
Creates a new NewTopicAction object.

Parameters:
forumId - DOCUMENT_ME
Method Detail

getPoster

public Poster getPoster()
DOCUMENT_ME

Specified by:
getPoster in class ForumAction
Returns:
DOCUMENT_ME

getForum

public Forum getForum()
DOCUMENT_ME

Specified by:
getForum in class ForumAction
Returns:
DOCUMENT_ME

getMessage

public Message getMessage()
DOCUMENT_ME

Specified by:
getMessage in class ForumAction
Returns:
DOCUMENT_ME

getAttachments

public java.util.List getAttachments()
DOCUMENT_ME

Specified by:
getAttachments in class ForumAction
Returns:
DOCUMENT_ME

init

public void init()
DOCUMENT_ME

Specified by:
init in class ForumAction

getPoll

public Poll getPoll()
DOCUMENT_ME

Returns:
DOCUMENT_ME