org.jasig.schedassist.web.owner.preferences
Class PreferencesFormBackingObjectValidator
java.lang.Object
org.jasig.schedassist.web.owner.preferences.PreferencesFormBackingObjectValidator
- All Implemented Interfaces:
- Serializable, org.springframework.beans.factory.InitializingBean, org.springframework.validation.Validator
@Component
public class PreferencesFormBackingObjectValidator
- extends Object
- implements org.springframework.validation.Validator, org.springframework.beans.factory.InitializingBean, Serializable
Validator implementation for PreferencesFormBackingObject.
- Version:
- $Id: PreferencesFormBackingObjectValidator.java 3039 2011-02-03 14:55:17Z npblair $
- Author:
- Nicholas Blair, nblair@doit.wisc.edu
- See Also:
- Serialized Form
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
COLUMN_HARD_LIMIT
public static final int COLUMN_HARD_LIMIT
- See Also:
- Constant Field Values
MEETING_LENGTH_HARD_LIMIT
public static final int MEETING_LENGTH_HARD_LIMIT
- See Also:
- Constant Field Values
PreferencesFormBackingObjectValidator
public PreferencesFormBackingObjectValidator()
setNoteboardMaxLength
public void setNoteboardMaxLength(int noteboardMaxLength)
- Parameters:
noteboardMaxLength - the noteboardMaxLength to set
setLocationMaxLength
public void setLocationMaxLength(int locationMaxLength)
- Parameters:
locationMaxLength - the locationMaxLength to set
setTitlePrefixMaxLength
public void setTitlePrefixMaxLength(int titlePrefixMaxLength)
- Parameters:
titlePrefixMaxLength - the titlePrefixMaxLength to set
setMaxMeetingLength
public void setMaxMeetingLength(int maxMeetingLength)
- Parameters:
maxMeetingLength - the maxMeetingLength to set
setMinMeetingLength
public void setMinMeetingLength(int minMeetingLength)
- Parameters:
minMeetingLength - the minMeetingLength to set
afterPropertiesSet
public void afterPropertiesSet()
throws Exception
- Specified by:
afterPropertiesSet in interface org.springframework.beans.factory.InitializingBean
- Throws:
Exception
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
Copyright © 2012 Jasig. All Rights Reserved.