org.jasig.portlet.calendar.mvc.controller
Class AjaxCalendarController

java.lang.Object
  extended by org.jasig.portlet.calendar.mvc.controller.AjaxCalendarController
All Implemented Interfaces:
org.springframework.beans.factory.Aware, org.springframework.context.ApplicationContextAware

@Controller
@RequestMapping(value="VIEW")
public class AjaxCalendarController
extends Object
implements org.springframework.context.ApplicationContextAware


Field Summary
protected  org.apache.commons.logging.Log log
           
 
Constructor Summary
AjaxCalendarController()
           
 
Method Summary
 String exportCalendar(javax.portlet.ResourceRequest request, javax.portlet.ResourceResponse response, Long id)
           
 org.springframework.web.portlet.ModelAndView getEventList(javax.portlet.ResourceRequest request, javax.portlet.ResourceResponse response)
           
protected  org.joda.time.Interval getPeriod(javax.portlet.ResourceRequest request, String startDate, int days)
           
 void setApplicationContext(org.springframework.context.ApplicationContext applicationContext)
           
 void setCalendarEventsDao(CalendarEventsDao calendarEventsDao)
           
 void setCalendarSetDao(ICalendarSetDao calendarSetDao)
           
 void setCalendarStore(CalendarStore calendarStore)
           
 
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
Constructor Detail

AjaxCalendarController

public AjaxCalendarController()
Method Detail

getEventList

@ResourceMapping
public org.springframework.web.portlet.ModelAndView getEventList(javax.portlet.ResourceRequest request,
                                                                                 javax.portlet.ResourceResponse response)
                                                          throws Exception
Throws:
Exception

exportCalendar

@ResourceMapping(value="exportUserCalendar")
public String exportCalendar(javax.portlet.ResourceRequest request,
                                             javax.portlet.ResourceResponse response,
                                             @RequestParam(value="configurationId")
                                             Long id)

getPeriod

protected org.joda.time.Interval getPeriod(javax.portlet.ResourceRequest request,
                                           String startDate,
                                           int days)
                                    throws ParseException
Throws:
ParseException

setCalendarEventsDao

@Autowired(required=true)
public void setCalendarEventsDao(CalendarEventsDao calendarEventsDao)

setCalendarSetDao

@Autowired(required=true)
public void setCalendarSetDao(ICalendarSetDao calendarSetDao)

setCalendarStore

public void setCalendarStore(CalendarStore calendarStore)

setApplicationContext

public void setApplicationContext(org.springframework.context.ApplicationContext applicationContext)
                           throws org.springframework.beans.BeansException
Specified by:
setApplicationContext in interface org.springframework.context.ApplicationContextAware
Throws:
org.springframework.beans.BeansException


Copyright © 2012 Jasig. All Rights Reserved.