org.exoplatform.forum.webui.popup
Class UITopicForm
java.lang.Object
org.exoplatform.webui.core.UIComponent
org.exoplatform.webui.core.UIContainer
org.exoplatform.webui.form.UIForm
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
| 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 |
| 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_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
UITopicForm
public UITopicForm()
throws java.lang.Exception
- Throws:
java.lang.Exception
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.