org.jasig.portlet.calendar.service
Class SessionSetupInitializationService

java.lang.Object
  extended by org.jasig.portlet.calendar.service.SessionSetupInitializationService
All Implemented Interfaces:
IInitializationService

public class SessionSetupInitializationService
extends Object
implements IInitializationService

SessionSetupInitializationService is a core implementation of IInitializationService that performs critical session initialization tasks for the calendar portlet. This service initializes the following session variables: - subscribeId - userRoles - isAdmin - hiddenCalendars - startDate - timezone - days

Version:
$Revision: 25719 $
Author:
Jen Bourey

Field Summary
protected  org.apache.commons.logging.Log log
           
static String USERNAME_KEY
           
 
Constructor Summary
SessionSetupInitializationService()
           
 
Method Summary
 void initialize(javax.portlet.PortletRequest request)
          Perform some action.
 void setCalendarStore(CalendarStore calendarStore)
           
 void setDefaultDays(int defaultDays)
           
 void setUserToken(String userToken)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

log

protected final org.apache.commons.logging.Log log

USERNAME_KEY

public static final String USERNAME_KEY
See Also:
Constant Field Values
Constructor Detail

SessionSetupInitializationService

public SessionSetupInitializationService()
Method Detail

initialize

public void initialize(javax.portlet.PortletRequest request)
Description copied from interface: IInitializationService
Perform some action.

Specified by:
initialize in interface IInitializationService
Parameters:
request - user's portlet request

setCalendarStore

public void setCalendarStore(CalendarStore calendarStore)

setDefaultDays

public void setDefaultDays(int defaultDays)

setUserToken

public void setUserToken(String userToken)


Copyright © 2012 Jasig. All Rights Reserved.