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

Context - JBOSS Portal 2.6 API 英文版文档


org.jboss.portlet.forums
Class Context

java.lang.Object
  extended byorg.jboss.portlet.forums.Context

public class Context
extends java.lang.Object

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

Nested Class Summary
private  class Context.AttachmentsManager
          Object that stores binding to uploaded and stored as Temp Files attachments.
 
Field Summary
(package private)  boolean c_refresh
          DOCUMENT_ME
private  java.util.Map files
           
private  ForumsModule forumsModule
          DOCUMENT_ME
 boolean p_attach
          Scope : NewTopic/EditPost/Reply When it's true that means the button add attachment is pressed.
 boolean p_attach_box
          Scope : NewTopic/EditPost/Reply When it's true the user choosed to see the add attachment panel.
 boolean p_cancel
          DOCUMENT_ME
 boolean p_confirm
          DOCUMENT_ME
 java.util.List p_deleted_attachments
          DOCUMENT_ME
 int p_forum_id
          DOCUMENT_ME
 Message p_message
          DOCUMENT_ME
 int p_mode
          DOCUMENT_ME
 boolean p_notify
          DOCUMENT_ME
 Poll p_poll
          DOCUMENT_ME
 boolean p_poll_delete
          DOCUMENT_ME
 int p_post_id
          DOCUMENT_ME
 int p_post_parent_topic_id
          DOCUMENT_ME
 boolean p_posted_attach
          Scope : editing a post.
 Poster p_poster
          DOCUMENT_ME
 boolean p_preview
          DOCUMENT_ME
 java.util.List p_session_attachments
          DOCUMENT_ME
 boolean p_submit
          DOCUMENT_ME
 boolean p_topic_first_post
          DOCUMENT_ME
 int p_topic_id
          DOCUMENT_ME
 int p_topic_type
          DOCUMENT_ME
 java.util.Map p_updated_attachments
           
 int p_vote_option_id
          DOCUMENT_ME
 
Constructor Summary
Context()
          Creates a new Context object.
 
Method Summary
 Action action(JBossActionRequest req, JBossActionResponse resp)
          DOCUMENT_ME
 ForumsModule getForumsModule()
           
(package private)  int getNextFileIndex(JBossActionRequest req)
          provides session unique integer value
 void setForumsModule(ForumsModule forumsModule)
           
 void update(JBossActionRequest req, JBossActionResponse resp)
          DOCUMENT_ME
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

p_submit

public boolean p_submit
DOCUMENT_ME


p_confirm

public boolean p_confirm
DOCUMENT_ME


p_preview

public boolean p_preview
DOCUMENT_ME


p_attach

public boolean p_attach
Scope : NewTopic/EditPost/Reply When it's true that means the button add attachment is pressed.


p_attach_box

public boolean p_attach_box
Scope : NewTopic/EditPost/Reply When it's true the user choosed to see the add attachment panel.


p_posted_attach

public boolean p_posted_attach
Scope : editing a post. When it's true the user choosed to see the posted attachment.


p_mode

public int p_mode
DOCUMENT_ME


p_forum_id

public int p_forum_id
DOCUMENT_ME


p_topic_id

public int p_topic_id
DOCUMENT_ME


p_post_id

public int p_post_id
DOCUMENT_ME


p_post_parent_topic_id

public int p_post_parent_topic_id
DOCUMENT_ME


p_topic_type

public int p_topic_type
DOCUMENT_ME


p_cancel

public boolean p_cancel
DOCUMENT_ME


p_notify

public boolean p_notify
DOCUMENT_ME


p_vote_option_id

public int p_vote_option_id
DOCUMENT_ME


p_poll_delete

public boolean p_poll_delete
DOCUMENT_ME


p_topic_first_post

public boolean p_topic_first_post
DOCUMENT_ME


p_poll

public Poll p_poll
DOCUMENT_ME


p_message

public Message p_message
DOCUMENT_ME


p_poster

public Poster p_poster
DOCUMENT_ME


p_deleted_attachments

public java.util.List p_deleted_attachments
DOCUMENT_ME


p_session_attachments

public java.util.List p_session_attachments
DOCUMENT_ME


p_updated_attachments

public java.util.Map p_updated_attachments

c_refresh

boolean c_refresh
DOCUMENT_ME


forumsModule

private ForumsModule forumsModule
DOCUMENT_ME


files

private java.util.Map files
Constructor Detail

Context

public Context()
Creates a new Context object.

Method Detail

update

public void update(JBossActionRequest req,
                   JBossActionResponse resp)
DOCUMENT_ME

Parameters:
req - DOCUMENT_ME
resp - DOCUMENT_ME

action

public Action action(JBossActionRequest req,
                     JBossActionResponse resp)
DOCUMENT_ME

Parameters:
req - DOCUMENT_ME
resp - DOCUMENT_ME
Returns:
DOCUMENT_ME

getForumsModule

public ForumsModule getForumsModule()

setForumsModule

public void setForumsModule(ForumsModule forumsModule)

getNextFileIndex

int getNextFileIndex(JBossActionRequest req)
provides session unique integer value

Parameters:
req -
Returns: