org.kuali.rice.kns.service.impl
Class DictionaryValidationServiceImpl

java.lang.Object
  extended by org.kuali.rice.krad.service.impl.DictionaryValidationServiceImpl
      extended by org.kuali.rice.kns.service.impl.DictionaryValidationServiceImpl
All Implemented Interfaces:
DictionaryValidationService

Deprecated.

@Deprecated
public class DictionaryValidationServiceImpl
extends DictionaryValidationServiceImpl
implements DictionaryValidationService

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

Field Summary
private static org.apache.log4j.Logger LOG
          Deprecated.  
 
Fields inherited from class org.kuali.rice.krad.service.impl.DictionaryValidationServiceImpl
businessObjectService, dataDictionaryService, documentDictionaryService, persistenceService, persistenceStructureService, VALIDATE_METHOD, workflowAttributePropertyResolutionService
 
Constructor Summary
DictionaryValidationServiceImpl()
          Deprecated.  
 
Method Summary
 void validateAttributeFormat(String objectClassName, String attributeName, String attributeInValue, String errorKey)
          Deprecated. since 1.1
 void validateAttributeFormat(String objectClassName, String attributeName, String attributeInValue, String attributeDataType, String errorKey)
          Deprecated. since 1.1
 void validateAttributeRequired(String objectClassName, String attributeName, Object attributeValue, Boolean forMaintenance, String errorKey)
          Deprecated. 
 void validateBusinessObjectOnMaintenanceDocument(BusinessObject businessObject, String docTypeName)
          Deprecated. since 1.1
 void validateDocumentRecursively(Document document, int depth)
          Deprecated. 
 
Methods inherited from class org.kuali.rice.krad.service.impl.DictionaryValidationServiceImpl
getCollectionConstraintProcessors, getConstraintProviders, getDataDictionaryService, getDocumentDictionaryService, getElementConstraintProcessors, getWorkflowAttributePropertyResolutionService, isBusinessObjectValid, isBusinessObjectValid, setBusinessObjectService, setCollectionConstraintProcessors, setConstraintProviders, setDataDictionaryService, setDocumentDictionaryService, setElementConstraintProcessors, setPersistenceService, setPersistenceStructureService, validate, validate, validate, validate, validate, validate, validate, validate, validate, validate, validateBusinessObject, validateBusinessObject, validateBusinessObjectsFromDescriptors, validateBusinessObjectsRecursively, validateDefaultExistenceChecks, validateDefaultExistenceChecksForNewCollectionItem, validateDefaultExistenceChecksForNewCollectionItem, validateDefaultExistenceChecksForTransDoc, validateDocument, validateDocumentAndUpdatableReferencesRecursively, validateDocumentAndUpdatableReferencesRecursively, validateDocumentAttribute, validatePrimitiveFromDescriptor, validateReferenceExists, validateReferenceExists, validateReferenceExistsAndIsActive, validateReferenceExistsAndIsActive, validateReferenceIsActive, validateReferenceIsActive
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.kuali.rice.kns.service.DictionaryValidationService
validateBusinessObjectsRecursively
 
Methods inherited from interface org.kuali.rice.krad.service.DictionaryValidationService
isBusinessObjectValid, isBusinessObjectValid, validate, validate, validate, validate, validate, validate, validate, validate, validate, validateBusinessObject, validateBusinessObject, validateDefaultExistenceChecks, validateDefaultExistenceChecksForNewCollectionItem, validateDefaultExistenceChecksForNewCollectionItem, validateDefaultExistenceChecksForTransDoc, validateDocument, validateDocumentAndUpdatableReferencesRecursively, validateDocumentAndUpdatableReferencesRecursively, validateDocumentAttribute, validatePrimitiveFromDescriptor, validateReferenceExists, validateReferenceExists, validateReferenceExistsAndIsActive, validateReferenceExistsAndIsActive, validateReferenceIsActive, validateReferenceIsActive
 

Field Detail

LOG

private static org.apache.log4j.Logger LOG
Deprecated. 
Constructor Detail

DictionaryValidationServiceImpl

public DictionaryValidationServiceImpl()
Deprecated. 
Method Detail

validateDocumentRecursively

@Deprecated
public void validateDocumentRecursively(Document document,
                                                   int depth)
Deprecated. 

Description copied from interface: DictionaryValidationService
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.
See Also:
org.kuali.rice.krad.service.DictionaryValidationService#validateDocumentRecursively

validateBusinessObjectOnMaintenanceDocument

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

See Also:
org.kuali.rice.krad.service.DictionaryValidationService#validateBusinessObjectOnMaintenanceDocument(org.kuali.rice.krad.bo.BusinessObject, java.lang.String)

validateAttributeFormat

@Deprecated
public void validateAttributeFormat(String objectClassName,
                                               String attributeName,
                                               String attributeInValue,
                                               String errorKey)
Deprecated. since 1.1

Description copied from interface: DictionaryValidationService
Validates an attribute of a given class for proper min, max length, syntax, and required.

Parameters:
objectClassName - - name of the dd entry
attributeName - - name of attribute in the bo class
attributeInValue - - current value to validate
errorKey - - key to place the errors under
See Also:
objectClassName is the docTypeName

validateAttributeFormat

@Deprecated
public void validateAttributeFormat(String objectClassName,
                                               String attributeName,
                                               String attributeInValue,
                                               String attributeDataType,
                                               String errorKey)
Deprecated. since 1.1

The attributeDataType parameter should be one of the data types specified by the SearchableAttribute interface; will default to DATA_TYPE_STRING if a data type other than the ones from SearchableAttribute is specified.

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

validateAttributeRequired

@Deprecated
public void validateAttributeRequired(String objectClassName,
                                                 String attributeName,
                                                 Object attributeValue,
                                                 Boolean forMaintenance,
                                                 String errorKey)
Deprecated. 

Description copied from interface: DictionaryValidationService
Validates an attribute of a given class for required check.

Parameters:
objectClassName - - 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
See Also:
org.kuali.rice.krad.service.DictionaryValidationService#validateAttributeRequired


Copyright © 2004-2011 The Kuali Foundation. All Rights Reserved.