public class PostalCodeServiceImpl extends Object implements PostalCodeService
| Constructor and Description | 
|---|
| PostalCodeServiceImpl() | 
| Modifier and Type | Method and Description | 
|---|---|
| List<PostalCode> | findAllPostalCodesInCountry(String countryCode)Gets all the  PostalCodefor postal country code. | 
| PostalCodeQueryResults | findPostalCodes(QueryByCriteria queryByCriteria)This method find PostalCodes based on a query criteria. | 
| DataObjectService | getDataObjectService() | 
| PostalCode | getPostalCode(String countryCode,
                          String code)Gets a  PostalCodefrom a postal country code and postal code value. | 
| void | setDataObjectService(DataObjectService dataObjectService) | 
public PostalCodeServiceImpl()
public PostalCode getPostalCode(String countryCode, String code)
PostalCodeServicePostalCode from a postal country code and postal code value.
 This method will return null if the state does not exist.
This method will return active or inactive postal codes.
getPostalCode in interface PostalCodeServicecountryCode - country code. cannot be blank.code - postal code value. cannot be blank.PostalCode or nullpublic List<PostalCode> findAllPostalCodesInCountry(String countryCode)
PostalCodeServicePostalCode for postal country code.
 This method will always return an immutable Collection even when no values exist.
This method will only return active postal codes.
findAllPostalCodesInCountry in interface PostalCodeServicecountryCode - state code. cannot be blank.public PostalCodeQueryResults findPostalCodes(QueryByCriteria queryByCriteria) throws RiceIllegalArgumentException
PostalCodeServicefindPostalCodes in interface PostalCodeServicequeryByCriteria - the criteria.  Cannot be null.RiceIllegalArgumentExceptionpublic DataObjectService getDataObjectService()
public void setDataObjectService(DataObjectService dataObjectService)
Copyright © 2005–2015 The Kuali Foundation. All rights reserved.