[Core sample] added todos

This commit is contained in:
Alexey Kulish 2016-06-25 18:23:02 +03:00
parent 749b65d13d
commit a5bf2c37a6
3 changed files with 3 additions and 1 deletions

View file

@ -96,7 +96,7 @@ public class SearchScope {
}
public void setupAddressSearchCriteria(AddressesByNameSearch.Criteria criteria) {
//not implemented
// not implemented
}
public boolean processPoiSearchObject(PoiSearchObject poiSearchObject) {

View file

@ -10,6 +10,7 @@ public class SearchObjectsHelper {
public static SearchPositionObject getAddressObject(Address address) {
switch (address.getAddressType()) {
//todo add Building type to Address class
case Street:
StreetInternal street = new StreetInternal(address);
return new StreetSearchObject(street);

View file

@ -148,6 +148,7 @@ public class CoreSearchRequest extends SearchRequest {
// Setup Addresses by name search
AddressesByNameSearch addrByNameSearch = new AddressesByNameSearch(searchScope.getObfsCollection());
final AddressesByNameSearch.Criteria addrByNameCriteria = new AddressesByNameSearch.Criteria();
//todo implement StreetGroup and Street parameters in AddressesByNameSearch.Criteria and apply them here
addrByNameCriteria.setName(keyword);
if (searchScope.getObfAreaFilter() != null) {
addrByNameCriteria.setObfInfoAreaFilter(new NullableAreaI(searchScope.getObfAreaFilter()));