public class DisbursementVoucherAccountingLineAccessibleValidation extends AccountingLineAccessibleValidation
AccountingLineAccessibleValidation.AccountingLineAction| Modifier and Type | Field and Description | 
|---|---|
| protected static org.apache.log4j.Logger | LOG | 
| protected AccountingLine | oldAccountingLineForValidation | 
accountingDocumentForValidation, accountingLineForValidation, dataDictionaryService| Constructor and Description | 
|---|
| DisbursementVoucherAccountingLineAccessibleValidation() | 
| Modifier and Type | Method and Description | 
|---|---|
| protected boolean | accountUnchanged(AccountingLine pollux,
                                AccountingLine castor)Determines if the two given accounting lines have not have their account changed | 
| protected List<String> | getCandidateEditModes()define the possibly desired edit modes | 
| protected boolean | hasRequiredEditMode(AccountingDocument accountingDocument,
                                      org.kuali.rice.kim.api.identity.Person financialSystemUser,
                                      List<String> candidateEditModes)determine whether the give user has permission to any edit mode defined in the given candidate edit modes | 
| void | setOldAccountingLineForValidation(AccountingLine oldAccountingLineForValidation)Sets the oldAccountingLineForValidation attribute value. | 
| boolean | validate(AttributedDocumentEvent event)Validates that the given accounting line is accessible for editing by the current user. | 
convertEventToMessage, getAccountingDocumentForValidation, getAccountingLineCollectionProperty, getAccountingLineForValidation, getDataDictionaryService, getGroupName, lookupAccountingLineAuthorizer, setAccountingDocumentForValidation, setAccountingLineForValidation, setDataDictionaryServicesetQuitOnFail, shouldQuitOnFail, stageValidationgetParameterProperties, populateParameterFromEvent, populateParametersFromEvent, setParameterPropertiesprotected static org.apache.log4j.Logger LOG
protected AccountingLine oldAccountingLineForValidation
public DisbursementVoucherAccountingLineAccessibleValidation()
public boolean validate(AttributedDocumentEvent event)
validate in interface Validationvalidate in class AccountingLineAccessibleValidationAccountingLineAccessibleValidation.validate(org.kuali.ole.sys.document.validation.event.AttributedDocumentEvent)protected boolean hasRequiredEditMode(AccountingDocument accountingDocument, org.kuali.rice.kim.api.identity.Person financialSystemUser, List<String> candidateEditModes)
accountingDocument - the given accounting documentfinancialSystemUser - the given usercandidateEditEditModes - the given candidate edit modesprotected List<String> getCandidateEditModes()
protected boolean accountUnchanged(AccountingLine pollux, AccountingLine castor)
pollux - the first accounting line to checkcastor - the second accounting line to checkpublic void setOldAccountingLineForValidation(AccountingLine oldAccountingLineForValidation)
oldAccountingLineForValidation - The oldAccountingLineForValidation to set.Copyright © 2004–2015 The Kuali Foundation. All rights reserved.