Esri Geoportal Server
1.0

com.esri.gpt.catalog.discovery
Class DiscoveryQuery

java.lang.Object
  extended by com.esri.gpt.catalog.discovery.DiscoveryComponent
      extended by com.esri.gpt.catalog.discovery.DiscoveryQuery
Direct Known Subclasses:
RestQuery

public class DiscoveryQuery
extends DiscoveryComponent

Defines the model for an executable query.


Constructor Summary
DiscoveryQuery()
          Default constructor.
 
Method Summary
 void echo(StringBuffer sb)
          Appends property information for the component to a buffer.
 DiscoveryFilter getFilter()
          Gets the filter that constrains the query.
 DiscoveryResult getResult()
          Gets the result of the query.
 Discoverables getReturnables()
          Gets the list of discoverable properties to return.
 Sortables getSortables()
          Gets the list of properties describing the sort option for results.
 void setFilter(DiscoveryFilter filter)
          Sets the filter that constrains the query.
 void setReturnables(Discoverables returnables)
          Sets the list of discoverable properties to return.
 void setSortables(Sortables sortables)
          Sets the list of properties describing the sort option for results.
 
Methods inherited from class com.esri.gpt.catalog.discovery.DiscoveryComponent
toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

DiscoveryQuery

public DiscoveryQuery()
Default constructor.

Method Detail

getFilter

public DiscoveryFilter getFilter()
Gets the filter that constrains the query.

Returns:
the filter

setFilter

public void setFilter(DiscoveryFilter filter)
Sets the filter that constrains the query.

Parameters:
filter - the filter

getResult

public DiscoveryResult getResult()
Gets the result of the query.

Returns:
the result

getReturnables

public Discoverables getReturnables()
Gets the list of discoverable properties to return.

Returns:
the list of discoverables to return

setReturnables

public void setReturnables(Discoverables returnables)
Sets the list of discoverable properties to return.

Parameters:
returnables - the list of discoverables to return

getSortables

public Sortables getSortables()
Gets the list of properties describing the sort option for results.

Returns:
the list of sortable properties

setSortables

public void setSortables(Sortables sortables)
Sets the list of properties describing the sort option for results.

Parameters:
sortables - the list of sortable properties

echo

public void echo(StringBuffer sb)
Appends property information for the component to a buffer.

Overrides:
echo in class DiscoveryComponent
Parameters:
sb - the buffer to use when appending information

Esri Geoportal Server
1.0

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