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

ReplyAction - JBOSS Portal 2.6 API 英文版文档


org.jboss.portlet.forums.action
Class ReplyAction

java.lang.Object
  extended byorg.jboss.portlet.forums.action.Action
      extended byorg.jboss.portlet.forums.action.ForumAction
          extended byorg.jboss.portlet.forums.action.TopicAction
              extended byorg.jboss.portlet.forums.action.PostAction
                  extended byorg.jboss.portlet.forums.action.ReplyAction

public class ReplyAction
extends PostAction

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

Field Summary
private  java.util.List attachments
           
private  boolean firstPost
           
private  Message message
           
private  Post post
           
private  Poster poster
           
private  int postId
           
private  boolean quote
           
private  Topic topic
           
 
Fields inherited from class org.jboss.portlet.forums.action.ForumAction
INIT, module, REFRESH
 
Constructor Summary
ReplyAction(boolean quote, int postId, Message message, Poster poster)
          Creates a new ReplyAction object.
ReplyAction(int postId, Message message, Poster poster, java.util.List attachments)
          Creates a new ReplyAction object.
 
Method Summary
 java.util.List getAttachments()
          DOCUMENT_ME
 Forum getForum()
          DOCUMENT_ME
 Message getMessage()
          DOCUMENT_ME
 Post getPost()
          DOCUMENT_ME
 Poster getPoster()
          DOCUMENT_ME
 Topic getTopic()
          DOCUMENT_ME
 void init()
          DOCUMENT_ME
 boolean isFirstPost()
          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

quote

private boolean quote

postId

private int postId

message

private Message message

poster

private Poster poster

attachments

private java.util.List attachments

post

private Post post

topic

private Topic topic

firstPost

private boolean firstPost
Constructor Detail

ReplyAction

public ReplyAction(int postId,
                   Message message,
                   Poster poster,
                   java.util.List attachments)
Creates a new ReplyAction object.

Parameters:
postId - DOCUMENT_ME
message - DOCUMENT_ME
poster - DOCUMENT_ME
attachments - DOCUMENT_ME

ReplyAction

public ReplyAction(boolean quote,
                   int postId,
                   Message message,
                   Poster poster)
Creates a new ReplyAction object.

Parameters:
quote - DOCUMENT_ME
postId - DOCUMENT_ME
message - DOCUMENT_ME
poster - DOCUMENT_ME
Method Detail

getPost

public Post getPost()
DOCUMENT_ME

Specified by:
getPost in class PostAction
Returns:
DOCUMENT_ME

getTopic

public Topic getTopic()
DOCUMENT_ME

Specified by:
getTopic in class TopicAction
Returns:
DOCUMENT_ME

getForum

public Forum getForum()
DOCUMENT_ME

Specified by:
getForum in class ForumAction
Returns:
DOCUMENT_ME

getPoster

public Poster getPoster()
DOCUMENT_ME

Specified by:
getPoster 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

isFirstPost

public boolean isFirstPost()
DOCUMENT_ME

Specified by:
isFirstPost in class PostAction
Returns:
DOCUMENT_ME