com.esri.adf.web.ejb.data.query
Class EJBQueryFunctionality

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

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

@Deprecated
public class EJBQueryFunctionality
extends QueryFunctionality
implements java.io.Serializable

See Also:
Serialized Form

Field Summary
 
Fields inherited from class com.esri.adf.web.data.query.QueryFunctionality
FUNCTIONALITY_NAME, handlers
 
Constructor Summary
EJBQueryFunctionality()
          Deprecated.  
 
Method Summary
 void destroyFunctionality()
          Deprecated.  The cleanup chores (such as releasing held resources) for the functionality must be performed in this method.
protected  WebLayerInfo getLayer(int layerId)
          Deprecated.  
 EJBMapFunctionality getMapFunctionality()
          Deprecated.  
 com.esri.arcgisws.MapServerInfo getMapServerInfo()
          Deprecated.  
 java.util.List<WebLayerInfo> getQueryLayers()
          Deprecated.  Returns the query-able layers as a List of WebLayerInfo objects.
 GISResource getResource()
          Deprecated.  Returns the GISResource associated with this functionality.
 void initFunctionality(GISResource resource)
          Deprecated.  The initialization chores for the functionality must be performed in this method.
protected  void setDetails(com.esri.arcgisws.PropertySetProperty[] props, QueryResult result)
          Deprecated.  
protected  void setHighlightGeometryAndExtent(com.esri.arcgisws.Geometry geom, QueryResult result)
          Deprecated.  
 
Methods inherited from class com.esri.adf.web.data.query.QueryFunctionality
addFindCriteriaHandler, find, getFindCriteriaHandlers, removeFindCriteriaHandler, setFindCriteriaHandlers
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

EJBQueryFunctionality

public EJBQueryFunctionality()
Deprecated. 
Method Detail

initFunctionality

public void initFunctionality(GISResource resource)
Deprecated. 
Description copied from interface: GISFunctionality

The initialization chores for the functionality must be performed in this method. This method is called by the resource when the functionality needs to be initialized. This happens either when the resource itself is being initialized or if users add this functionality to the resource using the GISResource.addFunctionality(String, GISFunctionality) method after the resource has already been initialized.

Classes which implement this method should maintain the resource as a class instance variable and return the same in the GISFunctionality.getResource() method. The functionality is ready for use only after this method has been called.

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()

getQueryLayers

public java.util.List<WebLayerInfo> getQueryLayers()
Deprecated. 
Description copied from class: QueryFunctionality

Returns the query-able layers as a List of WebLayerInfo objects.

Specified by:
getQueryLayers in class QueryFunctionality
Returns:
the query-able layers as a List of WebLayerInfo objects

getResource

public GISResource 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

setHighlightGeometryAndExtent

protected void setHighlightGeometryAndExtent(com.esri.arcgisws.Geometry geom,
                                             QueryResult result)
Deprecated. 

setDetails

protected void setDetails(com.esri.arcgisws.PropertySetProperty[] props,
                          QueryResult result)
Deprecated. 

getLayer

protected WebLayerInfo getLayer(int layerId)
Deprecated. 

getMapFunctionality

public EJBMapFunctionality getMapFunctionality()
Deprecated. 

getMapServerInfo

public com.esri.arcgisws.MapServerInfo getMapServerInfo()
Deprecated.