org.jasig.schedassist.web.admin
Class AvailableScheduleReflectionServiceController

java.lang.Object
  extended by org.jasig.schedassist.web.admin.AvailableScheduleReflectionServiceController

@Controller
@RequestMapping(value="/admin/reflection-service.html")
public class AvailableScheduleReflectionServiceController
extends Object

Controller for triggering available schedule reflection manually.

Version:
$Id: AvailableScheduleReflectionServiceController.java 2987 2011-01-27 16:56:38Z npblair $
Author:
Nicholas Blair, nblair@doit.wisc.edu

Constructor Summary
AvailableScheduleReflectionServiceController()
           
 
Method Summary
 AvailableScheduleDao getAvailableScheduleDao()
           
 ICalendarAccountDao getCalendarAccountDao()
           
 OwnerDao getOwnerDao()
           
 AvailableScheduleReflectionService getReflectionService()
           
protected  String purgeReflections(ScheduleOwnerFormBackingObject command)
           
protected  String reflectAvailableSchedule(ScheduleOwnerFormBackingObject command)
           
 void setAvailableScheduleDao(AvailableScheduleDao availableScheduleDao)
           
 void setCalendarAccountDao(ICalendarAccountDao calendarAccountDao)
           
 void setOwnerDao(OwnerDao ownerDao)
           
 void setReflectionService(AvailableScheduleReflectionService reflectionService)
           
protected  String setupForm(org.springframework.ui.ModelMap model)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AvailableScheduleReflectionServiceController

public AvailableScheduleReflectionServiceController()
Method Detail

setCalendarAccountDao

public void setCalendarAccountDao(ICalendarAccountDao calendarAccountDao)
Parameters:
calendarAccountDao - the calendarAccountDao to set

setOwnerDao

public void setOwnerDao(OwnerDao ownerDao)
Parameters:
ownerDao - the ownerDao to set

setReflectionService

public void setReflectionService(AvailableScheduleReflectionService reflectionService)
Parameters:
reflectionService - the reflectionService to set

setAvailableScheduleDao

public void setAvailableScheduleDao(AvailableScheduleDao availableScheduleDao)
Parameters:
availableScheduleDao - the availableScheduleDao to set

getCalendarAccountDao

public ICalendarAccountDao getCalendarAccountDao()
Returns:
the calendarAccountDao

getOwnerDao

public OwnerDao getOwnerDao()
Returns:
the ownerDao

getReflectionService

public AvailableScheduleReflectionService getReflectionService()
Returns:
the reflectionService

getAvailableScheduleDao

public AvailableScheduleDao getAvailableScheduleDao()
Returns:
the availableScheduleDao

setupForm

@RequestMapping
protected String setupForm(org.springframework.ui.ModelMap model)

reflectAvailableSchedule

@RequestMapping(method=POST,
                params="action=reflect")
protected String reflectAvailableSchedule(@ModelAttribute(value="command")
                                                         ScheduleOwnerFormBackingObject command)

purgeReflections

@RequestMapping(method=POST,
                params="action=purge")
protected String purgeReflections(ScheduleOwnerFormBackingObject command)


Copyright © 2012 Jasig. All Rights Reserved.