@Deprecated public class DictionaryValidationServiceImpl extends DictionaryValidationServiceImpl implements DictionaryValidationService
Modifier and Type | Field and Description |
---|---|
protected WorkflowAttributePropertyResolutionService |
workflowAttributePropertyResolutionService
Deprecated.
|
dataDictionaryService, documentDictionaryService, VALIDATE_METHOD
Constructor and Description |
---|
DictionaryValidationServiceImpl()
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
protected WorkflowAttributePropertyResolutionService |
getWorkflowAttributePropertyResolutionService()
Deprecated.
gets the locally saved instance of @{link WorkflowAttributePropertyResolutionService}
|
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 |
validateBusinessObject(Object businessObject)
Deprecated.
|
void |
validateBusinessObject(Object businessObject,
boolean validateRequired)
Deprecated.
|
void |
validateBusinessObjectOnMaintenanceDocument(BusinessObject businessObject,
String docTypeName)
Deprecated.
since 1.1
|
protected void |
validateBusinessObjectOnMaintenanceDocumentHelper(BusinessObject businessObject,
List<? extends MaintainableItemDefinition> itemDefinitions,
String errorPrefix)
Deprecated.
|
void |
validateDocument(Document document)
Deprecated.
since 2.1.2
|
void |
validateDocumentAndUpdatableReferencesRecursively(Document document,
int maxDepth,
boolean validateRequired,
boolean chompLastLetterSFromCollectionName)
Deprecated.
since 2.1
|
void |
validateDocumentRecursively(Document document,
int depth)
Deprecated.
since 2.0
|
void |
validatePrimitiveFromDescriptor(String entryName,
Object object,
PropertyDescriptor propertyDescriptor,
String errorPrefix,
boolean validateRequired)
Deprecated.
|
protected void |
validatePrimitivesFromDescriptors(String entryName,
Object object,
PropertyDescriptor[] propertyDescriptors,
String errorPrefix,
boolean validateRequired)
Deprecated.
|
getCollectionConstraintProcessors, getConstraintProviders, getDataDictionaryService, getDocumentDictionaryService, getElementConstraintProcessors, getLegacyDataAdapter, isBusinessObjectValid, isBusinessObjectValid, newIdentitySet, processCollectionConstraints, processElementConstraints, setCollectionConstraintProcessors, setConstraintProviders, setDataDictionaryService, setDocumentDictionaryService, setElementConstraintProcessors, validate, validate, validate, validate, validateAgainstNextState, validateAgainstState, validateAttribute, validateAttribute, validateBusinessObjectsFromDescriptors, validateBusinessObjectsRecursively, validateDefaultExistenceChecks, validateDefaultExistenceChecksForNewCollectionItem, validateDefaultExistenceChecksForNewCollectionItem, validateDefaultExistenceChecksForTransDoc, validateDocumentAndUpdatableReferencesRecursively, validateDocumentAttribute, validateObject, validateReferenceExists, validateReferenceExists, validateReferenceExistsAndIsActive, validateReferenceExistsAndIsActive, validateReferenceIsActive, validateReferenceIsActive, validateUpdatabableReferencesRecursively
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
validateBusinessObjectsRecursively
isBusinessObjectValid, isBusinessObjectValid, validate, validate, validate, validate, validateAgainstNextState, validateAgainstState, validateDefaultExistenceChecks, validateDefaultExistenceChecksForNewCollectionItem, validateDefaultExistenceChecksForNewCollectionItem, validateDefaultExistenceChecksForTransDoc, validateDocumentAndUpdatableReferencesRecursively, validateDocumentAttribute, validateReferenceExists, validateReferenceExists, validateReferenceExistsAndIsActive, validateReferenceExistsAndIsActive, validateReferenceIsActive, validateReferenceIsActive
protected WorkflowAttributePropertyResolutionService workflowAttributePropertyResolutionService
public DictionaryValidationServiceImpl()
@Deprecated public void validateDocumentAndUpdatableReferencesRecursively(Document document, int maxDepth, boolean validateRequired, boolean chompLastLetterSFromCollectionName)
DictionaryValidationService
validateDocumentAndUpdatableReferencesRecursively
in interface DictionaryValidationService
validateDocumentAndUpdatableReferencesRecursively
in class DictionaryValidationServiceImpl
document
- the documentmaxDepth
- the maximum numbers of levels to recursevalidateRequired
- whether to validate whether a field is required and is currently blankchompLastLetterSFromCollectionName
- if true, the error path for any collections encountered will have the
last "s" removed from the collection name if it ends
with the letter "s". If false, this method acts like DictionaryValidationService.validateDocumentAndUpdatableReferencesRecursively(Document,
int, boolean)
DictionaryValidationService.validateDocumentAndUpdatableReferencesRecursively(org.kuali.rice.krad.document.Document, int, boolean, boolean)
@Deprecated public void validateDocumentRecursively(Document document, int depth)
DictionaryValidationService
document
- - document to validatedepth
- - Specify how deep the recrusion should go (0 based). If a negative number is supplied, it's
infinite.DictionaryValidationService.validateDocumentRecursively(org.kuali.rice.krad.document.Document, int)
@Deprecated public void validateDocument(Document document)
DictionaryValidationService
validateDocument
in interface DictionaryValidationService
validateDocument
in class DictionaryValidationServiceImpl
document
- - document to validateDictionaryValidationService.validateDocument(org.kuali.rice.krad.document.Document)
@Deprecated public void validateBusinessObject(Object businessObject)
DictionaryValidationService
validateBusinessObject
in interface DictionaryValidationService
validateBusinessObject
in class DictionaryValidationServiceImpl
businessObject
- - business object to validateorg.kuali.rice.krad.service.DictionaryValidationService#validateBusinessObject(org.kuali.rice.krad.bo.BusinessObject)
@Deprecated public void validateBusinessObject(Object businessObject, boolean validateRequired)
DictionaryValidationService
validateBusinessObject
in interface DictionaryValidationService
validateBusinessObject
in class DictionaryValidationServiceImpl
businessObject
- - business object to validatevalidateRequired
- - whether to execute required field checksorg.kuali.rice.krad.service.DictionaryValidationService#validateBusinessObject(org.kuali.rice.krad.bo.BusinessObject,
boolean)
@Deprecated public void validateBusinessObjectOnMaintenanceDocument(BusinessObject businessObject, String docTypeName)
protected void validateBusinessObjectOnMaintenanceDocumentHelper(BusinessObject businessObject, List<? extends MaintainableItemDefinition> itemDefinitions, String errorPrefix)
@Deprecated protected void validatePrimitivesFromDescriptors(String entryName, Object object, PropertyDescriptor[] propertyDescriptors, String errorPrefix, boolean validateRequired)
entryName
- object
- propertyDescriptors
- errorPrefix
- @Deprecated public void validatePrimitiveFromDescriptor(String entryName, Object object, PropertyDescriptor propertyDescriptor, String errorPrefix, boolean validateRequired)
validatePrimitiveFromDescriptor
in interface DictionaryValidationService
validatePrimitiveFromDescriptor
in class DictionaryValidationServiceImpl
entryName
- object
- propertyDescriptor
- errorPrefix
- @Deprecated public void validateAttributeFormat(String objectClassName, String attributeName, String attributeInValue, String errorKey)
DictionaryValidationService
objectClassName
- - name of the dd entryattributeName
- - name of attribute in the bo classattributeInValue
- - current value to validateerrorKey
- - key to place the errors underobjectClassName is the docTypeName
@Deprecated public void validateAttributeFormat(String objectClassName, String attributeName, String attributeInValue, String attributeDataType, String errorKey)
objectClassName
- - name of the dd entryattributeName
- - name of attribute in the bo classattributeInValue
- - current value to validateattributeDataType
- - data type that this attribute should be treated as for validation purposeserrorKey
- - key to place the errors under@Deprecated public void validateAttributeRequired(String objectClassName, String attributeName, Object attributeValue, Boolean forMaintenance, String errorKey)
DictionaryValidationService
objectClassName
- - name of the dd entryattributeName
- - name of attribute in the bo classattributeValue
- - current value to validateerrorKey
- - key to place to errors underprotected WorkflowAttributePropertyResolutionService getWorkflowAttributePropertyResolutionService()
If the instance in this class has not been initialized, retrieve it using
KNSServiceLocator.getWorkflowAttributePropertyResolutionService()
and save locally
WorkflowAttributePropertyResolutionService
Copyright © 2005–2016 The Kuali Foundation. All rights reserved.