org.exoplatform.forum.webui.popup
Class UIForumForm

java.lang.Object
  extended by org.exoplatform.webui.core.UIComponent
      extended by org.exoplatform.webui.core.UIContainer
          extended by org.exoplatform.webui.form.UIForm
              extended by org.exoplatform.forum.webui.popup.UIForumForm
All Implemented Interfaces:
UIPopupComponent, UISelector

public class UIForumForm
extends org.exoplatform.webui.form.UIForm
implements UIPopupComponent, UISelector

Created by The eXo Platform SARL Author : Hung Nguyen hung.nguyen@exoplatform.com Aus 01, 2007 2:48:18 PM


Nested Class Summary
static class UIForumForm.AddActionListener
           
static class UIForumForm.AddUserActionListener
           
static class UIForumForm.AddValuesUserActionListener
           
static class UIForumForm.CancelActionListener
           
static class UIForumForm.CloseActionListener
           
static class UIForumForm.SaveActionListener
           
static class UIForumForm.SelectTabActionListener
           
 
Field Summary
static java.lang.String FIELD_AUTOADDEMAILNOTIFY_CHECKBOX
           
static java.lang.String FIELD_CATEGORY_SELECTBOX
           
static java.lang.String FIELD_DESCRIPTION_TEXTAREA
           
static java.lang.String FIELD_FORUMORDER_INPUT
           
static java.lang.String FIELD_FORUMPERMISSION_FORM
           
static java.lang.String FIELD_FORUMSTATE_SELECTBOX
           
static java.lang.String FIELD_FORUMSTATUS_SELECTBOX
           
static java.lang.String FIELD_FORUMTITLE_INPUT
           
static java.lang.String FIELD_MODERATEPOST_CHECKBOX
           
static java.lang.String FIELD_MODERATETHREAD_CHECKBOX
           
static java.lang.String FIELD_MODERATOR_MULTIVALUE
           
static java.lang.String FIELD_MODERATOROPTION_FORM
           
static java.lang.String FIELD_NEWFORUM_FORM
           
static java.lang.String FIELD_NOTIFYWHENADDPOST_MULTIVALUE
           
static java.lang.String FIELD_NOTIFYWHENADDTOPIC_MULTIVALUE
           
static java.lang.String FIELD_POSTABLE_MULTIVALUE
           
static java.lang.String FIELD_TOPICABLE_MULTIVALUE
           
static java.lang.String FIELD_VIEWER_MULTIVALUE
           
 
Fields inherited from class org.exoplatform.webui.form.UIForm
ACTION, SUBCOMPONENT_ID
 
Fields inherited from class org.exoplatform.webui.core.UIComponent
config, OBJECTID, UICOMPONENT, uiparent
 
Constructor Summary
UIForumForm()
           
 
Method Summary
 void activate()
           
 void deActivate()
           
 void initForm()
           
 boolean isActionBar()
           
 boolean isMode()
           
 void setActionBar(boolean isActionBar)
           
 void setCategoryValue(java.lang.String categoryId, boolean isEditable)
           
 void setForumUpdate(boolean isForumUpdate)
           
 void setForumValue(Forum forum, boolean isUpdate)
           
 void setMode(boolean isMode)
           
 void updateSelect(java.lang.String selectField, java.lang.String value)
           
 
Methods inherited from class org.exoplatform.webui.form.UIForm
addUIComponentInput, addUIFormInput, addUIFormInput, begin, end, event, event, event, getActions, getLabel, getLabel, getSubmitAction, getUIComponentName, getUIFormCheckBoxInput, getUIFormDateTimeInput, getUIFormInputInfo, getUIFormSelectBox, getUIFormTextAreaInput, getUIInput, getUIStringInput, invokeGetBindingBean, invokeSetBindingBean, isMultipart, processRender, renderField, renderField, reset, setActions, setMultiPart, setSubmitAction, url
 
Methods inherited from class org.exoplatform.webui.core.UIContainer
addChild, addChild, findComponentById, findComponentOfType, findFirstComponentOfType, getChild, getChild, getChildById, getChildren, hasChildren, removeChild, removeChildById, renderChild, renderChild, renderChild, renderChildren, renderChildren, renderUIComponent, replaceChild, replaceChild, setChildren, setRenderedChild, setRenderedChild, setRenderedChildrenOfTypes, visit
 
Methods inherited from class org.exoplatform.webui.core.UIComponent
broadcast, createEvent, createUIComponent, createUIComponent, createUIComponent, event, getAncestorOfType, getApplicationComponent, getComponentConfig, getId, getName, getParent, getTemplate, getTemplateResourceResolver, isRendered, loadConfirmMesssage, processAction, processDecode, setComponentConfig, setComponentConfig, setId, setParent, setRendered, setRenderSibbling, url, url
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

