Interface DictionaryValidationService

All Superinterfaces:
DictionaryValidationService

@Deprecated public interface DictionaryValidationService extends DictionaryValidationService
Deprecated.
Author:
Kuali Rice Team (rice.collab@kuali.org)
  • Method Details

    • validateDocumentRecursively

      @Deprecated void validateDocumentRecursively(Document document, int depth)
      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(Object 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