org.kuali.kfs.module.purap.document.validation.impl
Class PaymentRequestTotalsValidation
java.lang.Object
org.kuali.kfs.sys.document.validation.ParameterizedValidation
org.kuali.kfs.sys.document.validation.GenericValidation
org.kuali.kfs.module.purap.document.validation.impl.PaymentRequestTotalsValidation
- All Implemented Interfaces:
- Validation
public class PaymentRequestTotalsValidation
- extends GenericValidation
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
PaymentRequestTotalsValidation
public PaymentRequestTotalsValidation()
validate
public boolean validate(AttributedDocumentEvent event)
- Description copied from interface:
Validation
- This method validates that certain parameters
- Returns:
- true if validation should continue, false otherwise
getTotalExcludingItemTypes
protected org.kuali.rice.kns.util.KualiDecimal getTotalExcludingItemTypes(List<PurApItem> itemList,
List<String> excludedItemTypes)
- Calculates a total but excludes passed in item types from the totalling.
- Parameters:
itemList
- - list of purap itemsexcludedItemTypes
- - list of item types to exclude from totalling
- Returns:
flagLineItemTotals
protected void flagLineItemTotals(List<PurApItem> itemList)
- Flags with an erorr the item totals whos calculated extended price does not equal its extended price.
- Parameters:
itemList
- - list of purap items
Copyright © 2005-2012 The Kuali Foundation. All Rights Reserved.