|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.kuali.rice.krad.service.impl.DictionaryValidationServiceImpl org.kuali.rice.kns.service.impl.DictionaryValidationServiceImpl
@Deprecated public class DictionaryValidationServiceImpl
Field Summary | |
---|---|
protected WorkflowAttributePropertyResolutionService |
workflowAttributePropertyResolutionService
Deprecated. |
Fields inherited from class org.kuali.rice.krad.service.impl.DictionaryValidationServiceImpl |
---|
businessObjectService, dataDictionaryService, documentDictionaryService, persistenceService, persistenceStructureService, VALIDATE_METHOD |
Constructor Summary | |
---|---|
DictionaryValidationServiceImpl()
Deprecated. |
Method Summary | |
---|---|
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(BusinessObject businessObject)
Deprecated. |
void |
validateBusinessObject(BusinessObject 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. |
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 |
Field Detail |
---|
protected WorkflowAttributePropertyResolutionService workflowAttributePropertyResolutionService
Constructor Detail |
---|
public DictionaryValidationServiceImpl()
Method Detail |
---|
@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(BusinessObject businessObject)
DictionaryValidationService
validateBusinessObject
in interface DictionaryValidationService
validateBusinessObject
in class DictionaryValidationServiceImpl
businessObject
- - business object to validateDictionaryValidationService.validateBusinessObject(org.kuali.rice.krad.bo.BusinessObject)
@Deprecated public void validateBusinessObject(BusinessObject businessObject, boolean validateRequired)
DictionaryValidationService
validateBusinessObject
in interface DictionaryValidationService
validateBusinessObject
in class DictionaryValidationServiceImpl
businessObject
- - business object to validatevalidateRequired
- - whether to execute required field checksDictionaryValidationService.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
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |