public class PurchasingProcessContainsAtLeastOneItemValidation extends GenericValidation
Constructor and Description |
---|
PurchasingProcessContainsAtLeastOneItemValidation() |
Modifier and Type | Method and Description |
---|---|
protected String |
getDocumentTypeLabel(String documentTypeName) |
boolean |
validate(AttributedDocumentEvent event)
Validates that the document contains at least one item.
|
setQuitOnFail, shouldQuitOnFail, stageValidation
getParameterProperties, populateParameterFromEvent, populateParametersFromEvent, setParameterProperties
public PurchasingProcessContainsAtLeastOneItemValidation()
public boolean validate(AttributedDocumentEvent event)
purDocument
- the purchasing document to be validatedprotected String getDocumentTypeLabel(String documentTypeName)
Copyright © 2004–2014 The Kuali Foundation. All rights reserved.