com.stratelia.silverpeas.notificationserver.channel.popup
Class POPUPSessionController

java.lang.Object
  extended by com.stratelia.silverpeas.peasCore.AbstractComponentSessionController
      extended by com.stratelia.silverpeas.notificationserver.channel.popup.POPUPSessionController
All Implemented Interfaces:
ComponentSessionController

public class POPUPSessionController
extends AbstractComponentSessionController

Class declaration

Version:
%I%, %G%
Author:

Field Summary
protected  String currentFunction
           
protected  long currentMessageId
           
 
Fields inherited from class com.stratelia.silverpeas.peasCore.AbstractComponentSessionController
CHARACTER_ENCODING, context
 
Constructor Summary
POPUPSessionController(MainSessionController mainSessionCtrl, ComponentContext context)
          Constructor declaration
 
Method Summary
protected  String getComponentInstName()
           
 String getCurrentFunction()
          Method declaration
 long getCurrentMessageId()
          Method declaration
 POPUPMessage getMessage(long messageId)
          Method declaration
 void notifySession(String userId, String message)
          Send message to user
 void setCurrentFunction(String currentFunction)
          Method declaration
 void setCurrentMessageId(long value)
          Method declaration
 
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

currentFunction

protected String currentFunction

currentMessageId

protected long currentMessageId
Constructor Detail

POPUPSessionController

public POPUPSessionController(MainSessionController mainSessionCtrl,
                              ComponentContext context)
Constructor declaration

See Also:
Method Detail

getComponentInstName

protected String getComponentInstName()

setCurrentFunction

public void setCurrentFunction(String currentFunction)
Method declaration

Parameters:
currentFunction -
See Also:

getCurrentFunction

public String getCurrentFunction()
Method declaration

Returns:
See Also:

getMessage

public POPUPMessage getMessage(long messageId)
                        throws POPUPException
Method declaration

Parameters:
messageId -
Returns:
Throws:
POPUPException
See Also:

getCurrentMessageId

public long getCurrentMessageId()
Method declaration

Returns:
See Also:

setCurrentMessageId

public void setCurrentMessageId(long value)
Method declaration

Parameters:
value -
See Also:

notifySession

public void notifySession(String userId,
                          String message)
Send message to user

Parameters:
userId -
message -


Copyright © 2016 Silverpeas. All Rights Reserved.