public class UIQuestionForm extends BaseUIFAQForm implements org.exoplatform.webui.core.UIPopupComponent
| Modifier and Type | Class and Description |
|---|---|
static class |
UIQuestionForm.AttachmentActionListener |
static class |
UIQuestionForm.CancelActionListener |
static class |
UIQuestionForm.DeleteLanguageActionListener |
static class |
UIQuestionForm.RemoveAttachmentActionListener |
static class |
UIQuestionForm.SaveActionListener |
static class |
UIQuestionForm.SelectLanguageActionListener |
| Modifier and Type | Field and Description |
|---|---|
static String |
ALL_LANGUAGES |
static String |
ATTACHMENTS |
static String |
AUTHOR |
static String |
DELETE_LANGUAGE_ACTION |
static String |
EMAIL_ADDRESS |
static String |
FILE_ATTACHMENTS |
static String |
IS_ACTIVATED |
static String |
IS_APPROVED |
protected boolean |
isRenderSelectLang |
static String |
QUESTION_CONTENT |
static String |
QUESTION_DETAIL |
static String |
REMOVE_FILE_ATTACH |
| Constructor and Description |
|---|
UIQuestionForm() |
| Modifier and Type | Method and Description |
|---|---|
void |
activate() |
void |
deActivate() |
List<org.exoplatform.webui.form.UIFormInputWithActions.ActionData> |
getActionField(String fieldName) |
List<org.exoplatform.webui.form.UIFormInputWithActions.ActionData> |
getActionList() |
protected String |
getAuthor() |
String |
getDefaultLanguage() |
String |
getEditLanguage() |
protected String |
getEmail() |
protected List<org.exoplatform.faq.service.FileAttachment> |
getListFile() |
protected org.exoplatform.webui.form.UIForm |
getParentForm() |
org.exoplatform.faq.service.Question |
getQuestion() |
String |
getQuestionId() |
void |
initPage() |
boolean |
isMode() |
void |
refresh() |
void |
refreshUploadFileList() |
void |
setActionField(String fieldName,
List<org.exoplatform.webui.form.UIFormInputWithActions.ActionData> actions) |
void |
setAuthor(String author) |
void |
setCategoryId(String categoryId) |
void |
setDefaultLanguage(String defaultLanguage) |
void |
setEditLanguage(String editLanguage) |
void |
setEmail(String email) |
void |
setFAQSetting(org.exoplatform.faq.service.FAQSetting faqSetting) |
void |
setIsChildOfManager(boolean isChild) |
void |
setIsMode(boolean isMode) |
void |
setLanguages() |
void |
setListFileAttach(org.exoplatform.faq.service.FileAttachment fileAttachment) |
void |
setListFileAttach(List<org.exoplatform.faq.service.FileAttachment> listFileAttachment) |
void |
setQuestion(org.exoplatform.faq.service.Question question) |
getFAQService, processRender, setFAQServicecancelChildPopupAction, getLabel, getLabel, getUIFormRichtextInput, getUIFormScrollSelectBox, getUIForumFilter, i18n, info, info, info, info, info, isAddColonInLabel, openPopup, openPopup, openPopup, openPopup, openPopup, openPopup, setAddColonInLabel, throwWarning, throwWarning, warning, warning, warning, warning, warningaddUIComponentInput, addUIFormInput, addUIFormInput, begin, end, event, event, event, getActions, getSubmitAction, getUICheckBoxInput, getUIComponentName, getUIFormCheckBoxInput, getUIFormDateTimeInput, getUIFormInputInfo, getUIFormSelectBox, getUIFormTextAreaInput, getUIInput, getUIStringInput, invokeGetBindingBean, invokeSetBindingBean, isMultipart, renderField, renderField, reset, setActions, setMultiPart, setSubmitAction, urladdChild, addChild, findComponentById, findComponentOfType, findFirstComponentOfType, getChild, getChild, getChildById, getChildren, hasChildren, removeChild, removeChildById, renderChild, renderChild, renderChild, renderChild, renderChildren, renderChildren, renderUIComponent, replaceChild, replaceChild, setChildren, setRenderedChild, setRenderedChild, setRenderedChildrenOfTypesbroadcast, buildModelObject, 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, urlpublic static final String AUTHOR
public static final String EMAIL_ADDRESS
public static final String QUESTION_CONTENT
public static final String ALL_LANGUAGES
public static final String QUESTION_DETAIL
public static final String ATTACHMENTS
public static final String FILE_ATTACHMENTS
public static final String REMOVE_FILE_ATTACH
public static final String IS_APPROVED
public static final String IS_ACTIVATED
public static final String DELETE_LANGUAGE_ACTION
protected boolean isRenderSelectLang
public void activate()
activate in interface org.exoplatform.webui.core.UIPopupComponentpublic void deActivate()
deActivate in interface org.exoplatform.webui.core.UIPopupComponentpublic void setFAQSetting(org.exoplatform.faq.service.FAQSetting faqSetting)
public String getEditLanguage()
public void setEditLanguage(String editLanguage)
public void setIsChildOfManager(boolean isChild)
public void setQuestion(org.exoplatform.faq.service.Question question)
throws Exception
Exceptionpublic boolean isMode()
public void setIsMode(boolean isMode)
public String getQuestionId()
public void setDefaultLanguage(String defaultLanguage)
public String getDefaultLanguage()
protected String getAuthor()
public void setAuthor(String author)
protected String getEmail()
public void setEmail(String email)
protected org.exoplatform.webui.form.UIForm getParentForm()
public List<org.exoplatform.webui.form.UIFormInputWithActions.ActionData> getActionList()
public void setListFileAttach(List<org.exoplatform.faq.service.FileAttachment> listFileAttachment)
public void setListFileAttach(org.exoplatform.faq.service.FileAttachment fileAttachment)
protected List<org.exoplatform.faq.service.FileAttachment> getListFile()
public void setActionField(String fieldName, List<org.exoplatform.webui.form.UIFormInputWithActions.ActionData> actions) throws Exception
Exceptionpublic List<org.exoplatform.webui.form.UIFormInputWithActions.ActionData> getActionField(String fieldName)
public org.exoplatform.faq.service.Question getQuestion()
Copyright © 2003–2017 eXo Platform SAS. All rights reserved.