public class PurchaseOrderAmendmentContainsAtLeastOneActiveItemValidation extends GenericValidation
Constructor and Description |
---|
PurchaseOrderAmendmentContainsAtLeastOneActiveItemValidation() |
Modifier and Type | Method and Description |
---|---|
protected String |
getDocumentTypeLabel(String documentTypeName) |
boolean |
validate(AttributedDocumentEvent event)
Validates that the given document contains at least one active item.
|
setQuitOnFail, shouldQuitOnFail, stageValidation
getParameterProperties, populateParameterFromEvent, populateParametersFromEvent, setParameterProperties
public PurchaseOrderAmendmentContainsAtLeastOneActiveItemValidation()
public boolean validate(AttributedDocumentEvent event)
purapDocument
- A PurchasingAccountsPayableDocument. (Should contain PurchaseOrderItems.)protected String getDocumentTypeLabel(String documentTypeName)
Copyright © 2004–2015 The Kuali Foundation. All rights reserved.