atg.commerce.util
Interface AddressValidator

All Known Implementing Classes:
AddressValidatorImpl, BillingAddrValidatorImpl, ShippingAddrValidatorImpl

public interface AddressValidator

Object that implement this interface know how to validate an address of type atg.core.util.Address or any of its subclasses.


Field Summary
static java.lang.String CLASS_VERSION
          Class version string
 
Method Summary
 java.util.Collection validateAddress(Address pAddress)
          Verify that all required properties are present in an address.
 java.util.Collection validateAddress(Address pAddress, java.util.Locale pLocale)
          Verify that all required properties are present in an address.
 java.util.Collection validateAddress(Address pAddress, java.util.ResourceBundle pResources)
          Verify that all required properties are present in an address.
 

Field Detail

CLASS_VERSION

static final java.lang.String CLASS_VERSION
Class version string

See Also:
Constant Field Values
Method Detail

validateAddress

java.util.Collection validateAddress(Address pAddress,
                                     java.util.Locale pLocale)
Verify that all required properties are present in an address.

Parameters:
pAddress - The address being examined.
pLocale - The optional locale to use when looking up the resource bundle that contains error messages. If null, the default server locale will be used.

validateAddress

java.util.Collection validateAddress(Address pAddress,
                                     java.util.ResourceBundle pResources)
Verify that all required properties are present in an address.

Parameters:
pAddress - The address being examined.
pResources - The resource bundle from which to retrieve error messages.

validateAddress

java.util.Collection validateAddress(Address pAddress)
Verify that all required properties are present in an address.

Parameters:
pAddress - The address being examined.