Jive Forums API (5.5.20.2-oracle) Developer Javadocs

com.jivesoftware.forum.everywhere.action
Class CommunityEverywhereAction

java.lang.Object
  extended by com.opensymphony.xwork.ActionSupport
      extended by com.jivesoftware.forum.everywhere.action.CommunityEverywhereAction
All Implemented Interfaces:
UserAware, ForumFactoryAware, com.opensymphony.webwork.interceptor.ServletRequestAware, com.opensymphony.webwork.interceptor.ServletResponseAware, com.opensymphony.xwork.Action, com.opensymphony.xwork.LocaleProvider, com.opensymphony.xwork.TextProvider, com.opensymphony.xwork.Validateable, com.opensymphony.xwork.ValidationAware, com.uwyn.rife.continuations.ContinuableObject, java.io.Serializable, java.lang.Cloneable

public class CommunityEverywhereAction
extends com.opensymphony.xwork.ActionSupport
implements ForumFactoryAware, UserAware, com.opensymphony.webwork.interceptor.ServletRequestAware, com.opensymphony.webwork.interceptor.ServletResponseAware

An action that will redirect the user to the appropriate thread based on the parameters specified. If the appropriate thread does not exist, a new thread will be created and the user will be redirected.

See Also:
Serialized Form

Field Summary
 
Fields inherited from class com.opensymphony.xwork.ActionSupport
LOG
 
Fields inherited from interface com.opensymphony.xwork.Action
ERROR, INPUT, LOGIN, NONE, SUCCESS
 
Constructor Summary
CommunityEverywhereAction()
           
 
Method Summary
 java.lang.String execute()
           
 java.lang.String getComment()
           
 java.lang.String getDescription()
           
 java.lang.String getEmail()
           
 long getForumID()
           
 java.lang.String getKey()
           
 java.lang.String getName()
           
 java.lang.String getPassword()
           
 java.lang.String getRefererURL()
           
 ForumThread getThread()
           
 long getThreadID()
           
 java.lang.String getTitle()
           
 java.lang.String getUsername()
           
 boolean isLogin()
           
 boolean isPost()
           
 void setComment(java.lang.String comment)
           
 void setDescription(java.lang.String description)
           
 void setEmail(java.lang.String email)
           
 void setForumFactory(ForumFactory forumFactory)
          Provides the action an instance of ForumFactory
 void setForumID(long forumID)
           
 void setKey(java.lang.String key)
           
 void setLogin(boolean login)
           
 void setName(java.lang.String name)
           
 void setPassword(java.lang.String password)
           
 void setPost(boolean post)
           
 void setRefererURL(java.lang.String refererURL)
           
 void setServletRequest(javax.servlet.http.HttpServletRequest request)
           
 void setServletResponse(javax.servlet.http.HttpServletResponse response)
           
 void setThreadID(long threadID)
           
 void setTitle(java.lang.String title)
           
 void setUser(User user)
           
 void setUsername(java.lang.String username)
           
 
Methods inherited from class com.opensymphony.xwork.ActionSupport
addActionError, addActionMessage, addFieldError, clearErrorsAndMessages, clone, doDefault, doInput, getActionErrors, getActionMessages, getErrorMessages, getErrors, getFieldErrors, getLocale, getText, getText, getText, getText, getText, getText, getText, getText, getText, getTexts, getTexts, hasActionErrors, hasActionMessages, hasErrors, hasFieldErrors, hasKey, pause, setActionErrors, setActionMessages, setFieldErrors, validate
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CommunityEverywhereAction

public CommunityEverywhereAction()
Method Detail

setForumFactory

public void setForumFactory(ForumFactory forumFactory)
Description copied from interface: ForumFactoryAware
Provides the action an instance of ForumFactory

Specified by:
setForumFactory in interface ForumFactoryAware
Parameters:
forumFactory - an instance of ForumFactory

setUser

public void setUser(User user)
Specified by:
setUser in interface UserAware

setServletRequest

public void setServletRequest(javax.servlet.http.HttpServletRequest request)
Specified by:
setServletRequest in interface com.opensymphony.webwork.interceptor.ServletRequestAware

setServletResponse

public void setServletResponse(javax.servlet.http.HttpServletResponse response)
Specified by:
setServletResponse in interface com.opensymphony.webwork.interceptor.ServletResponseAware

execute

public java.lang.String execute()
                         throws java.lang.Exception
Specified by:
execute in interface com.opensymphony.xwork.Action
Overrides:
execute in class com.opensymphony.xwork.ActionSupport
Throws:
java.lang.Exception

getThreadID

public long getThreadID()

setThreadID

public void setThreadID(long threadID)

getKey

public java.lang.String getKey()

setKey

public void setKey(java.lang.String key)

getRefererURL

public java.lang.String getRefererURL()

setRefererURL

public void setRefererURL(java.lang.String refererURL)

getForumID

public long getForumID()

setForumID

public void setForumID(long forumID)

isPost

public boolean isPost()

setPost

public void setPost(boolean post)

getTitle

public java.lang.String getTitle()

setTitle

public void setTitle(java.lang.String title)

getDescription

public java.lang.String getDescription()

setDescription

public void setDescription(java.lang.String description)

getName

public java.lang.String getName()

setName

public void setName(java.lang.String name)

getEmail

public java.lang.String getEmail()

setEmail

public void setEmail(java.lang.String email)

getComment

public java.lang.String getComment()

setComment

public void setComment(java.lang.String comment)

isLogin

public boolean isLogin()

setLogin

public void setLogin(boolean login)

getUsername

public java.lang.String getUsername()

setUsername

public void setUsername(java.lang.String username)

getPassword

public java.lang.String getPassword()

setPassword

public void setPassword(java.lang.String password)

getThread

public ForumThread getThread()

Jive Forums Project Page

Copyright © 1999-2006 Jive Software.