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