|
Jive Forums API (5.5.8) Developer Javadocs | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.opensymphony.xwork.ActionSupport
com.jivesoftware.base.action.JiveActionSupport
com.jivesoftware.forum.action.ForumActionSupport
com.jivesoftware.forum.action.ForumAction
com.jivesoftware.forum.action.QuestionFilterForumAction
public class QuestionFilterForumAction
| Nested Class Summary | |
|---|---|
class |
QuestionFilterForumAction.QuestionIterator
|
| Field Summary | |
|---|---|
static java.lang.String |
ALL
|
static java.lang.String |
ANSWERED_QUESTIONS
|
static java.lang.String |
FILTER_KEY
|
static java.lang.String |
OPEN_QUESTIONS
|
| Fields inherited from class com.jivesoftware.forum.action.ForumActionSupport |
|---|
CANCEL, DISABLED, FATAL, NOTFOUND, SESSION_REFERRER_KEY, UNAUTHORIZED |
| Fields inherited from class com.jivesoftware.base.action.JiveActionSupport |
|---|
pageUser, request, response |
| Fields inherited from class com.opensymphony.xwork.ActionSupport |
|---|
LOG |
| Fields inherited from interface com.opensymphony.xwork.Action |
|---|
ERROR, INPUT, LOGIN, NONE, SUCCESS |
| Constructor Summary | |
|---|---|
QuestionFilterForumAction()
|
|
| Method Summary | |
|---|---|
java.lang.String |
execute()
Loads the specified forum. |
java.lang.String |
getFilter()
|
QuestionManager |
getQuestionManager()
|
java.util.Iterator |
getThreads()
Returns a list of threads on the current page in this forum. |
int |
getTotalItemCount()
Returns the total number of threads in the forum. |
void |
setFilter(java.lang.String filter)
|
void |
setSession(java.util.Map session)
|
| Methods inherited from class com.jivesoftware.forum.action.ForumAction |
|---|
getAnnouncements, getEntityDescriptor, getForum, getForumID, getMessageResultFilter, getResultFilter, getStart, getThreadMode, initFields, loadJiveObjects, loadObjects, setForum, setForumID, setMessageResultFilter, setStart |
| Methods inherited from class com.jivesoftware.forum.action.ForumActionSupport |
|---|
getCanAttach, getCanCreateMessage, getCanCreatePoll, getCanCreatePoll, getCanCreateThread, getCanCreateThread, getCanEdit, getCanEditAttach, getCanEditPoll, getCanEditPoll, getCanEditProfile, getCanEditTags, getCanPostAnnounce, getCanPostAnnounce, getCanRead, getCanRead, getForumFactory, getPageUser, getReadStatus, getSkinProperty, getThemeName, isAdmin, isAdmin, isAuthor, isAuthor, isMessageModerationOn, isModerator, isModerator, isResourceInTheme, isSystemAdmin, isThreadModerationOn, setForumFactory, setUser |
| Methods inherited from class com.jivesoftware.base.action.JiveActionSupport |
|---|
getAuthToken, getGuestProperty, getJiveProperty, getLocales, getPageURL, getSession, getText, getText, getTimeZone, getTimeZones, isFailedLookup, isGuest, setAuthToken, setGuestProperty, setLoginAttributes, setPageUser, setServletRequest, setServletResponse |
| 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, 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 |
| Field Detail |
|---|
public static final java.lang.String FILTER_KEY
public static final java.lang.String ALL
public static final java.lang.String OPEN_QUESTIONS
public static final java.lang.String ANSWERED_QUESTIONS
| Constructor Detail |
|---|
public QuestionFilterForumAction()
| Method Detail |
|---|
public QuestionManager getQuestionManager()
public java.lang.String getFilter()
public void setFilter(java.lang.String filter)
public int getTotalItemCount()
ForumActionPageable interface.
getTotalItemCount in interface PageablegetTotalItemCount in class ForumActionpublic java.util.Iterator getThreads()
ForumAction
getThreads in class ForumActionpublic void setSession(java.util.Map session)
setSession in interface com.opensymphony.webwork.interceptor.SessionAware
public java.lang.String execute()
throws java.lang.Exception
ForumActionAction.SUCCESS if the forum was loaded successfully.ForumActionSupport.UNAUTHORIZED if the user doesn't have read access to the forum.Action.ERROR if the specified forum was not found or if an error occurred while
loading the forum.
execute in interface com.opensymphony.xwork.Actionexecute in class ForumActionAction.SUCCESS if the forum was loaded successfully, ForumActionSupport.UNAUTHORIZED or
Action.ERROR otherwise.
java.lang.Exception
|
Jive Forums Project Page | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||