public class AdvanceDepositIfAnyElectronicFundAccountingLineAllElectronicFundValidation extends GenericValidation
Constructor and Description |
---|
AdvanceDepositIfAnyElectronicFundAccountingLineAllElectronicFundValidation() |
Modifier and Type | Method and Description |
---|---|
protected boolean |
allAccountingLinesRepresentElectronicPayments()
Determines if all of the accounting lines on the document represent electronic payments
|
protected boolean |
anyAccountingLinesRepresentElectronicPayments()
Determines if any of the accounting lines on the document represent electronic payments
|
AdvanceDepositDocument |
getAdvanceDepositDocumentForValidation()
Gets the advanceDepositDocumentForValidation attribute.
|
ElectronicPaymentClaimingService |
getElectronicPaymentClaimingService()
Gets the electronicPaymentClaimingService attribute.
|
void |
setAdvanceDepositDocumentForValidation(AdvanceDepositDocument documentForValidation)
Sets the advanceDepositDocumentForValidation attribute value.
|
void |
setElectronicPaymentClaimingService(ElectronicPaymentClaimingService electronicPaymentClaimingService)
Sets the electronicPaymentClaimingService attribute value.
|
boolean |
validate(AttributedDocumentEvent event)
Validates the advance deposit document, that if it has one eft accounting line, all accounting lines represent electronic funds
|
setQuitOnFail, shouldQuitOnFail, stageValidation
getParameterProperties, populateParameterFromEvent, populateParametersFromEvent, setParameterProperties
public AdvanceDepositIfAnyElectronicFundAccountingLineAllElectronicFundValidation()
public boolean validate(AttributedDocumentEvent event)
Validation.validate(org.kuali.ole.sys.document.validation.event.AttributedDocumentEvent)
protected boolean anyAccountingLinesRepresentElectronicPayments()
protected boolean allAccountingLinesRepresentElectronicPayments()
public AdvanceDepositDocument getAdvanceDepositDocumentForValidation()
public void setAdvanceDepositDocumentForValidation(AdvanceDepositDocument documentForValidation)
advanceDepositDocumentForValidation
- The advanceDepositDocumentForValidation to set.public ElectronicPaymentClaimingService getElectronicPaymentClaimingService()
public void setElectronicPaymentClaimingService(ElectronicPaymentClaimingService electronicPaymentClaimingService)
electronicPaymentClaimingService
- The electronicPaymentClaimingService to set.Copyright © 2004–2015 The Kuali Foundation. All rights reserved.