org.kuali.rice.kns.service
Interface DictionaryValidationService

All Superinterfaces:
DictionaryValidationService

Deprecated.

@Deprecated
public interface DictionaryValidationService
extends DictionaryValidationService

Author:
Kuali Rice Team (rice.collab@kuali.org)

Method Summary
 void validateAttributeFormat(String entryName, String attributeName, String attributeValue, String errorKey)
          Deprecated. since 1.1
 void validateAttributeFormat(String entryName, String attributeName, String attributeValue, String attributeDataType, String errorKey)
          Deprecated. since 1.1
 void validateAttributeRequired(String entryName, String attributeName, Object attributeValue, Boolean forMaintenance, String errorKey)
          Deprecated. since 1.1
 void validateBusinessObjectOnMaintenanceDocument(BusinessObject businessObject, String docTypeName)
          Deprecated. 
 void validateBusinessObjectsRecursively(BusinessObject businessObject, int depth)
          Deprecated. since 1.1
 void validateDocumentRecursively(Document document, int depth)
          Deprecated. Use DictionaryValidationService.validateDocumentAndUpdatableReferencesRecursively(org.kuali.rice.krad.document.Document, int, boolean)
 
Methods inherited from interface org.kuali.rice.krad.service.DictionaryValidationService
isBusinessObjectValid, isBusinessObjectValid, validate, validate, validate, validate, validateAgainstNextState, validateAgainstState, validateBusinessObject, validateBusinessObject, validateDefaultExistenceChecks, validateDefaultExistenceChecksForNewCollectionItem, validateDefaultExistenceChecksForNewCollectionItem, validateDefaultExistenceChecksForTransDoc, validateDocument, validateDocumentAndUpdatableReferencesRecursively, validateDocumentAndUpdatableReferencesRecursively, validateDocumentAttribute, validatePrimitiveFromDescriptor, validateReferenceExists, validateReferenceExists, validateReferenceExistsAndIsActive, validateReferenceExistsAndIsActive, validateReferenceIsActive, validateReferenceIsActive
 

Method Detail

validateDocumentRecursively

@Deprecated
void validateDocumentRecursively(Document document,
                                            int depth)
Deprecated. Use DictionaryValidationService.validateDocumentAndUpdatableReferencesRecursively(org.kuali.rice.krad.document.Document, int, boolean)

Validates the contents of a document (i.e. attributes within a document) against the data dictionary. Recursively checks business objects of the document.

Parameters:
document - - document to validate
depth - - Specify how deep the recrusion should go (0 based). If a negative number is supplied, it's infinite.

validateBusinessObjectOnMaintenanceDocument

@Deprecated
void validateBusinessObjectOnMaintenanceDocument(BusinessObject businessObject,
                                                            String docTypeName)
Deprecated. 


validateBusinessObjectsRecursively

@Deprecated
void validateBusinessObjectsRecursively(BusinessObject businessObject,
                                                   int depth)
Deprecated. since 1.1

Validates the business object against the dictionary, uses reflection to get any child business objects, and recursively calls back. Adds errors to the map as they are encountered.

Parameters:
businessObject - - business object to validate
depth - - Specify how deep the recrusion should go (0 based). If a negative number is supplied, it's infinite.

validateAttributeFormat

@Deprecated
void validateAttributeFormat(String entryName,
                                        String attributeName,
                                        String attributeValue,
                                        String errorKey)
Deprecated. since 1.1

Validates an attribute of a given class for proper min, max length, syntax, and required.

Parameters:
entryName - - name of the dd entry
attributeName - - name of attribute in the bo class
attributeValue - - current value to validate
errorKey - - key to place the errors under

validateAttributeFormat

@Deprecated
void validateAttributeFormat(String entryName,
                                        String attributeName,
                                        String attributeValue,
                                        String attributeDataType,
                                        String errorKey)
Deprecated. since 1.1

Validates an attribute of a given class for proper min, max length, syntax, and required. The attribute will be validated according to the specified data type.

Parameters:
entryName - - name of the dd entry
attributeName - - name of attribute in the bo class
attributeValue - - current value to validate
attributeDataType - - data type that this attribute should be treated as for validation purposes
errorKey - - key to place the errors under

validateAttributeRequired

@Deprecated
void validateAttributeRequired(String entryName,
                                          String attributeName,
                                          Object attributeValue,
                                          Boolean forMaintenance,
                                          String errorKey)
Deprecated. since 1.1

Validates an attribute of a given class for required check.

Parameters:
entryName - - name of the dd entry
attributeName - - name of attribute in the bo class
attributeValue - - current value to validate
errorKey - - key to place to errors under


Copyright © 2005-2012 The Kuali Foundation. All Rights Reserved.