com.stratelia.silverpeas.alertUserPeas.control
Class AlertUserPeasSessionController

java.lang.Object
  extended by com.stratelia.silverpeas.peasCore.AbstractComponentSessionController
      extended by com.stratelia.silverpeas.alertUserPeas.control.AlertUserPeasSessionController
All Implemented Interfaces:
ComponentSessionController

public class AlertUserPeasSessionController
extends AbstractComponentSessionController

Class declaration

Author:

Field Summary
protected  AlertUser m_AlertUser
           
protected  String m_Context
           
protected  Group[] m_groupRecipients
           
protected  Selection m_Selection
           
protected  UserDetail[] m_userRecipients
           
protected  NotificationSender notificationSender
           
 
Fields inherited from class com.stratelia.silverpeas.peasCore.AbstractComponentSessionController
CHARACTER_ENCODING, context
 
Constructor Summary
AlertUserPeasSessionController(MainSessionController mainSessionCtrl, ComponentContext componentContext)
          Standard Session Controller Constructeur
 
Method Summary
 void computeSelection()
           
 Group[] getGroupRecipients()
           
 String getHostComponentId()
           
 PairObject getHostComponentName()
           
 String getHostSpaceName()
           
 NotificationMetaData getNotificationMetaData()
           
 UserDetail[] getUserRecipients()
           
 void init()
           
 String initSelection()
           
 void prepareNotification(String message)
           
 void sendNotification()
           
 
Methods inherited from class com.stratelia.silverpeas.peasCore.AbstractComponentSessionController
addClipboardSelection, clipboardPasteDone, close, getAlertUser, getClipboardCount, getClipboardErrorMessage, getClipboardExceptionError, getClipboardName, getClipboardObjects, getClipboardSelectedObjects, getClipboardSize, getComponentAccessController, getComponentId, getComponentLabel, getComponentName, getComponentParameters, getComponentParameterValue, getComponentParameterValue, getComponentRootName, getComponentUrl, getFavoriteSpace, getGenericPanel, getHighestSilverpeasUserRole, getIcon, getLanguage, getLastResults, getLook, getMultilang, getOrganisationController, getPersonalization, getRSSUrl, getSelection, getServerNameAndPort, getSettings, getSilverpeasUserRoles, getSpaceId, getSpaceLabel, getString, getSubscriptionContext, getUrlEncodedParameter, getUserAccessLevel, getUserAvailComponentIds, getUserAvailSpaceIds, getUserDetail, getUserDetail, getUserId, getUserManageableGroupIds, getUserManageableSpaceIds, getUserRoleLevel, getUserRoles, isAppInMaintenance, isGroupManager, isPasswordChangeAllowed, isSpaceInMaintenance, removeClipboardElement, setAppModeMaintenance, setClipboardError, setClipboardSelectedElement, setComponentRootName, setFavoriteSpaceToMainSessionController, setGenericPanel, setIconFileName, setLastResults, setMultilangFileName, setResourceFileName, setSpaceModeMaintenance
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

m_AlertUser

protected AlertUser m_AlertUser

m_Selection

protected Selection m_Selection

notificationSender

protected NotificationSender notificationSender

m_Context

protected String m_Context

m_userRecipients

protected UserDetail[] m_userRecipients

m_groupRecipients

protected Group[] m_groupRecipients
Constructor Detail

AlertUserPeasSessionController

public AlertUserPeasSessionController(MainSessionController mainSessionCtrl,
                                      ComponentContext componentContext)
Standard Session Controller Constructeur

Parameters:
mainSessionCtrl - The user's profile
componentContext - The component's profile
See Also:
Method Detail

init

public void init()

getHostComponentName

public PairObject getHostComponentName()

getHostSpaceName

public String getHostSpaceName()

getHostComponentId

public String getHostComponentId()

getUserRecipients

public UserDetail[] getUserRecipients()

getGroupRecipients

public Group[] getGroupRecipients()

getNotificationMetaData

public NotificationMetaData getNotificationMetaData()

initSelection

public String initSelection()

computeSelection

public void computeSelection()

prepareNotification

public void prepareNotification(String message)

sendNotification

public void sendNotification()
                      throws NotificationManagerException
Throws:
NotificationManagerException


Copyright © 2016 Silverpeas. All Rights Reserved.