org.kuali.kfs.module.ar.document.validation.impl
Class CustomerInvoiceCustomerAddressValidation
java.lang.Object
org.kuali.kfs.sys.document.validation.ParameterizedValidation
org.kuali.kfs.sys.document.validation.GenericValidation
org.kuali.kfs.module.ar.document.validation.impl.CustomerInvoiceCustomerAddressValidation
- All Implemented Interfaces:
- Validation
public class CustomerInvoiceCustomerAddressValidation
- extends GenericValidation
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
CustomerInvoiceCustomerAddressValidation
public CustomerInvoiceCustomerAddressValidation()
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
isCustomerAddressValid
protected boolean isCustomerAddressValid(String customerNumber,
Integer customerAddressIdentifier,
boolean isShipToAddress)
- This method validates if a customer address is valid
- Parameters:
customerInvoiceDocument
- isShipToAddress
-
- Returns:
isCustomerAddressActive
protected boolean isCustomerAddressActive(String customerNumber,
Integer customerAddressIdentifier,
boolean isShipToAddress)
- This method validates if a customer address is active
- Parameters:
customerInvoiceDocument
- isShipToAddress
-
- Returns:
getCustomerAddressService
public CustomerAddressService getCustomerAddressService()
setCustomerAddressService
public void setCustomerAddressService(CustomerAddressService customerAddressService)
getCustomerInvoiceDocument
public CustomerInvoiceDocument getCustomerInvoiceDocument()
setCustomerInvoiceDocument
public void setCustomerInvoiceDocument(CustomerInvoiceDocument customerInvoiceDocument)
Copyright © 2005-2012 The Kuali Foundation. All Rights Reserved.