Esri Geoportal Server
1.2.9

com.esri.gpt.catalog.search
Class IAMapViewer

java.lang.Object
  extended by com.esri.gpt.catalog.search.IAMapViewer
All Implemented Interfaces:
IMapViewer
Direct Known Subclasses:
MapViewerAgsPortal

public abstract class IAMapViewer
extends Object
implements IMapViewer

Convinience class that implements IMapViewer properties

Author:
TM

Constructor Summary
IAMapViewer()
           
 
Method Summary
protected  String getHintServiceType()
          Gets the hint service type.
protected  MapViewerConfigs getMapViewerConfigs()
          Gets the map viewer configs.
 RequestContext getRequestContext()
          Gets the request context.
 String getResourceUri()
          Gets the resource uri.
 boolean getUrlCanBeJscript()
          Gets the url can be jscript.
 void setMapViewerConfigs(MapViewerConfigs mapViewerConfigs)
          Sets the map viewer configs.
 void setRequestContext(RequestContext context)
          Sets the request context.
 void setResourceUri(String resourceUri, String hintServiceType)
          Sets the resource uri.
 void setSearchResultRecord(IFeedRecord searchResultRecord)
          Sets the search result record.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface com.esri.gpt.catalog.search.IMapViewer
canHandleResource, readAddToMapUrl, readOpenDefaultMapViewerUrl, readTarget
 

Constructor Detail

IAMapViewer

public IAMapViewer()
Method Detail

setMapViewerConfigs

public void setMapViewerConfigs(MapViewerConfigs mapViewerConfigs)
Sets the map viewer configs.

Specified by:
setMapViewerConfigs in interface IMapViewer
Parameters:
mapViewerConfigs - the map viewer configs

setResourceUri

public void setResourceUri(String resourceUri,
                           String hintServiceType)
Sets the resource uri.

Specified by:
setResourceUri in interface IMapViewer
Parameters:
resourceUri - the resource uri
hintServiceType - the hint service type

getHintServiceType

protected String getHintServiceType()
Gets the hint service type.

Returns:
the hint service type (trimmed, never null)

getMapViewerConfigs

protected MapViewerConfigs getMapViewerConfigs()
Gets the map viewer configs.

Returns:
the map viewer configs

setSearchResultRecord

public void setSearchResultRecord(IFeedRecord searchResultRecord)
Sets the search result record.

Specified by:
setSearchResultRecord in interface IMapViewer
Parameters:
searchResultRecord - the search result record

setRequestContext

public void setRequestContext(RequestContext context)
Sets the request context.

Specified by:
setRequestContext in interface IMapViewer
Parameters:
context - the context

getRequestContext

public RequestContext getRequestContext()
Gets the request context.

Returns:
the request context

getResourceUri

public String getResourceUri()
Gets the resource uri.

Returns:
the resource uri (trimmed, never null)

getUrlCanBeJscript

public boolean getUrlCanBeJscript()
Gets the url can be jscript.

Returns:
the url can be jscript

Esri Geoportal Server
1.2.9

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