FIELD_NEWFORUM_FORM

public static final java.lang.String FIELD_NEWFORUM_FORM
See Also:
Constant Field Values

FIELD_MODERATOROPTION_FORM

public static final java.lang.String FIELD_MODERATOROPTION_FORM
See Also:
Constant Field Values

FIELD_FORUMPERMISSION_FORM

public static final java.lang.String FIELD_FORUMPERMISSION_FORM
See Also:
Constant Field Values

FIELD_CATEGORY_SELECTBOX

public static final java.lang.String FIELD_CATEGORY_SELECTBOX
See Also:
Constant Field Values

FIELD_FORUMTITLE_INPUT

public static final java.lang.String FIELD_FORUMTITLE_INPUT
See Also:
Constant Field Values

FIELD_FORUMORDER_INPUT

public static final java.lang.String FIELD_FORUMORDER_INPUT
See Also:
Constant Field Values

FIELD_FORUMSTATUS_SELECTBOX

public static final java.lang.String FIELD_FORUMSTATUS_SELECTBOX
See Also:
Constant Field Values

FIELD_FORUMSTATE_SELECTBOX

public static final java.lang.String FIELD_FORUMSTATE_SELECTBOX
See Also:
Constant Field Values

FIELD_DESCRIPTION_TEXTAREA

public static final java.lang.String FIELD_DESCRIPTION_TEXTAREA
See Also:
Constant Field Values

FIELD_AUTOADDEMAILNOTIFY_CHECKBOX

public static final java.lang.String FIELD_AUTOADDEMAILNOTIFY_CHECKBOX
See Also:
Constant Field Values

FIELD_NOTIFYWHENADDTOPIC_MULTIVALUE

public static final java.lang.String FIELD_NOTIFYWHENADDTOPIC_MULTIVALUE
See Also:
Constant Field Values

FIELD_NOTIFYWHENADDPOST_MULTIVALUE

public static final java.lang.String FIELD_NOTIFYWHENADDPOST_MULTIVALUE
See Also:
Constant Field Values

FIELD_MODERATETHREAD_CHECKBOX

public static final java.lang.String FIELD_MODERATETHREAD_CHECKBOX
See Also:
Constant Field Values

FIELD_MODERATEPOST_CHECKBOX

public static final java.lang.String FIELD_MODERATEPOST_CHECKBOX
See Also:
Constant Field Values

FIELD_MODERATOR_MULTIVALUE

public static final java.lang.String FIELD_MODERATOR_MULTIVALUE
See Also:
Constant Field Values

FIELD_VIEWER_MULTIVALUE

public static final java.lang.String FIELD_VIEWER_MULTIVALUE
See Also:
Constant Field Values

FIELD_POSTABLE_MULTIVALUE

public static final java.lang.String FIELD_POSTABLE_MULTIVALUE
See Also:
Constant Field Values

FIELD_TOPICABLE_MULTIVALUE

public static final java.lang.String FIELD_TOPICABLE_MULTIVALUE
See Also:
Constant Field Values
Constructor Detail

UIForumForm

public UIForumForm()
            throws java.lang.Exception
Throws:
java.lang.Exception
Method Detail

isMode

public boolean isMode()

setMode

public void setMode(boolean isMode)

initForm

public void initForm()
              throws java.lang.Exception
Throws:
java.lang.Exception

activate

public void activate()
              throws java.lang.Exception
Specified by:
activate in interface UIPopupComponent
Throws:
java.lang.Exception

deActivate

public void deActivate()
                throws java.lang.Exception
Specified by:
deActivate in interface UIPopupComponent
Throws:
java.lang.Exception

setForumValue

public void setForumValue(Forum forum,
                          boolean isUpdate)
                   throws java.lang.Exception
Throws:
java.lang.Exception

setCategoryValue

public void setCategoryValue(java.lang.String categoryId,
                             boolean isEditable)
                      throws java.lang.Exception
Throws:
java.lang.Exception

setForumUpdate

public void setForumUpdate(boolean isForumUpdate)

isActionBar

public boolean isActionBar()

setActionBar

public void setActionBar(boolean isActionBar)

updateSelect

public void updateSelect(java.lang.String selectField,
                         java.lang.String value)
                  throws java.lang.Exception
Specified by:
updateSelect in interface UISelector
Throws:
java.lang.Exception


Copyright © 2011 eXo Platform SAS. All Rights Reserved.