org.kuali.student.r2.lum.course.service.utils
Class SubjectAreaUnitOwnerValidator

java.lang.Object
  extended by org.kuali.student.r2.common.validator.BaseAbstractValidator
      extended by org.kuali.student.r2.common.validator.DefaultValidatorImpl
          extended by org.kuali.student.r2.lum.course.service.utils.SubjectAreaUnitOwnerValidator
All Implemented Interfaces:
Validator

public class SubjectAreaUnitOwnerValidator
extends DefaultValidatorImpl

Validates Subject COde usage If the Course has a subject code with usage of all, the


Field Summary
protected  SearchService searchDispatcher
           
 
Fields inherited from class org.kuali.student.r2.common.validator.BaseAbstractValidator
validatorFactory
 
Constructor Summary
SubjectAreaUnitOwnerValidator()
           
 
Method Summary
 void setSearchDispatcher(SearchService searchDispatcher)
           
 List<ValidationResultInfo> validateObject(FieldDefinition field, Object o, ObjectStructureDefinition objStructure, Stack<String> elementStack, ContextInfo contextInfo)
           
 
Methods inherited from class org.kuali.student.r2.common.validator.DefaultValidatorImpl
addCrossFieldWarning, getDateParser, getElementXpath, getMessage, getMessageGroupKey, getMessageLocaleKey, getMessageService, getSearchDispatcher, hasText, isServerSide, processBaseConstraints, processCaseConstraint, processConstraint, processCrossFieldWarning, processCrossFieldWarning, processCrossFieldWarning, processLookupConstraint, processNestedObjectStructure, processOccursConstraint, processRequireConstraint, processValidCharConstraint, setDateParser, setMessageGroupKey, setMessageLocaleKey, setMessageService, setServerSide, toMap, tryParse, validateBoolean, validateDate, validateDouble, validateField, validateFloat, validateInteger, validateLong, validateObject, validateObject, validateString
 
Methods inherited from class org.kuali.student.r2.common.validator.BaseAbstractValidator
getValidatorFactory, setValidatorFactory
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

searchDispatcher

protected SearchService searchDispatcher
Constructor Detail

SubjectAreaUnitOwnerValidator

public SubjectAreaUnitOwnerValidator()
Method Detail

validateObject

public List<ValidationResultInfo> validateObject(FieldDefinition field,
                                                 Object o,
                                                 ObjectStructureDefinition objStructure,
                                                 Stack<String> elementStack,
                                                 ContextInfo contextInfo)
Specified by:
validateObject in interface Validator
Overrides:
validateObject in class DefaultValidatorImpl
See Also:
org.kuali.student.r1.common.validator.Validator#validateObject(org.kuali.student.common.dictionary.dto.FieldDefinition, java.lang.Object, org.kuali.student.common.dictionary.dto.ObjectStructureDefinition, java.util.Stack)

setSearchDispatcher

public void setSearchDispatcher(SearchService searchDispatcher)
Overrides:
setSearchDispatcher in class DefaultValidatorImpl


Copyright © 2004-2013 The Kuali Foundation. All Rights Reserved.