org.jasig.schedassist.web.register
Class RegistrationFlowHelper

java.lang.Object
  extended by org.jasig.schedassist.web.register.RegistrationFlowHelper

@Service
public class RegistrationFlowHelper
extends Object

Bridge between web flows and some of the data access operations.

Version:
$Id: RegistrationFlowHelper.java 2552 2010-09-13 18:31:11Z npblair $
Author:
Nicholas Blair, nblair@doit.wisc.edu

Constructor Summary
RegistrationFlowHelper()
           
 
Method Summary
 void executeRegistration(Registration registration)
          Invoke methods on the OwnerDao and AvailableScheduleDao to complete the registration process.
 boolean isCurrentAuthenticatedCalendarUserAdvisor()
          Return true if the current authenticated ICalendarAccount is an advisor.
 boolean isCurrentAuthenticatedCalendarUserInstructor()
          Return true if the current authenticated ICalendarAccount is an instructor.
 void setAffiliationSource(IAffiliationSource affiliationSource)
           
 void setAvailableScheduleDao(AvailableScheduleDao availableScheduleDao)
           
 void setOwnerDao(OwnerDao ownerDao)
           
 void setReflectionService(AvailableScheduleReflectionService reflectionService)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RegistrationFlowHelper

public RegistrationFlowHelper()
Method Detail

setOwnerDao

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

setAvailableScheduleDao

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

setReflectionService

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

setAffiliationSource

public void setAffiliationSource(IAffiliationSource affiliationSource)
Parameters:
affiliationSource - the affiliationSource to set

executeRegistration

public void executeRegistration(Registration registration)
                         throws IneligibleException,
                                InputFormatException,
                                ParseException
Invoke methods on the OwnerDao and AvailableScheduleDao to complete the registration process.

Parameters:
registration -
Throws:
IneligibleException
ParseException
InputFormatException

isCurrentAuthenticatedCalendarUserAdvisor

public boolean isCurrentAuthenticatedCalendarUserAdvisor()
Return true if the current authenticated ICalendarAccount is an advisor.

Returns:

isCurrentAuthenticatedCalendarUserInstructor

public boolean isCurrentAuthenticatedCalendarUserInstructor()
Return true if the current authenticated ICalendarAccount is an instructor.

Returns:


Copyright © 2011 Jasig. All Rights Reserved.