|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.kuali.rice.shareddata.impl.postalcode.PostalCodeServiceImpl
public class PostalCodeServiceImpl
Constructor Summary | |
---|---|
PostalCodeServiceImpl()
|
Method Summary | |
---|---|
List<PostalCode> |
findAllPostalCodesInCountry(String countryCode)
Gets all the PostalCode for postal country code. |
PostalCode |
getPostalCode(String countryCode,
String code)
Gets a PostalCode from a postal country code and postal code value. |
void |
setBusinessObjectService(BusinessObjectService businessObjectService)
|
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 void setBusinessObjectService(BusinessObjectService businessObjectService)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |