|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.kuali.kfs.sys.document.validation.ParameterizedValidation
org.kuali.kfs.sys.document.validation.GenericValidation
org.kuali.kfs.fp.document.validation.impl.AdvanceDepositIfAnyElectronicFundAccountingLineAllElectronicFundValidation
public class AdvanceDepositIfAnyElectronicFundAccountingLineAllElectronicFundValidation
Validates that if the given advance deposit document has any electronic fund accounting lines, that all accounting lines on the document go to the electronic funds account
Constructor Summary | |
---|---|
AdvanceDepositIfAnyElectronicFundAccountingLineAllElectronicFundValidation()
|
Method Summary | |
---|---|
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 |
Methods inherited from class org.kuali.kfs.sys.document.validation.GenericValidation |
---|
setQuitOnFail, shouldQuitOnFail, stageValidation |
Methods inherited from class org.kuali.kfs.sys.document.validation.ParameterizedValidation |
---|
getParameterProperties, populateParameterFromEvent, populateParametersFromEvent, setParameterProperties |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public AdvanceDepositIfAnyElectronicFundAccountingLineAllElectronicFundValidation()
Method Detail |
---|
public boolean validate(AttributedDocumentEvent event)
Validation.validate(org.kuali.kfs.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.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |