org.kuali.kfs.sys.service.impl
Class TaxRegionServiceImpl

java.lang.Object
  extended by org.kuali.kfs.sys.service.impl.TaxRegionServiceImpl
All Implemented Interfaces:
TaxRegionService

@Transactional
public class TaxRegionServiceImpl
extends Object
implements TaxRegionService


Constructor Summary
TaxRegionServiceImpl()
           
 
Method Summary
 org.kuali.rice.kns.service.BusinessObjectService getBusinessObjectService()
           
protected  List<TaxRegion> getCountyTaxRegions(String countyCode, String stateCode, String postalCountryCode, boolean useTaxOnly)
          This method returns a list of tax regions that match county code, state code, and country code
 org.kuali.rice.kns.service.PostalCodeService getPostalCodeService()
           
protected  List<TaxRegion> getPostalCodeTaxRegions(String postalCode, String postalCountryCode, boolean useTaxOnly)
          This method returns a list of tax regions that match postal code and country code.
 List<TaxRegion> getSalesTaxRegions(String postalCode)
          This method returns a list of tax regions based on postal code.
protected  List<TaxRegion> getStateTaxRegions(String stateCode, String postalCountryCode, boolean useTaxOnly)
          This method returns a list of tax regions that match state code and country code.
 List<TaxRegion> getUseTaxRegions(String postalCode)
          This method returns a list of tax regions based on postal code.
 void setBusinessObjectService(org.kuali.rice.kns.service.BusinessObjectService businessObjectService)
           
 void setPostalCodeService(org.kuali.rice.kns.service.PostalCodeService postalCodeService)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TaxRegionServiceImpl

public TaxRegionServiceImpl()
Method Detail

getSalesTaxRegions

public List<TaxRegion> getSalesTaxRegions(String postalCode)
Description copied from interface: TaxRegionService
This method returns a list of tax regions based on postal code.

Specified by:
getSalesTaxRegions in interface TaxRegionService
Returns:
See Also:
TaxRegionService.getSalesTaxRegions(java.lang.String)

getUseTaxRegions

public List<TaxRegion> getUseTaxRegions(String postalCode)
Description copied from interface: TaxRegionService
This method returns a list of tax regions based on postal code. This only includes tax regions where the tax indicator is set to true.

Specified by:
getUseTaxRegions in interface TaxRegionService
Returns:
See Also:
TaxRegionService.getUseTaxRegions(java.lang.String)

getPostalCodeTaxRegions

protected List<TaxRegion> getPostalCodeTaxRegions(String postalCode,
                                                  String postalCountryCode,
                                                  boolean useTaxOnly)
This method returns a list of tax regions that match postal code and country code.

Parameters:
postalCode - postal code
postalCountryCode - country code
useTaxOnly - determines if only (use tax = true) tax regions are returned
Returns:

getStateTaxRegions

protected List<TaxRegion> getStateTaxRegions(String stateCode,
                                             String postalCountryCode,
                                             boolean useTaxOnly)
This method returns a list of tax regions that match state code and country code.

Parameters:
stateCode - state code
postalCountryCode - country code
useTaxOnly - determines if only (use tax = true) tax regions are returned
Returns:

getCountyTaxRegions

protected List<TaxRegion> getCountyTaxRegions(String countyCode,
                                              String stateCode,
                                              String postalCountryCode,
                                              boolean useTaxOnly)
This method returns a list of tax regions that match county code, state code, and country code

Parameters:
countyCode - county code
stateCode - state code
postalCountryCode - country code
useTaxOnly - determines if only (use tax = true) tax regions are returned
Returns:

getBusinessObjectService

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

setBusinessObjectService

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

getPostalCodeService

public org.kuali.rice.kns.service.PostalCodeService getPostalCodeService()

setPostalCodeService

public void setPostalCodeService(org.kuali.rice.kns.service.PostalCodeService postalCodeService)


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