Esri Geoportal Server
1.0

com.esri.gpt.control.webharvest.client.res
Class ResourceQueryBuilder

java.lang.Object
  extended by com.esri.gpt.control.webharvest.client.res.ResourceQueryBuilder
All Implemented Interfaces:
QueryBuilder

public class ResourceQueryBuilder
extends Object
implements QueryBuilder

ArcGIS query builder.


Constructor Summary
ResourceQueryBuilder(IterationContext context, HarvestProtocolResource protocol, String url)
          Creates instance of the builder.
 
Method Summary
 Capabilities getCapabilities()
          Gets query capabilities.
 Native getNativeResource()
          Gets native resource.
 Query newQuery(Criteria crt)
          Creates new query.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ResourceQueryBuilder

public ResourceQueryBuilder(IterationContext context,
                            HarvestProtocolResource protocol,
                            String url)
Creates instance of the builder.

Parameters:
context - iteration context
protocol - harvest protocol
url - url
Method Detail

getCapabilities

public Capabilities getCapabilities()
Description copied from interface: QueryBuilder
Gets query capabilities.

Specified by:
getCapabilities in interface QueryBuilder
Returns:
capabilities

newQuery

public Query newQuery(Criteria crt)
Description copied from interface: QueryBuilder
Creates new query.

Specified by:
newQuery in interface QueryBuilder
Parameters:
crt - query criteria.
Returns:
query

getNativeResource

public Native getNativeResource()
Description copied from interface: QueryBuilder
Gets native resource. Native resource is a publishable resource created just for repository definition. Each native resource is Publishable and each repository has to be able to provide one.

Specified by:
getNativeResource in interface QueryBuilder
Returns:
native resource.

Esri Geoportal Server
1.0

Copyright 2011 Environmental Systems Research Institute. All rights reserved. Use is subject to license terms.