com.stratelia.silverpeas.notificationUser.control
Class NotificationUserSessionController

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

public class NotificationUserSessionController
extends AbstractComponentSessionController

Version:
Author:
tleroi

Field Summary
 
Fields inherited from class com.stratelia.silverpeas.peasCore.AbstractComponentSessionController
CHARACTER_ENCODING, context
 
Constructor Summary
NotificationUserSessionController(MainSessionController mainSessionCtrl, ComponentContext componentContext)
          Constructor declaration
 
Method Summary
 ArrayList<Properties> getDefaultAddresses()
          Method declaration
 String[] getIdsArrayFromIdsLine(String src)
          Method declaration
 Notification getNotification()
           
 Notification getNotificationWithNewRecipients()
           
 String initSelectionPeas(String paramValues)
           
 Notification initTargets(String theTargetsUsers, String theTargetsGroups)
           
 Notification resetNotification()
           
 void sendMessage(Notification notification)
           
 void setNotification(Notification notification)
           
 
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
 

Constructor Detail

NotificationUserSessionController

public NotificationUserSessionController(MainSessionController mainSessionCtrl,
                                         ComponentContext componentContext)
Constructor declaration

Parameters:
mainSessionCtrl -
componentContext -
See Also:
Method Detail

resetNotification

public Notification resetNotification()

getDefaultAddresses

public ArrayList<Properties> getDefaultAddresses()
                                          throws NotificationManagerException
Method declaration

Returns:
Throws:
NotificationManagerException
See Also:

sendMessage

public void sendMessage(Notification notification)
                 throws NotificationManagerException
Parameters:
notification -
Throws:
NotificationManagerException

getIdsArrayFromIdsLine

public String[] getIdsArrayFromIdsLine(String src)
Method declaration

Parameters:
src -
Returns:
See Also:

initSelectionPeas

public String initSelectionPeas(String paramValues)

initTargets

public Notification initTargets(String theTargetsUsers,
                                String theTargetsGroups)

getNotificationWithNewRecipients

public Notification getNotificationWithNewRecipients()

getNotification

public Notification getNotification()

setNotification

public void setNotification(Notification notification)


Copyright © 2016 Silverpeas. All Rights Reserved.