public final class MybatisAvailablePhoneNumbersDao extends Object implements AvailablePhoneNumbersDao
| Constructor and Description |
|---|
MybatisAvailablePhoneNumbersDao(org.apache.ibatis.session.SqlSessionFactory sessions) |
| Modifier and Type | Method and Description |
|---|---|
void |
addAvailablePhoneNumber(AvailablePhoneNumber availablePhoneNumber) |
List<AvailablePhoneNumber> |
getAvailablePhoneNumbers() |
List<AvailablePhoneNumber> |
getAvailablePhoneNumbersByAreaCode(String areaCode) |
List<AvailablePhoneNumber> |
getAvailablePhoneNumbersByPattern(String pattern) |
List<AvailablePhoneNumber> |
getAvailablePhoneNumbersByPostalCode(int postalCode) |
List<AvailablePhoneNumber> |
getAvailablePhoneNumbersByRegion(String region) |
void |
removeAvailablePhoneNumber(String phoneNumber) |
public MybatisAvailablePhoneNumbersDao(org.apache.ibatis.session.SqlSessionFactory sessions)
public void addAvailablePhoneNumber(AvailablePhoneNumber availablePhoneNumber)
addAvailablePhoneNumber in interface AvailablePhoneNumbersDaopublic List<AvailablePhoneNumber> getAvailablePhoneNumbers()
getAvailablePhoneNumbers in interface AvailablePhoneNumbersDaopublic List<AvailablePhoneNumber> getAvailablePhoneNumbersByAreaCode(String areaCode)
getAvailablePhoneNumbersByAreaCode in interface AvailablePhoneNumbersDaopublic List<AvailablePhoneNumber> getAvailablePhoneNumbersByPattern(String pattern) throws IllegalArgumentException
getAvailablePhoneNumbersByPattern in interface AvailablePhoneNumbersDaoIllegalArgumentExceptionpublic List<AvailablePhoneNumber> getAvailablePhoneNumbersByRegion(String region)
getAvailablePhoneNumbersByRegion in interface AvailablePhoneNumbersDaopublic List<AvailablePhoneNumber> getAvailablePhoneNumbersByPostalCode(int postalCode)
getAvailablePhoneNumbersByPostalCode in interface AvailablePhoneNumbersDaopublic void removeAvailablePhoneNumber(String phoneNumber)
removeAvailablePhoneNumber in interface AvailablePhoneNumbersDaoCopyright © 2017. All Rights Reserved.