org.jasig.schedassist.web.admin
Class VisibleScheduleDebugFormBackingObjectValidator
java.lang.Object
org.jasig.schedassist.web.admin.VisibleScheduleDebugFormBackingObjectValidator
- All Implemented Interfaces:
- org.springframework.validation.Validator
@Component
public class VisibleScheduleDebugFormBackingObjectValidator
- extends Object
- implements org.springframework.validation.Validator
Validator for VisibleScheduleDebugFormBackingObjects.
- Version:
- $Id: VisibleScheduleDebugFormBackingObjectValidator.java 2978 2011-01-25 19:20:51Z npblair $
- Author:
- Nicholas Blair, nblair@doit.wisc.edu
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
VisibleScheduleDebugFormBackingObjectValidator
public VisibleScheduleDebugFormBackingObjectValidator()
setCalendarAccountDao
public void setCalendarAccountDao(@Qualifier(value="people")
ICalendarAccountDao calendarAccountDao)
- Parameters:
calendarAccountDao - the calendarAccountDao to set
setDelegateCalendarAccountDao
public void setDelegateCalendarAccountDao(@Qualifier(value="delegates")
IDelegateCalendarAccountDao delegateCalendarAccountDao)
- Parameters:
delegateCalendarAccountDao - the delegateCalendarAccountDao to set
setOwnerDao
public void setOwnerDao(OwnerDao ownerDao)
- Parameters:
ownerDao - the ownerDao to set
setVisitorDao
public void setVisitorDao(VisitorDao visitorDao)
- Parameters:
visitorDao - the visitorDao to set
supports
public boolean supports(Class<?> clazz)
- Specified by:
supports in interface org.springframework.validation.Validator
validate
public void validate(Object target,
org.springframework.validation.Errors errors)
- Specified by:
validate in interface org.springframework.validation.Validator
locateVisitor
protected IScheduleVisitor locateVisitor(AccountLookupFormBackingObject lookupObject)
- Parameters:
lookupObject -
- Returns:
- the corresponding
IScheduleVisitor, or null if not found
locateOwner
protected IScheduleOwner locateOwner(AccountLookupFormBackingObject lookupObject)
- Parameters:
lookupObject -
- Returns:
- the corresponding
IScheduleOwner, or null if not found
Copyright © 2012 Jasig. All Rights Reserved.