org.exoplatform.answer.webui.popup
Class UIPrintAllQuestions
java.lang.Object
org.exoplatform.webui.core.UIComponent
org.exoplatform.webui.core.UIContainer
org.exoplatform.webui.form.UIForm
org.exoplatform.forum.common.webui.BaseUIForm
org.exoplatform.answer.webui.popup.UIPrintAllQuestions
- All Implemented Interfaces:
- org.exoplatform.webui.core.UIPopupComponent
public class UIPrintAllQuestions
- extends org.exoplatform.forum.common.webui.BaseUIForm
- implements org.exoplatform.webui.core.UIPopupComponent
| Nested classes/interfaces inherited from class org.exoplatform.webui.core.UIContainer |
org.exoplatform.webui.core.UIContainer.SelectTabActionListener |
| Fields inherited from class org.exoplatform.forum.common.webui.BaseUIForm |
isAddColonInLabel, 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 |
| Methods inherited from class org.exoplatform.forum.common.webui.BaseUIForm |
cancelChildPopupAction, getLabel, getLabel, getUIFormScrollSelectBox, getUIForumFilter, i18n, info, info, info, info, info, isAddColonInLabel, openPopup, openPopup, openPopup, openPopup, openPopup, openPopup, setAddColonInLabel, 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, 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 |
currentUser_
protected String currentUser_
viewAuthorInfor
protected boolean viewAuthorInfor
UIPrintAllQuestions
public UIPrintAllQuestions()
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
getCSSByFileType
protected String getCSSByFileType(String fileName,
String fileType)
getQuestionRelationById
protected String getQuestionRelationById(String questionId)
getImageUrl
public String getImageUrl(String imagePath)
throws Exception
- Throws:
Exception
getAvatarUrl
protected String getAvatarUrl(String userId)
throws Exception
- Throws:
Exception
convertSize
protected String convertSize(long size)
setCategoryId
public void setCategoryId(String cateId,
org.exoplatform.faq.service.FAQService service,
org.exoplatform.faq.service.FAQSetting setting,
boolean canEdit,
org.exoplatform.faq.service.Question question)
throws Exception
- Throws:
Exception
render
public String render(Object obj)
throws RenderingException
- Throws:
RenderingException
getListQuestion
public List<org.exoplatform.faq.service.Question> getListQuestion()
getListAnswers
public List<org.exoplatform.faq.service.Answer> getListAnswers(String questionId)
getListComments
public List<org.exoplatform.faq.service.Comment> getListComments(String questionId)
Copyright © 2003–2014 eXo Platform SAS. All rights reserved.