ArcGIS Server Geoportal extension
10

com.esri.gpt.control.search
Class SearchUrlBuilder

java.lang.Object
  extended by com.esri.gpt.control.search.SearchUrlBuilder

Deprecated. since 9.3.1, building URLs for a resource is now handled by ResourceLinkBuilder.build(com.esri.gpt.framework.search.SearchXslRecord, com.esri.gpt.catalog.search.SearchResultRecord) and RestUrlBuilder.buildParameters(SearchCriteria, String, String)

public class SearchUrlBuilder
extends Object

Provides absolute URL's.


Constructor Summary
SearchUrlBuilder(HttpServletRequest httpServletRequest)
          Deprecated. Creates instance of the object.
 
Method Summary
 String buildAddToArcmapUrl(String server, String serviceType, String service)
          Deprecated. Builds URL to add to ArcMap
 String buildAddToGlobeUrlKml(String server, String serviceType, String service)
          Deprecated. Builds URL to perform adding to globe operation for kml.
 String buildAddToGlobeUrlNmf(String server, String serviceType, String service)
          Deprecated. Builds the add to globe url nmf.
 String buildAddToMapUrl(String server, String serviceType, String service)
          Deprecated. Builds URL to perform adding to MVS map operation
 String buildContentTypeIconUrl(SearchEngineCSW.AimsContentTypes contentType)
          Deprecated. Builds URL to access content type icon reprezentation.
 String buildFullMetadataUrl(String uuid)
          Deprecated. Builds URL to access full metadata.
 String buildFullMetadataUrl(String uuid, String format)
          Deprecated. Builds URL to access full metadata.
 String buildRestSearchRequestUrl(SearchCriteria criteria, GeorssFeedServlet.Format format)
          Deprecated. Build REST interface search request equivalent to search criteria
 String buildViewMetadataUrl(String uuid)
          Deprecated. Builds URL to access metadata view.
static String getAgsMapServerSoapUrl(String server)
          Deprecated. Gets the arcgis server soap root url.
static String getAgsRestServerRootUrl(String server)
          Deprecated. Gets the arcgis server root url.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SearchUrlBuilder

public SearchUrlBuilder(HttpServletRequest httpServletRequest)
Deprecated. 
Creates instance of the object.

Parameters:
httpServletRequest - HTTP servlet request
Method Detail

buildFullMetadataUrl

public String buildFullMetadataUrl(String uuid)
Deprecated. 
Builds URL to access full metadata.

Parameters:
uuid - record UUID
Returns:
URL to access full metadata, or empty string

buildFullMetadataUrl

public String buildFullMetadataUrl(String uuid,
                                   String format)
Deprecated. 
Builds URL to access full metadata.

Parameters:
uuid - record UUID
format - the response format
Returns:
URL to access full metadata, or empty string

buildViewMetadataUrl

public String buildViewMetadataUrl(String uuid)
Deprecated. 
Builds URL to access metadata view.

Parameters:
uuid - record UUID
Returns:
URL to access metadata view, or empty string

buildAddToMapUrl

public String buildAddToMapUrl(String server,
                               String serviceType,
                               String service)
Deprecated. 
Builds URL to perform adding to MVS map operation

Parameters:
server - server URL
serviceType - service type
service - service name
Returns:
URL to perform adding to MVS map operation, or empty string (never null)

getAgsRestServerRootUrl

public static String getAgsRestServerRootUrl(String server)
Deprecated. 
Gets the arcgis server root url.

Parameters:
server - the server
Returns:
the arcgis server root url (returns null if no root url found)

getAgsMapServerSoapUrl

public static String getAgsMapServerSoapUrl(String server)
Deprecated. 
Gets the arcgis server soap root url.

Parameters:
server - the server service)
Returns:
the arcgis server soap root url (null if url not ags server soap without "?wsdl")

buildAddToGlobeUrlNmf

public String buildAddToGlobeUrlNmf(String server,
                                    String serviceType,
                                    String service)
Deprecated. 
Builds the add to globe url nmf.

Parameters:
server - the server
serviceType - the service type
service - the service
Returns:
the string

buildAddToGlobeUrlKml

public String buildAddToGlobeUrlKml(String server,
                                    String serviceType,
                                    String service)
Deprecated. 
Builds URL to perform adding to globe operation for kml.

Parameters:
server - server URL
serviceType - service type
service - service name
Returns:
URL to perform adding to globe operation, or empty string

buildContentTypeIconUrl

public String buildContentTypeIconUrl(SearchEngineCSW.AimsContentTypes contentType)
Deprecated. 
Builds URL to access content type icon reprezentation.

Parameters:
contentType - content type
Returns:
URL to access content type icon reprezentation, or empty string

buildAddToArcmapUrl

public String buildAddToArcmapUrl(String server,
                                  String serviceType,
                                  String service)
Deprecated. 
Builds URL to add to ArcMap

Parameters:
server - server
serviceType - service type
service - service
Returns:
requested URL

buildRestSearchRequestUrl

public String buildRestSearchRequestUrl(SearchCriteria criteria,
                                        GeorssFeedServlet.Format format)
Deprecated. 
Build REST interface search request equivalent to search criteria

Parameters:
criteria - search criteria
format - format
Returns:
REST search request

ArcGIS Server Geoportal extension
10

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