org.exoplatform.wcm.webui.newsletter.manager
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.wcm.webui.newsletter.manager.UICategoryForm
All Implemented Interfaces:
org.exoplatform.ecm.webui.selector.UISelectable, org.exoplatform.webui.core.UIPopupComponent

public class UICategoryForm
extends org.exoplatform.webui.form.UIForm
implements org.exoplatform.webui.core.UIPopupComponent, org.exoplatform.ecm.webui.selector.UISelectable

The Class UICategoryForm.


Nested Class Summary
static class UICategoryForm.CancelActionListener
          The listener interface for receiving cancelAction events.
static class UICategoryForm.DeleteModeratorActionListener
           
static class UICategoryForm.SaveActionListener
          The listener interface for receiving saveAction events.
static class UICategoryForm.SelectMemberActionListener
          The listener interface for receiving selectMemberAction events.
static class UICategoryForm.SelectUserActionListener
          The listener interface for receiving selectUserAction events.
 
Nested classes/interfaces inherited from class org.exoplatform.webui.core.UIContainer
org.exoplatform.webui.core.UIContainer.SelectTabActionListener
 
Field Summary
static java.lang.String FORM_CATEGORY_MODERATOR
          The Constant FORM_CATEGORY_MODERATOR.
static java.lang.String INPUT_CATEGORY_DESCRIPTION
          The Constant INPUT_CATEGORY_DESCRIPTION.
static java.lang.String INPUT_CATEGORY_MODERATOR
          The Constant INPUT_CATEGORY_MODERATOR.
static java.lang.String INPUT_CATEGORY_NAME
          The Constant INPUT_CATEGORY_NAME.
static java.lang.String INPUT_CATEGORY_TITLE
          The Constant INPUT_CATEGORY_TITLE.
 
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()
          Instantiates a new uI category form.
 
Method Summary
 void activate()
           
 void deActivate()
           
 void doSelect(java.lang.String selectField, java.lang.Object value)
           
 java.lang.String getPopupId()
          Gets the popup id.
 boolean isRemove()
           
 void setCategoryInfo(NewsletterCategoryConfig categoryConfig)
          Sets the category info.
 void setPopupId(java.lang.String popupId)
          Sets the popup id.
 void setRemove(boolean isRemove)
           
 
Methods inherited from class org.exoplatform.webui.form.UIForm
addUIComponentInput, addUIFormInput, addUIFormInput, begin, end, event, event, event, getActions, getLabel, getLabel, getSubmitAction, 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, getRendererFor, getTemplate, getTemplateResourceResolver, isRendered, loadConfirmMesssage, processAction, processDecode, registerRendererFor, 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

INPUT_CATEGORY_NAME

public static final java.lang.String INPUT_CATEGORY_NAME
The Constant INPUT_CATEGORY_NAME.

See Also:
Constant Field Values

INPUT_CATEGORY_TITLE

public static final java.lang.String INPUT_CATEGORY_TITLE
The Constant INPUT_CATEGORY_TITLE.

See Also:
Constant Field Values

INPUT_CATEGORY_DESCRIPTION

public static final java.lang.String INPUT_CATEGORY_DESCRIPTION
The Constant INPUT_CATEGORY_DESCRIPTION.

See Also:
Constant Field Values

FORM_CATEGORY_MODERATOR

public static final java.lang.String FORM_CATEGORY_MODERATOR
The Constant FORM_CATEGORY_MODERATOR.

See Also:
Constant Field Values

INPUT_CATEGORY_MODERATOR

public static final java.lang.String INPUT_CATEGORY_MODERATOR
The Constant INPUT_CATEGORY_MODERATOR.

See Also:
Constant Field Values
Constructor Detail

UICategoryForm

public UICategoryForm()
               throws java.lang.Exception
Instantiates a new uI category form.

Throws:
java.lang.Exception - the exception
Method Detail

isRemove

public boolean isRemove()

setRemove

public void setRemove(boolean isRemove)

doSelect

public void doSelect(java.lang.String selectField,
                     java.lang.Object value)
              throws java.lang.Exception
Specified by:
doSelect in interface org.exoplatform.ecm.webui.selector.UISelectable
Throws:
java.lang.Exception

getPopupId

public java.lang.String getPopupId()
Gets the popup id.

Returns:
the popup id

setPopupId

public void setPopupId(java.lang.String popupId)
Sets the popup id.

Parameters:
popupId - the new popup id

activate

public void activate()
              throws java.lang.Exception
Specified by:
activate in interface org.exoplatform.webui.core.UIPopupComponent
Throws:
java.lang.Exception

deActivate

public void deActivate()
                throws java.lang.Exception
Specified by:
deActivate in interface org.exoplatform.webui.core.UIPopupComponent
Throws:
java.lang.Exception

setCategoryInfo

public void setCategoryInfo(NewsletterCategoryConfig categoryConfig)
Sets the category info.

Parameters:
categoryConfig - the new category info


Copyright © 2010 eXo Platform SAS. All Rights Reserved.