Package org.kuali.rice.kns.service
Interface DictionaryValidationService
- All Superinterfaces:
org.kuali.rice.krad.service.DictionaryValidationService
@Deprecated
public interface DictionaryValidationService
extends org.kuali.rice.krad.service.DictionaryValidationService
Deprecated.
- Author:
- Kuali Rice Team (rice.collab@kuali.org)
-
Method Summary
Modifier and TypeMethodDescriptionvoidvalidateAttributeFormat(String entryName, String attributeName, String attributeValue, String errorKey) Deprecated.since 1.1voidvalidateAttributeFormat(String entryName, String attributeName, String attributeValue, String attributeDataType, String errorKey) Deprecated.since 1.1voidvalidateAttributeRequired(String entryName, String attributeName, Object attributeValue, Boolean forMaintenance, String errorKey) Deprecated.since 1.1voidvalidateBusinessObjectOnMaintenanceDocument(org.kuali.rice.krad.bo.BusinessObject businessObject, String docTypeName) Deprecated.voidvalidateBusinessObjectsRecursively(Object businessObject, int depth) Deprecated.since 1.1voidvalidateDocumentRecursively(org.kuali.rice.krad.document.Document document, int depth) Deprecated.UseDictionaryValidationService.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 Details
-
validateDocumentRecursively
@Deprecated void validateDocumentRecursively(org.kuali.rice.krad.document.Document document, int depth) Deprecated.UseDictionaryValidationService.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 validatedepth- - Specify how deep the recrusion should go (0 based). If a negative number is supplied, it's infinite.
-
validateBusinessObjectOnMaintenanceDocument
@Deprecated void validateBusinessObjectOnMaintenanceDocument(org.kuali.rice.krad.bo.BusinessObject businessObject, String docTypeName) Deprecated. -
validateBusinessObjectsRecursively
Deprecated.since 1.1Validates 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 validatedepth- - 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.1Validates an attribute of a given class for proper min, max length, syntax, and required.- Parameters:
entryName- - name of the dd entryattributeName- - name of attribute in the bo classattributeValue- - current value to validateerrorKey- - key to place the errors under
-
validateAttributeFormat
@Deprecated void validateAttributeFormat(String entryName, String attributeName, String attributeValue, String attributeDataType, String errorKey) Deprecated.since 1.1Validates 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 entryattributeName- - name of attribute in the bo classattributeValue- - current value to validateattributeDataType- - data type that this attribute should be treated as for validation purposeserrorKey- - key to place the errors under
-
validateAttributeRequired
@Deprecated void validateAttributeRequired(String entryName, String attributeName, Object attributeValue, Boolean forMaintenance, String errorKey) Deprecated.since 1.1Validates an attribute of a given class for required check.- Parameters:
entryName- - name of the dd entryattributeName- - name of attribute in the bo classattributeValue- - current value to validateerrorKey- - key to place to errors under
-
DictionaryValidationService.