org.kuali.student.datadictionary
Class RiceDataDictionaryValidatorImpl
java.lang.Object
org.kuali.student.datadictionary.RiceDataDictionaryValidatorImpl
- All Implemented Interfaces:
- DataDictionaryValidatorInfc
public class RiceDataDictionaryValidatorImpl
- extends Object
- implements DataDictionaryValidatorInfc
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 |
LOG
private static org.apache.log4j.Logger LOG
riceDataDictionaryService
private RiceDataDictionaryServiceInfc riceDataDictionaryService
riceDictionaryValidationService
private org.kuali.rice.kns.service.DictionaryValidationService riceDictionaryValidationService
RiceDataDictionaryValidatorImpl
public RiceDataDictionaryValidatorImpl()
getRiceDataDictionaryService
public RiceDataDictionaryServiceInfc getRiceDataDictionaryService()
setRiceDataDictionaryService
public void setRiceDataDictionaryService(RiceDataDictionaryServiceInfc riceDataDictionaryService)
getRiceDictionaryValidationService
public org.kuali.rice.kns.service.DictionaryValidationService getRiceDictionaryValidationService()
setRiceDictionaryValidationService
public void setRiceDictionaryValidationService(org.kuali.rice.kns.service.DictionaryValidationService riceDictionaryValidationService)
validate
public List<ValidationResultInfo> validate(DataDictionaryValidatorInfc.ValidationType validationType,
Object info,
ContextInfo context)
throws OperationFailedException,
MissingParameterException,
InvalidParameterException,
PermissionDeniedException
- Description copied from interface:
DataDictionaryValidatorInfc
- 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 DataDictionaryValidatorInfc
info
- object to be validatedcontext
- of user and locale information
- Returns:
- list of validation results
- Throws:
OperationFailedException
MissingParameterException
InvalidParameterException
PermissionDeniedException
Copyright © 2007-2011 The Kuali Foundation. All Rights Reserved.