@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, validateUpdatabableReferencesRecursivelyclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitvalidateBusinessObjectsRecursivelyisBusinessObjectValid, isBusinessObjectValid, validate, validate, validate, validate, validateAgainstNextState, validateAgainstState, validateDefaultExistenceChecks, validateDefaultExistenceChecksForNewCollectionItem, validateDefaultExistenceChecksForNewCollectionItem, validateDefaultExistenceChecksForTransDoc, validateDocumentAndUpdatableReferencesRecursively, validateDocumentAttribute, validateReferenceExists, validateReferenceExists, validateReferenceExistsAndIsActive, validateReferenceExistsAndIsActive, validateReferenceIsActive, validateReferenceIsActiveprotected WorkflowAttributePropertyResolutionService workflowAttributePropertyResolutionService
public DictionaryValidationServiceImpl()
@Deprecated public void validateDocumentAndUpdatableReferencesRecursively(Document document, int maxDepth, boolean validateRequired, boolean chompLastLetterSFromCollectionName)
DictionaryValidationServicevalidateDocumentAndUpdatableReferencesRecursively in interface DictionaryValidationServicevalidateDocumentAndUpdatableReferencesRecursively in class DictionaryValidationServiceImpldocument - 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)
DictionaryValidationServicedocument - - 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)
DictionaryValidationServicevalidateDocument in interface DictionaryValidationServicevalidateDocument in class DictionaryValidationServiceImpldocument - - document to validateDictionaryValidationService.validateDocument(org.kuali.rice.krad.document.Document)@Deprecated public void validateBusinessObject(Object businessObject)
DictionaryValidationServicevalidateBusinessObject in interface DictionaryValidationServicevalidateBusinessObject in class DictionaryValidationServiceImplbusinessObject - - business object to validateorg.kuali.rice.krad.service.DictionaryValidationService#validateBusinessObject(org.kuali.rice.krad.bo.BusinessObject)@Deprecated public void validateBusinessObject(Object businessObject, boolean validateRequired)
DictionaryValidationServicevalidateBusinessObject in interface DictionaryValidationServicevalidateBusinessObject in class DictionaryValidationServiceImplbusinessObject - - 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 DictionaryValidationServicevalidatePrimitiveFromDescriptor in class DictionaryValidationServiceImplentryName - object - propertyDescriptor - errorPrefix - @Deprecated public void validateAttributeFormat(String objectClassName, String attributeName, String attributeInValue, String errorKey)
DictionaryValidationServiceobjectClassName - - 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)
DictionaryValidationServiceobjectClassName - - 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
WorkflowAttributePropertyResolutionServiceCopyright © 2005–2016 The Kuali Foundation. All rights reserved.