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

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

public class UISubscriptions
extends org.exoplatform.webui.form.UIForm

Created by The eXo Platform SAS Author : eXoPlatform ha.mai@exoplatform.com Jun 5, 2009


Nested Class Summary
static class UISubscriptions.AddEntryActionListener
          The listener interface for receiving addEntryAction events.
static class UISubscriptions.AddSubcriptionActionListener
          The listener interface for receiving addSubcriptionAction events.
static class UISubscriptions.BackToCategoriesActionListener
          The listener interface for receiving backToCategoriesAction events.
static class UISubscriptions.DeleteCategoryActionListener
          The listener interface for receiving deleteCategoryAction events.
static class UISubscriptions.DeleteSubscriptionActionListener
          The listener interface for receiving deleteSubscriptionAction events.
static class UISubscriptions.EditCategoryActionListener
          The listener interface for receiving editCategoryAction events.
static class UISubscriptions.EditSubscriptionActionListener
          The listener interface for receiving editSubscriptionAction events.
static class UISubscriptions.ManagerUsersActionListener
          The listener interface for receiving managerUsersAction events.
static class UISubscriptions.OpenSubscriptionActionListener
          The listener interface for receiving openSubscriptionAction events.
static class UISubscriptions.SelectSubscriptionActionListener
          The listener interface for receiving selectSubscriptionAction events.
static class UISubscriptions.SelectSubscriptionCheckboxActionListener
          The listener interface for receiving selectSubscriptionAction events.
static class UISubscriptions.SelectSubscriptionCheckboxHeaderActionListener
          The listener interface for receiving selectSubscriptionAction events.
 
Nested classes/interfaces inherited from class org.exoplatform.webui.core.UIContainer
org.exoplatform.webui.core.UIContainer.SelectTabActionListener
 
Field Summary
 
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
UISubscriptions()
          Instantiates a new uI subscriptions.
 
Method Summary
 java.lang.String getChecked()
          Gets the checked.
 java.util.List<NewsletterSubscriptionConfig> getListSubscription()
          Gets the list subscription.
 int getNumberOfUser(java.lang.String subscriptionName)
          Gets the number of user.
 long getNumberOfWaitingNewsletter(java.lang.String subscriptionName)
          Gets the number of waiting newsletter.
 void init()
          Inits the.
 boolean isAdministrator()
           
 boolean isModerator()
           
 void setCategory(NewsletterCategoryConfig categoryConfig)
          Sets the category.
 void updateListSubscription()
          Gets the list subscription.
 
Methods inherited from class org.exoplatform.webui.form.UIForm
addUIComponentInput, addUIFormInput, addUIFormInput, begin, end, event, event, event, getActions, getLabel, 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
 

Constructor Detail

UISubscriptions

public UISubscriptions()
                throws java.lang.Exception
Instantiates a new uI subscriptions.

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

setCategory

public void setCategory(NewsletterCategoryConfig categoryConfig)
Sets the category.

Parameters:
categoryConfig - the new category

init

public void init()
Inits the.

Parameters:
listSubScritpions - the list subscriptions

getNumberOfUser

public int getNumberOfUser(java.lang.String subscriptionName)
Gets the number of user.

Parameters:
subscriptionName - the subscription name
Returns:
the number of user

getListSubscription

public java.util.List<NewsletterSubscriptionConfig> getListSubscription()
Gets the list subscription.

Returns:
the list subscription

updateListSubscription

public void updateListSubscription()
Gets the list subscription.


getNumberOfWaitingNewsletter

public long getNumberOfWaitingNewsletter(java.lang.String subscriptionName)
Gets the number of waiting newsletter.

Parameters:
subscriptionName - the subscription name
Returns:
the number of waiting newsletter

getChecked

public java.lang.String getChecked()
Gets the checked.

Returns:
the checked

isAdministrator

public boolean isAdministrator()

isModerator

public boolean isModerator()


Copyright © 2011 eXo Platform SAS. All Rights Reserved.