org.exoplatform.answer.webui
Class UICategories

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.UICategories

public class UICategories
extends BaseUIFAQForm

Created by The eXo Platform SARL Author : Ha Mai ha.mai@exoplatform.com Nov 18, 2008, 5:24:36 PM


Nested Class Summary
static class UICategories.AddCategoryActionListener
           
static class UICategories.AddNewQuestionActionListener
           
static class UICategories.ChangeIndexActionListener
           
static class UICategories.DeleteCategoryActionListener
           
static class UICategories.EditCategoryActionListener
           
static class UICategories.ExportActionListener
           
static class UICategories.FilterQuestionsActionListener
           
static class UICategories.ImportActionListener
           
static class UICategories.MoveCategoryActionListener
           
static class UICategories.MoveCategoryIntoActionListener
           
static class UICategories.OpenCategoryActionListener
           
static class UICategories.UnWatchActionListener
           
static class UICategories.WatchActionListener
           
static class UICategories.WatchManagerActionListener
           
 
Nested classes/interfaces inherited from class org.exoplatform.webui.core.UIContainer
org.exoplatform.webui.core.UIContainer.SelectTabActionListener
 
Field Summary
 String parentCateID_
           
 
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
UICategories()
           
 
Method Summary
protected  String[] getActionCategory(String cateId)
           
protected  String[] getActionCategoryWithUser(String cateId)
           
protected  long[] getCategoryInfo()
           
 String getCategoryPath()
           
 String getCurrentName()
           
protected  List<org.exoplatform.faq.service.Category> getListCate()
           
 String getRSSLink(String cateId)
           
protected  boolean hasWatch(String categoryPath)
           
protected  boolean isCategoryModerator(String path)
           
protected  boolean isShowInfo()
           
 void resetListCate()
           
 void setFAQSetting(org.exoplatform.faq.service.FAQSetting faqSetting)
           
protected  void setListCate()
           
 void setPathCategory(String categoryPath)
           
 
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

parentCateID_

public String parentCateID_
Constructor Detail

UICategories

public UICategories()
             throws Exception
Throws:
Exception
Method Detail

setFAQSetting

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

isShowInfo

protected boolean isShowInfo()

getCategoryInfo

protected long[] getCategoryInfo()

getListCate

protected List<org.exoplatform.faq.service.Category> getListCate()

getCategoryPath

public String getCategoryPath()

setPathCategory

public void setPathCategory(String categoryPath)

isCategoryModerator

protected boolean isCategoryModerator(String path)
                               throws Exception
Throws:
Exception

getCurrentName

public String getCurrentName()

hasWatch

protected boolean hasWatch(String categoryPath)

setListCate

protected void setListCate()
                    throws Exception
Throws:
Exception

getRSSLink

public String getRSSLink(String cateId)

resetListCate

public void resetListCate()
                   throws Exception
Throws:
Exception

getActionCategory

protected String[] getActionCategory(String cateId)

getActionCategoryWithUser

protected String[] getActionCategoryWithUser(String cateId)


Copyright © 2013 eXo Platform SAS. All Rights Reserved.