org.kuali.kfs.module.ar.document.service.impl
Class CustomerAddressServiceImpl

java.lang.Object
  extended by org.kuali.kfs.module.ar.document.service.impl.CustomerAddressServiceImpl
All Implemented Interfaces:
CustomerAddressService

@Transactional
public class CustomerAddressServiceImpl
extends Object
implements CustomerAddressService


Field Summary
protected static String CUST_ADDR_ID_SEQ
           
 
Constructor Summary
CustomerAddressServiceImpl()
           
 
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
 org.kuali.rice.kns.service.BusinessObjectService getBusinessObjectService()
           
 CustomerAddress getByPrimaryKey(String customerNumber, Integer customerAddressIdentifier)
          This method returns a customer address by primary key
 CustomerAddressDao getCustomerAddressDao()
          This method sets customer address dao
 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.
 org.kuali.rice.kns.service.SequenceAccessorService getSequenceAccessorService()
          This method gets the sequenceAccessorService
 void setBusinessObjectService(org.kuali.rice.kns.service.BusinessObjectService businessObjectService)
           
 void setCustomerAddressDao(CustomerAddressDao customerAddressDao)
          This method gets customer address dao
 void setSequenceAccessorService(org.kuali.rice.kns.service.SequenceAccessorService sequenceAccessorService)
          This method sets the sequenceAccessorService
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

CUST_ADDR_ID_SEQ

protected static final String CUST_ADDR_ID_SEQ
See Also:
Constant Field Values
Constructor Detail

CustomerAddressServiceImpl

public CustomerAddressServiceImpl()
Method Detail

getByPrimaryKey

public CustomerAddress getByPrimaryKey(String customerNumber,
                                       Integer customerAddressIdentifier)
Description copied from interface: CustomerAddressService
This method returns a customer address by primary key

Specified by:
getByPrimaryKey in interface CustomerAddressService
Returns:

getPrimaryAddress

public CustomerAddress getPrimaryAddress(String customerNumber)
Description copied from interface: CustomerAddressService
This method returns the CustomerAddress specified as the primary address for a Customer.

Specified by:
getPrimaryAddress in interface CustomerAddressService
Returns:

customerAddressActive

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

Specified by:
customerAddressActive in interface CustomerAddressService
Parameters:
customerNumber -
customerAddressIdentifier -
Returns:

getBusinessObjectService

public org.kuali.rice.kns.service.BusinessObjectService getBusinessObjectService()

setBusinessObjectService

public void setBusinessObjectService(org.kuali.rice.kns.service.BusinessObjectService businessObjectService)

customerAddressExists

public boolean customerAddressExists(String customerNumber,
                                     Integer customerAddressIdentifier)
Description copied from interface: CustomerAddressService
This method returns true if customer address exists

Specified by:
customerAddressExists in interface CustomerAddressService
Returns:
See Also:
CustomerAddressService.customerAddressExists(java.lang.String, java.lang.Integer)

getCustomerAddressDao

public CustomerAddressDao getCustomerAddressDao()
This method sets customer address dao

Returns:

setCustomerAddressDao

public void setCustomerAddressDao(CustomerAddressDao customerAddressDao)
This method gets customer address dao

Parameters:
customerAddressDao -

getNextCustomerAddressIdentifier

public Integer getNextCustomerAddressIdentifier()
Description copied from interface: CustomerAddressService
This method gets the next address identifier

Specified by:
getNextCustomerAddressIdentifier in interface CustomerAddressService
Returns:
See Also:
CustomerAddressService.getNextCustomerAddressIdentifier()

getSequenceAccessorService

public org.kuali.rice.kns.service.SequenceAccessorService getSequenceAccessorService()
This method gets the sequenceAccessorService

Returns:

setSequenceAccessorService

public void setSequenceAccessorService(org.kuali.rice.kns.service.SequenceAccessorService sequenceAccessorService)
This method sets the sequenceAccessorService

Parameters:
sequenceAccessorService -


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