org.kuali.kfs.module.purap.document.validation.impl
Class PurchaseOrderAmendmentContainsAtLeastOneActiveItemValidation
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.PurchaseOrderAmendmentContainsAtLeastOneActiveItemValidation
- All Implemented Interfaces:
- Validation
public class PurchaseOrderAmendmentContainsAtLeastOneActiveItemValidation
- extends GenericValidation
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
PurchaseOrderAmendmentContainsAtLeastOneActiveItemValidation
public PurchaseOrderAmendmentContainsAtLeastOneActiveItemValidation()
validate
public boolean validate(AttributedDocumentEvent event)
- Validates that the given document contains at least one active item.
- Parameters:
purapDocument
- A PurchasingAccountsPayableDocument. (Should contain PurchaseOrderItems.)
- Returns:
- True if the document contains at least one active item
getDocumentTypeLabel
protected String getDocumentTypeLabel(String documentTypeName)
Copyright © 2005-2012 The Kuali Foundation. All Rights Reserved.