Package com.esri.gpt.catalog.arcims

Examples of com.esri.gpt.catalog.arcims.ExtendedQueryRequest


* Gets query request based on the criteria.
* @param criteria criteria
* @return query request
*/
public ExtendedQueryRequest getQueryRequest(Criteria criteria) {
    ExtendedQueryRequest queryRequest = new ExtendedQueryRequest();
    queryRequest.setService(info.newService());
    queryRequest.setCredentials(info.newCredentials());
    queryRequest.setBBox(criteria!=null? criteria.getBBox(): null);
    queryRequest.setSpatialOperator(criteria!=null? convertBBoxOptions(criteria.getBBoxOption()): null);
    queryRequest.setFullText(criteria!=null && criteria.getSearchText()!=null? criteria.getSearchText().split(" "): null);
    queryRequest.setMaxRec(criteria!=null && criteria.getMaxRecords()!=null? criteria.getMaxRecords(): 0);
    return queryRequest;
}
View Full Code Here


    }
    return iterator.next();
  }

  private void advanceToNextRecords() throws ImsServiceException {
    ExtendedQueryRequest queryRequest = proxy.getQueryRequest(criteria);
    queryRequest.execute();
    iterator = new ArcImsRecordsAdapter(proxy,convertUuidsToSourceUris(queryRequest.getUuids())).iterator();
  }
View Full Code Here

TOP

Related Classes of com.esri.gpt.catalog.arcims.ExtendedQueryRequest

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.