org.exoplatform.answer.webui.popup
Class UICategoryForm

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.UICategoryForm
All Implemented Interfaces:
org.exoplatform.webui.core.UIPopupComponent

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


Nested Class Summary
static class UICategoryForm.CancelActionListener
           
static class UICategoryForm.SaveActionListener
           
static class UICategoryForm.SelectTabActionListener
           
 
Field Summary
static String PERMISSION_TAB
           
static String VIEW_AUTHOR_INFOR
           
 
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
 
Constructor Summary
UICategoryForm()
           
 
Method Summary
 void activate()
           
 void deActivate()
           
protected  boolean getIsSelected(int id)
           
 String getParentId()
           
 void setCategoryValue(org.exoplatform.faq.service.Category cat, boolean isUpdate)
           
 void setParentId(String s)
           
 void updateAddNew(boolean isAddNew, String spaceGroupId)
           
 
Methods inherited from class org.exoplatform.answer.webui.BaseUIFAQForm
getFAQService, processRender, setFAQService
 
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, 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

VIEW_AUTHOR_INFOR

public static final String VIEW_AUTHOR_INFOR

PERMISSION_TAB

public static final String PERMISSION_TAB
See Also:
Constant Field Values
Constructor Detail

UICategoryForm

public UICategoryForm()
               throws Exception
Throws:
Exception
Method Detail

updateAddNew

public void updateAddNew(boolean isAddNew,
                         String spaceGroupId)
                  throws Exception
Throws:
Exception

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

getParentId

public String getParentId()

setParentId

public void setParentId(String s)

setCategoryValue

public void setCategoryValue(org.exoplatform.faq.service.Category cat,
                             boolean isUpdate)
                      throws Exception
Throws:
Exception

getIsSelected

protected boolean getIsSelected(int id)


Copyright © 2003–2014 eXo Platform SAS. All rights reserved.