Esri Geoportal Server
1.0

com.esri.gpt.catalog.discovery.rest
Class RestQuery

java.lang.Object
  extended by com.esri.gpt.catalog.discovery.DiscoveryComponent
      extended by com.esri.gpt.catalog.discovery.DiscoveryQuery
          extended by com.esri.gpt.catalog.discovery.rest.RestQuery

public class RestQuery
extends DiscoveryQuery

Represents a discovery query to be performed through a rest interface.


Constructor Summary
RestQuery()
          Default constructor.
 
Method Summary
 String getMoreUrl()
          Gets URL to more results.
 String getRepositoryId()
          Gets the ID of the repository to search.
 String getResponseFormat()
          Gets the specified response format.
 String getResponseGeometry()
          Gets the specified response geometry format.
 String getResponseStyle()
          Gets the specified response style parameter.
 String getResponseTarget()
          Gets the specified response target (i.e.
 String getRssProviderUrl()
          Gets a URL suitable for use as the RSS provider.
 String getRssSourceUrl()
          Gets a URL suitable for use as the RSS source.
 void setMoreUrl(String rssMoreUrl)
          Sets URL to more results.
 void setRepositoryId(String repositoryId)
          Sets the ID of the repository to search.
 void setResponseFormat(String format)
          Sets the specified response format.
 void setResponseGeometry(String format)
          Sets the specified response geometry format.
 void setResponseStyle(String style)
          Sets the specified response style parameter.
 void setResponseTarget(String target)
          Sets the specified response target (i.e.
 void setRssProviderUrl(String url)
          Sets a URL suitable for use as the RSS provider.
 void setRssSourceUrl(String url)
          Sets a URL suitable for use as the RSS source.
 
Methods inherited from class com.esri.gpt.catalog.discovery.DiscoveryQuery
echo, getFilter, getResult, getReturnables, getSortables, setFilter, setReturnables, setSortables
 
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

RestQuery

public RestQuery()
Default constructor.

Method Detail

getRepositoryId

public String getRepositoryId()
Gets the ID of the repository to search.

Returns:
the repository ID

setRepositoryId

public void setRepositoryId(String repositoryId)
Sets the ID of the repository to search.

Parameters:
repositoryId - the repository ID

getResponseFormat

public String getResponseFormat()
Gets the specified response format.
The enumeration domain is unchecked.

Returns:
the response format

setResponseFormat

public void setResponseFormat(String format)
Sets the specified response format.
The enumeration domain is unchecked.

Parameters:
format - the response format

getResponseGeometry

public String getResponseGeometry()
Gets the specified response geometry format.
The enumeration domain is unchecked.

Returns:
the response geometry format

setResponseGeometry

public void setResponseGeometry(String format)
Sets the specified response geometry format.
The enumeration domain is unchecked.

Parameters:
format - the response geometry format

getResponseStyle

public String getResponseStyle()
Gets the specified response style parameter.
The response style is suitable for a formatting CSS URL(s).

Returns:
the response style

setResponseStyle

public void setResponseStyle(String style)
Sets the specified response style parameter.
The response style is suitable for a formatting CSS URL(s).

Parameters:
style - the response style

getResponseTarget

public String getResponseTarget()
Gets the specified response target (i.e. the target for <a> tags).
The enumeration domain is unchecked.

Returns:
the response target

setResponseTarget

public void setResponseTarget(String target)
Sets the specified response target (i.e. the target for <a> tags).
The enumeration domain is unchecked.

Parameters:
target - the response target

getRssProviderUrl

public String getRssProviderUrl()
Gets a URL suitable for use as the RSS provider.

Returns:
the RSS provider URL

setRssProviderUrl

public void setRssProviderUrl(String url)
Sets a URL suitable for use as the RSS provider.

Parameters:
url - the RSS provider URL

getRssSourceUrl

public String getRssSourceUrl()
Gets a URL suitable for use as the RSS source.

Returns:
the RSS source URL

setRssSourceUrl

public void setRssSourceUrl(String url)
Sets a URL suitable for use as the RSS source.

Parameters:
url - the RSS source URL

getMoreUrl

public String getMoreUrl()
Gets URL to more results.

Returns:
URL to more results

setMoreUrl

public void setMoreUrl(String rssMoreUrl)
Sets URL to more results.

Parameters:
rssMoreUrl - URL to more results

Esri Geoportal Server
1.0

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