org.exoplatform.faq.webui.popup
Class UIQuestionForm

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.faq.webui.popup.UIQuestionForm
All Implemented Interfaces:
UIPopupComponent

public class UIQuestionForm
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 UIQuestionForm.AttachmentActionListener
           
static class UIQuestionForm.CancelActionListener
           
static class UIQuestionForm.DeleteLanguageActionListener
           
static class UIQuestionForm.RemoveAttachmentActionListener
           
static class UIQuestionForm.SaveActionListener
           
static class UIQuestionForm.SelectLanguageActionListener
           
 
Nested classes/interfaces inherited from class org.exoplatform.webui.core.UIContainer
org.exoplatform.webui.core.UIContainer.SelectTabActionListener
 
Field Summary
static java.lang.String ALL_LANGUAGES
           
static java.lang.String ATTACHMENTS
           
static java.lang.String AUTHOR
           
static java.lang.String EMAIL_ADDRESS
           
static java.lang.String FILE_ATTACHMENTS
           
static java.lang.String IS_ACTIVATED
           
static java.lang.String IS_APPROVED
           
static java.lang.String QUESTION_CONTENT
           
static java.lang.String QUESTION_DETAIL
           
static java.lang.String REMOVE_FILE_ATTACH
           
 
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
UIQuestionForm()
           
 
Method Summary
 void activate()
           
 void deActivate()
           
 java.util.List<org.exoplatform.webui.form.UIFormInputWithActions.ActionData> getActionField(java.lang.String fieldName)
           
 java.util.List<org.exoplatform.webui.form.UIFormInputWithActions.ActionData> getActionList()
           
 java.lang.String getDefaultLanguage()
           
 java.lang.String getLink()
           
protected  org.exoplatform.webui.form.UIForm getParentForm()
           
 java.lang.String getQuestionId()
           
 void initPage(boolean isEdit)
           
 boolean isMode()
           
 void refresh()
           
 void refreshUploadFileList()
           
 void setActionField(java.lang.String fieldName, java.util.List<org.exoplatform.webui.form.UIFormInputWithActions.ActionData> actions)
           
 void setAuthor(java.lang.String author)
           
 void setCategoryId(java.lang.String categoryId)
           
 void setDefaultLanguage(java.lang.String defaultLanguage)
           
 void setEmail(java.lang.String email)
           
 void setFAQSetting(FAQSetting faqSetting)
           
 void setIsChildOfManager(boolean isChild)
           
 void setIsMode(boolean isMode)
           
 void setLanguages()
           
 void setLink(java.lang.String link)
           
 void setListFileAttach(FileAttachment fileAttachment)
           
 void setListFileAttach(java.util.List<FileAttachment> listFileAttachment)
           
 void setQuestion(Question question)
           
 
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

AUTHOR

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

EMAIL_ADDRESS

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

QUESTION_CONTENT

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

ALL_LANGUAGES

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

QUESTION_DETAIL

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

ATTACHMENTS

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

FILE_ATTACHMENTS

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

REMOVE_FILE_ATTACH

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

IS_APPROVED

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

IS_ACTIVATED

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

UIQuestionForm

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

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

getLink

public java.lang.String getLink()

setLink

public void setLink(java.lang.String link)

setFAQSetting

public void setFAQSetting(FAQSetting faqSetting)

refresh

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

setLanguages

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

initPage

public void initPage(boolean isEdit)
              throws java.lang.Exception
Throws:
java.lang.Exception

setIsChildOfManager

public void setIsChildOfManager(boolean isChild)

setQuestion

public void setQuestion(Question question)
                 throws java.lang.Exception
Throws:
java.lang.Exception

isMode

public boolean isMode()

setIsMode

public void setIsMode(boolean isMode)

getQuestionId

public java.lang.String getQuestionId()

setDefaultLanguage

public void setDefaultLanguage(java.lang.String defaultLanguage)

getDefaultLanguage

public java.lang.String getDefaultLanguage()

setAuthor

public void setAuthor(java.lang.String author)

setEmail

public void setEmail(java.lang.String email)

setCategoryId

public void setCategoryId(java.lang.String categoryId)
                   throws java.lang.Exception
Throws:
java.lang.Exception

getParentForm

protected org.exoplatform.webui.form.UIForm getParentForm()

getActionList

public java.util.List<org.exoplatform.webui.form.UIFormInputWithActions.ActionData> getActionList()

setListFileAttach

public void setListFileAttach(java.util.List<FileAttachment> listFileAttachment)

setListFileAttach

public void setListFileAttach(FileAttachment fileAttachment)

refreshUploadFileList

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

setActionField

public void setActionField(java.lang.String fieldName,
                           java.util.List<org.exoplatform.webui.form.UIFormInputWithActions.ActionData> actions)
                    throws java.lang.Exception
Throws:
java.lang.Exception

getActionField

public java.util.List<org.exoplatform.webui.form.UIFormInputWithActions.ActionData> getActionField(java.lang.String fieldName)


Copyright © 2012 eXo Platform SAS. All Rights Reserved.