com.esri.adf.web.ejb.data
Class EJBOverviewFunctionality

java.lang.Object
  extended by com.esri.adf.web.ejb.data.EJBOverviewFunctionality
All Implemented Interfaces:
GISFunctionality, OverviewFunctionality, java.io.Serializable

Deprecated. This class is deprecated as of ArcGIS Java Server 9.3.1, no replacement

@Deprecated
public class EJBOverviewFunctionality
extends java.lang.Object
implements OverviewFunctionality, java.io.Serializable

Represents the overview functionality implementation for the EJB Resource.

See Also:
Serialized Form

Field Summary
 
Fields inherited from interface com.esri.adf.web.data.OverviewFunctionality
FUNCTIONALITY_NAME
 
Constructor Summary
EJBOverviewFunctionality()
          Deprecated.  
 
Method Summary
 void destroyFunctionality()
          Deprecated.  The cleanup chores (such as releasing held resources) for the functionality must be performed in this method.
 java.io.InputStream exportImage()
          Deprecated.  Exports this overview map for the extent indicated by the WebOverview.
 WebPoint fromMapPoint(WebPoint mapPoint)
          Deprecated. As of ArcGIS Java Server 9.3, instead use WebPoint.fromMapGeometry(WebExtent, int, int)
 EJBMapResource getResource()
          Deprecated.  Returns the GISResource associated with this functionality.
 void initFunctionality(GISResource resource)
          Deprecated. Initializes an instance of the overview functionality for this resource.
 boolean isDisabled()
          Deprecated.  Returns true if this overview functionality is disabled.
 void setDisabled(boolean disabled)
          Deprecated.  If true, this overview functionality is disabled.
 WebPoint toMapPoint(WebPoint screenPoint)
          Deprecated. As of ArcGIS Java Server 9.3, instead use WebPoint.toMapGeometry(WebExtent, int, int)
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

EJBOverviewFunctionality

public EJBOverviewFunctionality()
Deprecated. 
Method Detail

initFunctionality

public void initFunctionality(GISResource resource)
Deprecated. 
Initializes an instance of the overview functionality for this resource.

Specified by:
initFunctionality in interface GISFunctionality
Parameters:
resource - the GISResource that this functionality supports
See Also:
GISResource.init(WebContext)

destroyFunctionality

public void destroyFunctionality()
Deprecated. 
Description copied from interface: GISFunctionality

The cleanup chores (such as releasing held resources) for the functionality must be performed in this method. This method is called by the GISResource when the resource itself is being destroyed.

The functionality is no longer usable after this method has been called.

Specified by:
destroyFunctionality in interface GISFunctionality
See Also:
GISResource.destroy()

getResource

public EJBMapResource getResource()
Deprecated. 
Description copied from interface: GISFunctionality

Returns the GISResource associated with this functionality.

The resource passed to GISFunctionality.initFunctionality(GISResource) is maintained as a class variable and is accessible through this method.

Specified by:
getResource in interface GISFunctionality
Returns:
the GISResource associated with this functionality

exportImage

public java.io.InputStream exportImage()
Deprecated. 
Description copied from interface: OverviewFunctionality

Exports this overview map for the extent indicated by the WebOverview. Implementations should ensure the following:

The WebOverview calls this method on all its overview functionalities and eventually fuses all the exported maps before streaming it to the user. This method is called by the WebOverview in these scenarios:

Specified by:
exportImage in interface OverviewFunctionality
Returns:
a java.io.InputStream to the exported image

isDisabled

public boolean isDisabled()
Deprecated. 
Description copied from interface: OverviewFunctionality

Returns true if this overview functionality is disabled. If a overview functionality is disabled, the WebOverview will not call the OverviewFunctionality.exportImage() on that functionality while it is disabled.

A overview functionality is typically disabled by using the "Disable Overview" context menu item on the resource node in the Table of Contents control. Similarly, the functionality can be enabled by using "Enable Overview".

Specified by:
isDisabled in interface OverviewFunctionality
Returns:
true if this overview functionality is disabled

setDisabled

public void setDisabled(boolean disabled)
Deprecated. 
Description copied from interface: OverviewFunctionality

If true, this overview functionality is disabled. If a overview functionality is disabled, the WebOverview will not call the OverviewFunctionality.exportImage() on that functionality while it is disabled.

A overview functionality is typically disabled by using the "Disable Overview" context menu item on the resource node in the Table of Contents control. Similarly, the functionality can be enabled by using "Enable Overview".

Specified by:
setDisabled in interface OverviewFunctionality
Parameters:
disabled - true if this overview functionality is disabled

fromMapPoint

@Deprecated
public WebPoint fromMapPoint(WebPoint mapPoint)
Deprecated. As of ArcGIS Java Server 9.3, instead use WebPoint.fromMapGeometry(WebExtent, int, int)

Converts a geometry in map coordinates to a geometry of the same type in screen coordinates. Since the converted geometry is a screen geometry, the coordinate system of the converted geometry will be null.

Parameters:
mapPoint - the point to be converted in screen coordinates
Returns:
the screen coordinates of the given point

toMapPoint

@Deprecated
public WebPoint toMapPoint(WebPoint screenPoint)
Deprecated. As of ArcGIS Java Server 9.3, instead use WebPoint.toMapGeometry(WebExtent, int, int)

Converts a geometry in screen coordinates to a geometry of the same type in map coordinates. The coordinate system of the converted geometry will be null.

Parameters:
screenPoint - the point to be converted in map coordinates
Returns:
the map coordinates of the given point