public class AccessSecurityAccountingDocumentRuleBase extends AccountingRuleEngineRuleBase
Constructor and Description |
---|
AccessSecurityAccountingDocumentRuleBase() |
Modifier and Type | Method and Description |
---|---|
protected boolean |
checkEditAccessForAccountingLine(AccountingDocument document,
AccountingLine line)
Calls AccessSecurityService to check access edit permissions on accounting line for the current user
|
protected AccessSecurityService |
getAccessSecurityService() |
boolean |
validateForEvent(AttributedDocumentEvent event)
For add or update accounting line events checks the given user has access permissions for the line
|
getDataDictionaryEntryForDocument, isDocumentAttributesValid, processCustomAddAdHocRoutePersonBusinessRules, processCustomAddAdHocRouteWorkgroupBusinessRules, processCustomAddNoteBusinessRules, processCustomApproveDocumentBusinessRules, processCustomRouteDocumentBusinessRules, processCustomSaveDocumentBusinessRules
getDictionaryValidationService
buildDocumentTypeActionRequestPermissionDetails, buildDocumentTypePermissionDetails, getDataDictionaryService, getDocumentDictionaryService, getGroupService, getKualiConfigurationService, getMaxDictionaryValidationDepth, getPermissionService, getPersonService, hasAdHocRouteCompletion, isAddHocRoutePersonValid, isAddHocRouteWorkgroupValid, isAdHocRouteCompletionToInitiator, isAdHocRouteRecipientsValid, isDocumentOverviewValid, isNoteValid, processAddAdHocRoutePerson, processAddAdHocRouteWorkgroup, processAddNote, processApproveDocument, processCompleteDocument, processCustomCompleteDocumentBusinessRules, processCustomSendAdHocRequests, processRouteDocument, processSaveDocument, processSendAdHocRequests, setDocumentDictionaryService, setMaxDictionaryValidationDepth, useKimPermission, validateSensitiveDataValue
public AccessSecurityAccountingDocumentRuleBase()
public boolean validateForEvent(AttributedDocumentEvent event)
validateForEvent
in interface AccountingRuleEngineRule
validateForEvent
in class AccountingRuleEngineRuleBase
event
- the event to validateAccountingRuleEngineRuleBase.validateForEvent(org.kuali.ole.sys.document.validation.event.AttributedDocumentEvent)
protected boolean checkEditAccessForAccountingLine(AccountingDocument document, AccountingLine line)
document
- AccountingDocument containing the line to checkline
- AccountingLine to check access onprotected AccessSecurityService getAccessSecurityService()
Copyright © 2004–2015 The Kuali Foundation. All rights reserved.