org.kuali.student.r2.common.datadictionary
Class RiceDataDictionaryValidatorImpl
java.lang.Object
org.kuali.student.r2.common.datadictionary.RiceDataDictionaryValidatorImpl
- All Implemented Interfaces:
- DataDictionaryValidator
public class RiceDataDictionaryValidatorImpl
- extends Object
- implements DataDictionaryValidator
This is an implementation that gets the dictionary directly using KS methods but then calls
the rice validation method that takes in the dictionary entry to be used.
*** THIS IS THE ONLY WAY I COULD GET THE INTEGRATION TO WORK ***
I could not figure out how to get the validation to work by simply calling
the validate(info, doOptionalProcessing) method so instead I had to read the dictionary
myself and pass the dictionary in on the call using the
validate(info,entryName, dictEntry, doOptionalProcessing) method instead
- Author:
- nwright
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
RiceDataDictionaryValidatorImpl
public RiceDataDictionaryValidatorImpl()
getRiceDataDictionaryService
public RiceDataDictionaryServiceInfc getRiceDataDictionaryService()
setRiceDataDictionaryService
public void setRiceDataDictionaryService(RiceDataDictionaryServiceInfc riceDataDictionaryService)
getRiceDictionaryValidationService
public org.kuali.rice.krad.service.DictionaryValidationService getRiceDictionaryValidationService()
setRiceDictionaryValidationService
public void setRiceDictionaryValidationService(org.kuali.rice.krad.service.DictionaryValidationService riceDictionaryValidationService)
validate
public List<ValidationResultInfo> validate(DataDictionaryValidator.ValidationType validationType,
Object info,
ContextInfo context)
throws OperationFailedException,
MissingParameterException,
InvalidParameterException,
PermissionDeniedException
- Description copied from interface:
DataDictionaryValidator
- Generic validation interface used to implement the individual validateXXXX (xxxxx) methods
This is not supposed to remotable because it's object is an Object.
- Specified by:
validate
in interface DataDictionaryValidator
info
- object to be validatedcontext
- of user and locale information
- Returns:
- list of validation results
- Throws:
OperationFailedException
MissingParameterException
InvalidParameterException
PermissionDeniedException
Copyright © 2004-2012 The Kuali Foundation. All Rights Reserved.