org.exoplatform.forum.webui.popup
Class UIPostForm

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.UIPostForm
All Implemented Interfaces:
UIPopupComponent

public class UIPostForm
extends org.exoplatform.webui.form.UIForm
implements UIPopupComponent

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 UIPostForm.AttachmentActionListener
           
static class UIPostForm.CancelActionListener
           
static class UIPostForm.PreviewPostActionListener
           
static class UIPostForm.RemoveAttachmentActionListener
           
static class UIPostForm.SelectIconActionListener
           
static class UIPostForm.SelectTabActionListener
           
static class UIPostForm.SubmitPostActionListener
           
 
Field Summary
static java.lang.String ACT_REMOVE
           
static java.lang.String FIELD_ATTACHMENTS
           
static java.lang.String FIELD_EDITREASON_INPUT
           
static java.lang.String FIELD_FROM_INPUT
           
static java.lang.String FIELD_LABEL_QUOTE
           
static java.lang.String FIELD_MESSAGECONTENT
           
static java.lang.String FIELD_ORIGINALLY
           
static java.lang.String FIELD_POSTTITLE_INPUT
           
static java.lang.String FIELD_THREADCONTEN_TAB
           
static java.lang.String FIELD_THREADICON_TAB
           
 
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
UIPostForm()
           
 
Method Summary
 void activate()
           
 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 setLink(java.lang.String link)
           
 void setMod(boolean isMod)
           
 void setPostIds(java.lang.String categoryId, java.lang.String forumId, java.lang.String topicId, Topic topic)
           
 void updatePost(java.lang.String postId, boolean isQuote, boolean isPP, Post post)
           
 
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_POSTTITLE_INPUT

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

FIELD_EDITREASON_INPUT

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

FIELD_LABEL_QUOTE

public static final java.lang.String FIELD_LABEL_QUOTE
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

FIELD_FROM_INPUT

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

FIELD_MESSAGECONTENT

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

FIELD_ORIGINALLY

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

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
Constructor Detail

UIPostForm

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

getLink

public java.lang.String getLink()

setLink

public void setLink(java.lang.String link)

setPostIds

public void setPostIds(java.lang.String categoryId,
                       java.lang.String forumId,
                       java.lang.String topicId,
                       Topic topic)

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()

updatePost

public void updatePost(java.lang.String postId,
                       boolean isQuote,
                       boolean isPP,
                       Post post)
                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

isMod

public boolean isMod()

setMod

public void setMod(boolean isMod)


Copyright © 2012 eXo Platform SAS. All Rights Reserved.