public class CapitalAccountingLinesValidations extends GenericValidation
Constructor and Description |
---|
CapitalAccountingLinesValidations() |
Modifier and Type | Method and Description |
---|---|
protected boolean |
allCapitalAccountingLinesProcessed(List<CapitalAccountingLines> capitalAccountingLines,
List<CapitalAssetInformation> capitalAssets) |
protected boolean |
capitalAssetExist(CapitalAccountingLines capitalAccountingLine,
List<CapitalAssetInformation> capitalAssetInformation) |
protected boolean |
capitalAssetExistsForCapitalAccountingLinesProcessed(List<CapitalAccountingLines> capitalAccountingLines,
List<CapitalAssetInformation> capitalAssets) |
void |
setAccountingDocumentForValidation(AccountingDocument accountingDocumentForValidation)
Sets the accountingDocumentForValidation attribute value.
|
protected boolean |
totalAmountMatchForCapitalAccountingLinesAndCapitalAssets(List<CapitalAccountingLines> capitalAccountingLines,
List<CapitalAssetInformation> capitalAssets) |
boolean |
validate(AttributedDocumentEvent event)
This method validates that certain parameters
|
protected boolean |
validateCapitalAccountingLines(AccountingDocument accountingDocumentForValidation) |
setQuitOnFail, shouldQuitOnFail, stageValidation
getParameterProperties, populateParameterFromEvent, populateParametersFromEvent, setParameterProperties
public CapitalAccountingLinesValidations()
public boolean validate(AttributedDocumentEvent event)
Validation
Validation.validate(org.kuali.ole.sys.document.validation.event.AttributedDocumentEvent)
protected boolean validateCapitalAccountingLines(AccountingDocument accountingDocumentForValidation)
protected boolean allCapitalAccountingLinesProcessed(List<CapitalAccountingLines> capitalAccountingLines, List<CapitalAssetInformation> capitalAssets)
protected boolean capitalAssetExistsForCapitalAccountingLinesProcessed(List<CapitalAccountingLines> capitalAccountingLines, List<CapitalAssetInformation> capitalAssets)
protected boolean capitalAssetExist(CapitalAccountingLines capitalAccountingLine, List<CapitalAssetInformation> capitalAssetInformation)
capitalAccountingLine
- capitalAssetInformation
- protected boolean totalAmountMatchForCapitalAccountingLinesAndCapitalAssets(List<CapitalAccountingLines> capitalAccountingLines, List<CapitalAssetInformation> capitalAssets)
public void setAccountingDocumentForValidation(AccountingDocument accountingDocumentForValidation)
accountingDocumentForValidation
- The accountingDocumentForValidation to set.Copyright © 2004–2015 The Kuali Foundation. All rights reserved.