org.exoplatform.answer.webui.popup
Class UIResponseForm

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.common.webui.BaseUIForm
                  extended by org.exoplatform.answer.webui.BaseUIFAQForm
                      extended by org.exoplatform.answer.webui.popup.UIResponseForm
All Implemented Interfaces:
org.exoplatform.webui.core.UIPopupComponent

public class UIResponseForm
extends BaseUIFAQForm
implements org.exoplatform.webui.core.UIPopupComponent

Created by The eXo Platform SARL Author : Ha Mai ha.mai@exoplatform.com Apr 17, 2008 ,3:19:00 PM


Nested Class Summary
static class UIResponseForm.AddRelationActionListener
           
static class UIResponseForm.CancelActionListener
           
static class UIResponseForm.ChangeLanguageActionListener
           
static class UIResponseForm.RemoveRelationActionListener
           
static class UIResponseForm.SaveActionListener
           
 
Nested classes/interfaces inherited from class org.exoplatform.webui.core.UIContainer
org.exoplatform.webui.core.UIContainer.SelectTabActionListener
 
Field Summary
 String questionId_
           
 
Fields inherited from class org.exoplatform.forum.common.webui.BaseUIForm
log
 
Fields inherited from class org.exoplatform.webui.form.UIForm
ACTION, SUBCOMPONENT_ID
 
Fields inherited from class org.exoplatform.webui.core.UIComponent
AJAX_ASYNC, config, OBJECTID, UICOMPONENT, uiparent
 
Constructor Summary
UIResponseForm()
           
 
Method Summary
 void activate()
           
 void deActivate()
           
 List<String> getListIdQuesRela()
           
 List<String> getListRelation()
           
protected  List<String> getListRelationQuestion()
           
 org.exoplatform.faq.service.Question getQuestion()
           
protected  String getValue(String id)
           
protected  String render(String s)
           
 void setAnswerInfor(org.exoplatform.faq.service.Question question, org.exoplatform.faq.service.Answer answer, String language)
           
 void setFAQSetting(org.exoplatform.faq.service.FAQSetting faqSetting)
           
 void setListIdQuesRela(List<String> listId)
           
 void setListRelationQuestion(List<String> listQuestionContent)
           
 void setModertator(boolean isMod)
           
 void setQuestionId(org.exoplatform.faq.service.Question question, String languageViewed, boolean isAnswerApp)
           
 void updateChildOfQuestionManager(boolean isChild)
           
 
Methods inherited from class org.exoplatform.answer.webui.BaseUIFAQForm
getFAQService, openPopup, openPopup, openPopup, openPopup, setFAQService
 
Methods inherited from class org.exoplatform.forum.common.webui.BaseUIForm
cancelChildPopupAction, getLabel, getUIFormScrollSelectBox, getUIForumFilter, i18n, info, info, info, info, info, openPopup, openPopup, throwWarning, throwWarning, warning, warning, warning, warning, warning
 
Methods inherited from class org.exoplatform.webui.form.UIForm
addUIComponentInput, addUIFormInput, addUIFormInput, begin, end, event, event, event, getActions, getLabel, getSubmitAction, getUICheckBoxInput, 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, renderChild, renderChildren, renderChildren, renderUIComponent, replaceChild, replaceChild, setChildren, setRenderedChild, setRenderedChild, setRenderedChildrenOfTypes
 
Methods inherited from class org.exoplatform.webui.core.UIComponent
broadcast, createEvent, createUIComponent, createUIComponent, createUIComponent, doAsync, event, getAncestorOfType, getApplicationComponent, getComponentConfig, getId, getName, getParent, getTemplate, getTemplateResourceResolver, isRendered, loadConfirmMesssage, processAction, processDecode, renderEventURL, setComponentConfig, setComponentConfig, setId, setParent, setRendered, setRenderSibling, url, url
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

questionId_

public String questionId_
Constructor Detail

UIResponseForm

public UIResponseForm()
               throws Exception
Throws:
Exception
Method Detail

setModertator

public void setModertator(boolean isMod)

activate

public void activate()
Specified by:
activate in interface org.exoplatform.webui.core.UIPopupComponent

deActivate

public void deActivate()
Specified by:
deActivate in interface org.exoplatform.webui.core.UIPopupComponent

setFAQSetting

public void setFAQSetting(org.exoplatform.faq.service.FAQSetting faqSetting)

getQuestion

public org.exoplatform.faq.service.Question getQuestion()

setAnswerInfor

public void setAnswerInfor(org.exoplatform.faq.service.Question question,
                           org.exoplatform.faq.service.Answer answer,
                           String language)

setQuestionId

public void setQuestionId(org.exoplatform.faq.service.Question question,
                          String languageViewed,
                          boolean isAnswerApp)

render

protected String render(String s)

getValue

protected String getValue(String id)

getListRelation

public List<String> getListRelation()

getListIdQuesRela

public List<String> getListIdQuesRela()

setListIdQuesRela

public void setListIdQuesRela(List<String> listId)

setListRelationQuestion

public void setListRelationQuestion(List<String> listQuestionContent)

getListRelationQuestion

protected List<String> getListRelationQuestion()

updateChildOfQuestionManager

public void updateChildOfQuestionManager(boolean isChild)


Copyright © 2013 eXo Platform SAS. All Rights Reserved.