public class CustomDataRule extends ResearchDocumentRuleBase implements BusinessRuleInterface<SaveCustomDataEvent>
CHOMP_LAST_LETTER_S_FROM_COLLECTION_NAME, DOCUMENT_ERROR_PATH, VALIDATION_REQUIRED| Constructor and Description |
|---|
CustomDataRule() |
| Modifier and Type | Method and Description |
|---|---|
CustomAttributeService |
getCustomAttributeService()
Gets the Custom Attribute Service.
|
protected KcPersonService |
getKcPersonService()
This method is a helper method to retrieve KcPersonService.
|
boolean |
processRules(SaveCustomDataEvent event)
This method implementer must process rule for the event passed.
|
void |
setCustomAttributeService(CustomAttributeService customAttributeService)
Sets the Custom Attribute Service.
|
protected boolean |
validateAttributeFormat(CustomAttribute customAttribute,
String errorKey,
SaveCustomDataEvent event)
This method is to validate the format/length of custom attribute
|
addAuditError, getBusinessObjectService, getErrorReporter, getKnsDictionaryValidationService, getParameterService, getSoftErrors, hasPermission, hasPermission, hasRole, hasRole, isInvalid, isValid, keyValue, processBudgetVersionsBusinessRule, processRunAuditBusinessRules, reportError, reportErrorWithoutFullErrorPath, reportSoftError, reportWarning, setBusinessObjectService, setParameterServicebuildDocumentTypeActionRequestPermissionDetails, buildDocumentTypePermissionDetails, getDataDictionaryService, getDictionaryValidationService, getDocumentDictionaryService, getGroupService, getKualiConfigurationService, getMaxDictionaryValidationDepth, getPermissionService, getPersonService, hasAdHocRouteCompletion, isAddHocRoutePersonValid, isAddHocRouteWorkgroupValid, isAdHocRouteCompletionToInitiator, isAdHocRouteRecipientsValid, isDocumentAttributesValid, isDocumentOverviewValid, isNoteValid, processAddAdHocRoutePerson, processAddAdHocRouteWorkgroup, processAddNote, processApproveDocument, processCompleteDocument, processCustomAddAdHocRoutePersonBusinessRules, processCustomAddAdHocRouteWorkgroupBusinessRules, processCustomAddNoteBusinessRules, processCustomApproveDocumentBusinessRules, processCustomCompleteDocumentBusinessRules, processCustomRouteDocumentBusinessRules, processCustomSaveDocumentBusinessRules, processCustomSendAdHocRequests, processRouteDocument, processSaveDocument, processSendAdHocRequests, setDocumentDictionaryService, setMaxDictionaryValidationDepth, useKimPermission, validateSensitiveDataValuepublic boolean processRules(SaveCustomDataEvent event)
processRules in interface BusinessRuleInterface<SaveCustomDataEvent>BusinessRuleInterface.processRules(org.kuali.kra.rule.event.KraDocumentEventBaseExtension)protected boolean validateAttributeFormat(CustomAttribute customAttribute, String errorKey, SaveCustomDataEvent event)
customAttribute - errorKey - public CustomAttributeService getCustomAttributeService()
public void setCustomAttributeService(CustomAttributeService customAttributeService)
customAttributeService - the Custom Attribute Serviceprotected KcPersonService getKcPersonService()
Copyright © 2013 The Kuali Foundation. All Rights Reserved.