
public class PhoneNumberSearchFilters extends Object
The following filters are available for phone numbers search:
| Property | Description |
|---|---|
| AreaCode | The areacode for the phone number |
| FilterPattern | A pattern to match phone numbers on. Valid characters are '*' and [0-9a-zA-Z]. The '*' character will match any single digit. |
| SmsEnabled | This indicates whether the phone numbers can receive text messages. Possible values are true or false.. |
| MmsEnabled | This indicates whether the phone numbers can receive MMS messages. Possible values are true or false.. |
| VoiceEnabled | This indicates whether the phone numbers can receive calls. Possible values are true or false.. |
| FaxEnabled | This indicates whether the phone numbers can receive fax message. Possible values are true or false.. |
| UssdEnabled | This indicates whether the phone numbers can receive USSD messages. Possible values are true or false.. |
| NearNumber | Given a phone number, find a geographically close number within Distance miles. Distance defaults to 25 miles. |
| NearLatLong | Given a latitude/longitude pair lat,long find geographically close numbers within Distance miles. |
| Distance | Specifies the search radius for a Near- query in miles. If not specified this defaults to 25 miles. Maximum searchable distance is 500 miles. |
| InPostalCode | Limit results to a particular postal code. Given a phone number, search within the same postal code as that number. |
| InRegion | Limit results to a particular region (i.e. State/Province). Given a phone number, search within the same Region as that number. |
| InRateCenter | Limit results to a specific rate center, or given a phone number search within the same rate center as that number. Requires InLata to be set as well. |
| InLata | Limit results to a specific Local access and transport area (LATA - http://en.wikipedia.org/wiki/Local_access_and_transport_area). Given a phone number, search within the same LATA as that number. |
| Constructor and Description |
|---|
PhoneNumberSearchFilters() |
PhoneNumberSearchFilters(String areaCode,
Pattern filterPattern,
Boolean smsEnabled,
Boolean mmsEnabled,
Boolean voiceEnabled,
Boolean faxEnabled,
Boolean ussdEnabled,
String nearNumber,
String nearLatLong,
String distance,
String inPostalCode,
String inRegion,
String inRateCenter,
String inLata,
int rangeSize,
int rangeIndex,
PhoneNumberType phoneNumberType) |
public PhoneNumberSearchFilters()
public PhoneNumberSearchFilters(String areaCode, Pattern filterPattern, Boolean smsEnabled, Boolean mmsEnabled, Boolean voiceEnabled, Boolean faxEnabled, Boolean ussdEnabled, String nearNumber, String nearLatLong, String distance, String inPostalCode, String inRegion, String inRateCenter, String inLata, int rangeSize, int rangeIndex, PhoneNumberType phoneNumberType)
public String getAreaCode()
public void setAreaCode(String areaCode)
areaCode - the areaCode to setpublic Pattern getFilterPattern()
public void setFilterPattern(Pattern filterPattern)
filterPattern - the filterPattern to setpublic Boolean getSmsEnabled()
public void setSmsEnabled(Boolean smsEnabled)
smsEnabled - the smsEnabled to setpublic Boolean getMmsEnabled()
public void setMmsEnabled(Boolean mmsEnabled)
mmsEnabled - the mmsEnabled to setpublic Boolean getVoiceEnabled()
public void setVoiceEnabled(Boolean voiceEnabled)
voiceEnabled - the voiceEnabled to setpublic Boolean getFaxEnabled()
public void setFaxEnabled(Boolean faxEnabled)
faxEnabled - the faxEnabled to setpublic Boolean getUssdEnabled()
public void setUssdEnabled(Boolean ussdEnabled)
ussdEnabled - the ussdEnabled to setpublic String getNearNumber()
public void setNearNumber(String nearNumber)
nearNumber - the nearNumber to setpublic String getNearLatLong()
public void setNearLatLong(String nearLatLong)
nearLatLong - the nearLatLong to setpublic String getDistance()
public void setDistance(String distance)
distance - the distance to setpublic String getInPostalCode()
public void setInPostalCode(String inPostalCode)
inPostalCode - the inPostalCode to setpublic String getInRegion()
public void setInRegion(String inRegion)
inRegion - the inRegion to setpublic String getInRateCenter()
public void setInRateCenter(String inRateCenter)
inRateCenter - the inRateCenter to setpublic String getInLata()
public void setInLata(String inLata)
inLata - the inLata to setpublic int getRangeSize()
public void setRangeSize(int rangeSize)
rangeSize - the rangeSize to setpublic int getRangeIndex()
public void setRangeIndex(int rangeIndex)
rangeIndex - the rangeIndex to setpublic PhoneNumberType getPhoneNumberTypeSearch()
public void setPhoneNumberTypeSearch(PhoneNumberType phoneNumberTypeSearch)
phoneNumberTypeSearch - the type of phone number to search forCopyright © 2015. All Rights Reserved.