org.kuali.kfs.fp.document.validation.impl
Class AuxiliaryVoucherGeneralLedgerPendingEntriesBalanceValdiation

java.lang.Object
  extended by org.kuali.kfs.sys.document.validation.ParameterizedValidation
      extended by org.kuali.kfs.sys.document.validation.GenericValidation
          extended by org.kuali.kfs.fp.document.validation.impl.AuxiliaryVoucherGeneralLedgerPendingEntriesBalanceValdiation
All Implemented Interfaces:
Validation

public class AuxiliaryVoucherGeneralLedgerPendingEntriesBalanceValdiation
extends GenericValidation

Validation that checks that the general ledger pending entries associated with an auxiliary voucher document balance.


Constructor Summary
AuxiliaryVoucherGeneralLedgerPendingEntriesBalanceValdiation()
           
 
Method Summary
 AccountingDocument getAccountingDocumentForValidation()
          Gets the accountingDocumentForValidation attribute.
 GeneralLedgerPendingEntryService getGeneralLedgerPendingEntryService()
          Gets the generalLedgerPendingEntryService attribute.
 void setAccountingDocumentForValidation(AccountingDocument accountingDocumentForValidation)
          Sets the accountingDocumentForValidation attribute value.
 void setGeneralLedgerPendingEntryService(GeneralLedgerPendingEntryService generalLedgerPendingEntryService)
          Sets the generalLedgerPendingEntryService attribute value.
 boolean validate(AttributedDocumentEvent event)
          Returns true if the explicit, non-DI credit and debit GLPEs derived from the document's accountingLines are in balance
 
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

AuxiliaryVoucherGeneralLedgerPendingEntriesBalanceValdiation

public AuxiliaryVoucherGeneralLedgerPendingEntriesBalanceValdiation()
Method Detail

validate

public boolean validate(AttributedDocumentEvent event)
Returns true if the explicit, non-DI credit and debit GLPEs derived from the document's accountingLines are in balance

Returns:
true if validation should continue, false otherwise
See Also:
Validation.validate(org.kuali.kfs.sys.document.validation.event.AttributedDocumentEvent)

getAccountingDocumentForValidation

public AccountingDocument getAccountingDocumentForValidation()
Gets the accountingDocumentForValidation attribute.

Returns:
Returns the accountingDocumentForValidation.

setAccountingDocumentForValidation

public void setAccountingDocumentForValidation(AccountingDocument accountingDocumentForValidation)
Sets the accountingDocumentForValidation attribute value.

Parameters:
accountingDocumentForValidation - The accountingDocumentForValidation to set.

getGeneralLedgerPendingEntryService

public GeneralLedgerPendingEntryService getGeneralLedgerPendingEntryService()
Gets the generalLedgerPendingEntryService attribute.

Returns:
Returns the generalLedgerPendingEntryService.

setGeneralLedgerPendingEntryService

public void setGeneralLedgerPendingEntryService(GeneralLedgerPendingEntryService generalLedgerPendingEntryService)
Sets the generalLedgerPendingEntryService attribute value.

Parameters:
generalLedgerPendingEntryService - The generalLedgerPendingEntryService to set.


Copyright © 2005-2012 The Kuali Foundation. All Rights Reserved.