|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.kuali.rice.location.impl.postalcode.PostalCodeServiceImpl
public class PostalCodeServiceImpl
Constructor Summary | |
---|---|
PostalCodeServiceImpl()
|
Method Summary | |
---|---|
List<PostalCode> |
findAllPostalCodesInCountry(String countryCode)
Gets all the PostalCode for postal country code. |
PostalCodeQueryResults |
findPostalCodes(QueryByCriteria queryByCriteria)
This method find PostalCodes based on a query criteria. |
PostalCode |
getPostalCode(String countryCode,
String code)
Gets a PostalCode from a postal country code and postal code value. |
void |
setBusinessObjectService(BusinessObjectService businessObjectService)
|
void |
setCriteriaLookupService(CriteriaLookupService criteriaLookupService)
Sets the criteriaLookupService attribute value. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public PostalCodeServiceImpl()
Method Detail |
---|
public PostalCode getPostalCode(String countryCode, String code)
PostalCodeService
PostalCode
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 PostalCodeService
countryCode
- country code. cannot be blank.code
- postal code value. cannot be blank.
PostalCode
or nullpublic List<PostalCode> findAllPostalCodesInCountry(String countryCode)
PostalCodeService
PostalCode
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 PostalCodeService
countryCode
- state code. cannot be blank.
public PostalCodeQueryResults findPostalCodes(QueryByCriteria queryByCriteria) throws RiceIllegalArgumentException
PostalCodeService
findPostalCodes
in interface PostalCodeService
queryByCriteria
- the criteria. Cannot be null.
RiceIllegalArgumentException
public void setBusinessObjectService(BusinessObjectService businessObjectService)
public void setCriteriaLookupService(CriteriaLookupService criteriaLookupService)
criteriaLookupService
- The criteriaLookupService to set.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |