org.kuali.kfs.module.ar.document.service
Interface CustomerAddressService

All Known Implementing Classes:
CustomerAddressServiceImpl

public interface CustomerAddressService


Method Summary
 boolean customerAddressActive(String customerNumber, Integer customerAddressIdentifier)
          This method returns true if customer address is active
 boolean customerAddressExists(String customerNumber, Integer customerAddressIdentifier)
          This method returns true if customer address exists
 CustomerAddress getByPrimaryKey(String customerNumber, Integer customerAddressIdentifier)
          This method returns a customer address by primary key
 Integer getNextCustomerAddressIdentifier()
          This method gets the next address identifier
 CustomerAddress getPrimaryAddress(String customerNumber)
          This method returns the CustomerAddress specified as the primary address for a Customer.
 

Method Detail

getByPrimaryKey

CustomerAddress getByPrimaryKey(String customerNumber,
                                Integer customerAddressIdentifier)
This method returns a customer address by primary key

Parameters:
customerNumber -
customerAddressIdentifier -
Returns:

customerAddressExists

boolean customerAddressExists(String customerNumber,
                              Integer customerAddressIdentifier)
This method returns true if customer address exists

Parameters:
customerNumber -
customerAddressIdentifier -
Returns:

getNextCustomerAddressIdentifier

Integer getNextCustomerAddressIdentifier()
This method gets the next address identifier

Returns:

getPrimaryAddress

CustomerAddress getPrimaryAddress(String customerNumber)
This method returns the CustomerAddress specified as the primary address for a Customer.

Parameters:
customerNumber -
Returns:

customerAddressActive

boolean customerAddressActive(String customerNumber,
                              Integer customerAddressIdentifier)
This method returns true if customer address is active

Parameters:
customerNumber -
customerAddressIdentifier -
Returns:


Copyright © 2005-2012 The Kuali Foundation. All Rights Reserved.