org.exoplatform.wcm.webui.newsletter.manager
Class UISubcriptionForm

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

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

Created by The eXo Platform SAS Author : Tran Nguyen Ngoc ngoc.tran@exoplatform.com Jun 4, 2009


Nested Class Summary
static class UISubcriptionForm.CancelActionListener
          The listener interface for receiving cancelAction events.
static class UISubcriptionForm.DeleteModeratorActionListener
           
static class UISubcriptionForm.SaveActionListener
          The listener interface for receiving saveAction events.
static class UISubcriptionForm.SelectMemberActionListener
          The listener interface for receiving selectMemberAction events.
static class UISubcriptionForm.SelectUserActionListener
           
 
Nested classes/interfaces inherited from class org.exoplatform.webui.core.UIContainer
org.exoplatform.webui.core.UIContainer.SelectTabActionListener
 
Field Summary
static java.lang.String FORM_SUBSCRIPTION_REDACTOR
           
static java.lang.String SELECT_REDACTOR
           
 
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
UISubcriptionForm()
          Instantiates a new uI subcription 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 setPopupId(java.lang.String popupId)
          Sets the popup id.
 void setRemove(boolean isRemove)
           
 void setSubscriptionInfor(NewsletterSubscriptionConfig subscriptionConfig)
          Sets the subscription infor.
 
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

SELECT_REDACTOR

public static final java.lang.String SELECT_REDACTOR
See Also:
Constant Field Values

FORM_SUBSCRIPTION_REDACTOR

public static final java.lang.String FORM_SUBSCRIPTION_REDACTOR
See Also:
Constant Field Values
Constructor Detail

UISubcriptionForm

public UISubcriptionForm()
                  throws java.lang.Exception
Instantiates a new uI subcription 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

setSubscriptionInfor

public void setSubscriptionInfor(NewsletterSubscriptionConfig subscriptionConfig)
Sets the subscription infor.

Parameters:
subscriptionConfig - the new subscription infor

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


Copyright © 2010 eXo Platform SAS. All Rights Reserved.