com.jivesoftware.forum.everywhere.action
Class CommunityEverywhereAction
java.lang.Object
com.opensymphony.xwork.ActionSupport
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
Fields inherited from class com.opensymphony.xwork.ActionSupport |
LOG |
Fields inherited from interface com.opensymphony.xwork.Action |
ERROR, INPUT, LOGIN, NONE, SUCCESS |
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 |
CommunityEverywhereAction
public CommunityEverywhereAction()
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()
Copyright © 1999-2006 Jive Software.