org.jasig.schedassist.web.register.delegate
Class DelegateRegistrationHelper

java.lang.Object
  extended by org.jasig.schedassist.web.register.delegate.DelegateRegistrationHelper

@Service(value="delegateRegistrationHelper")
public class DelegateRegistrationHelper
extends Object

Helper class used in the delegate-register webflow.

Version:
$Id: DelegateRegistrationHelper.java 2695 2010-09-24 13:20:05Z npblair $
Author:
Nicholas Blair, nblair@doit.wisc.edu

Constructor Summary
DelegateRegistrationHelper()
           
 
Method Summary
 boolean currentDelegateIsIneligible()
           
 String currentDelegateLocation()
          Returns the value of the name field if IDelegateCalendarAccount.getLocation() does not return null; otherwise returns the default value of Preferences.LOCATION.
 String currentDelegateUsername()
           
 void executeDelegateRegistration(Registration registration)
           
 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

DelegateRegistrationHelper

public DelegateRegistrationHelper()
Method Detail

setAvailableScheduleDao

public void setAvailableScheduleDao(AvailableScheduleDao availableScheduleDao)
Parameters:
availableScheduleDao - the availableScheduleDao 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

executeDelegateRegistration

public void executeDelegateRegistration(Registration registration)
                                 throws IneligibleException,
                                        InputFormatException,
                                        ParseException
Parameters:
registration -
Throws:
IneligibleException
InputFormatException
ParseException

currentDelegateUsername

public String currentDelegateUsername()
Returns:

currentDelegateLocation

public String currentDelegateLocation()
Returns the value of the name field if IDelegateCalendarAccount.getLocation() does not return null; otherwise returns the default value of Preferences.LOCATION.

Returns:
a String containing the current authenticated IDelegateCalendarAccount location name

currentDelegateIsIneligible

public boolean currentDelegateIsIneligible()
Returns:
true if the current authenticated delegate has ineligible for service


Copyright © 2011 Jasig. All Rights Reserved.