org.exoplatform.forum.webui.popup
Class UITopicForm

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.UITopicForm
All Implemented Interfaces:
UIPopupComponent, UISelector

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

Created by The eXo Platform SARL Author : Vu Duy Tu tu.duy@exoplatform.com Aug 22, 2007


Nested Class Summary
static class UITopicForm.AddActionListener
           
static class UITopicForm.AddTypeTopicActionListener
           
static class UITopicForm.AddUserActionListener
           
static class UITopicForm.AddValuesUserActionListener
           
static class UITopicForm.AttachmentActionListener
           
static class UITopicForm.CancelActionListener
           
static class UITopicForm.CloseActionListener
           
static class UITopicForm.PreviewThreadActionListener
           
static class UITopicForm.RemoveAttachmentActionListener
           
static class UITopicForm.SelectIconActionListener
           
static class UITopicForm.SelectTabActionListener
           
static class UITopicForm.SubmitThreadActionListener
           
 
Field Summary
static java.lang.String ACT_REMOVE
           
static java.lang.String FIELD_APPROVED_CHECKBOX
           
static java.lang.String FIELD_ATTACHMENTS
           
static java.lang.String FIELD_CANPOST_INPUT
           
static java.lang.String FIELD_CANVIEW_INPUT
           
static java.lang.String FIELD_EDITREASON_INPUT
           
static java.lang.String FIELD_MESSAGE_TEXTAREA
           
static java.lang.String FIELD_MESSAGECONTENT
           
static java.lang.String FIELD_MODERATEPOST_CHECKBOX
           
static java.lang.String FIELD_NOTIFYWHENADDPOST_CHECKBOX
           
static java.lang.String FIELD_STICKY_CHECKBOX
           
static java.lang.String FIELD_THREADCONTEN_TAB
           
static java.lang.String FIELD_THREADICON_TAB
           
static java.lang.String FIELD_THREADOPTION_TAB
           
static java.lang.String FIELD_THREADPERMISSION_TAB
           
static java.lang.String FIELD_TOPICSTATE_SELECTBOX
           
static java.lang.String FIELD_TOPICSTATUS_SELECTBOX
           
static java.lang.String FIELD_TOPICTITLE_INPUT
           
static java.lang.String FIELD_TOPICTYPE_SELECTBOX
           
 
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
UITopicForm()
           
 
Method Summary
 void activate()
           
 void addNewTopicType()
           
 void addToUploadFileList(ForumAttachment attachfile)
           
 void deActivate()
           
 java.util.List<ForumAttachment> getAttachFileList()
           
 java.lang.String getLink()
           
 java.util.List<UIForumInputWithActions.ActionData> getUploadFileList()
           
 boolean isMod()
           
 void refreshUploadFileList()
           
 void removeFromUploadFileList(ForumAttachment attachfile)
           
 void removeUploadFileList()
           
 void setIsDetail(boolean isDetail)
           
 void setLink(java.lang.String link)
           
 void setMod(boolean isMod)
           
 void setTopicIds(java.lang.String categoryId, java.lang.String forumId, Forum forum, long userRole)
           
 void setUpdateTopic(Topic topic, boolean isUpdate)
           
 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_THREADCONTEN_TAB

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

FIELD_THREADICON_TAB

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

FIELD_THREADOPTION_TAB

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

FIELD_THREADPERMISSION_TAB

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

FIELD_TOPICTITLE_INPUT

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

FIELD_EDITREASON_INPUT

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

FIELD_MESSAGE_TEXTAREA

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

FIELD_MESSAGECONTENT

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

FIELD_TOPICSTATUS_SELECTBOX

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

FIELD_TOPICTYPE_SELECTBOX

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

FIELD_TOPICSTATE_SELECTBOX

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

FIELD_APPROVED_CHECKBOX

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

FIELD_MODERATEPOST_CHECKBOX

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

FIELD_NOTIFYWHENADDPOST_CHECKBOX

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

FIELD_STICKY_CHECKBOX

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

FIELD_CANVIEW_INPUT

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

FIELD_CANPOST_INPUT

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

ACT_REMOVE

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

FIELD_ATTACHMENTS

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

UITopicForm

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

getLink

public java.lang.String getLink()

setLink

public void setLink(java.lang.String link)

setIsDetail

public void setIsDetail(boolean isDetail)

setTopicIds

public void setTopicIds(java.lang.String categoryId,
                        java.lang.String forumId,
                        Forum forum,
                        long userRole)
                 throws java.lang.Exception
Throws:
java.lang.Exception

addNewTopicType

public void addNewTopicType()
                     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

getUploadFileList

public java.util.List<UIForumInputWithActions.ActionData> getUploadFileList()

refreshUploadFileList

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

addToUploadFileList

public void addToUploadFileList(ForumAttachment attachfile)

removeFromUploadFileList

public void removeFromUploadFileList(ForumAttachment attachfile)

removeUploadFileList

public void removeUploadFileList()

getAttachFileList

public java.util.List<ForumAttachment> getAttachFileList()

setUpdateTopic

public void setUpdateTopic(Topic topic,
                           boolean isUpdate)
                    throws java.lang.Exception
Throws:
java.lang.Exception

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

isMod

public boolean isMod()

setMod

public void setMod(boolean isMod)


Copyright © 2010 eXo Platform SAS. All Rights Reserved.