org.gcube.indexmanagement.geoindexlookup
Class GeoIndexLookupService

java.lang.Object
  extended by org.gcube.indexmanagement.geoindexlookup.GeoIndexLookupService

public class GeoIndexLookupService
extends java.lang.Object

The GeoIndexService is the implementation of the geoindex wsdl interface. It implements methods for creating indexes, and for adding data and searching the indexes.

Version:
0.1

Constructor Summary
GeoIndexLookupService()
          Constructor - sets up some variables and creates a logging instance
 
Method Summary
 java.lang.String getIndexTypeID(VOID empty)
          Gets the IndexType name of a GeotIndexLookup WS resource
 VOID loadPlugins(VOID empty)
          A method used to reload all plugins from the plugin directory.
 java.lang.String search(SearchPolygon poly)
          Performs a spacial query.
 VOID setIndexTypeID(java.lang.String indexTypeID)
          Sets the IndexType name of a GeoIndexLookup WS resource
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

GeoIndexLookupService

public GeoIndexLookupService()
Constructor - sets up some variables and creates a logging instance

Method Detail

search

public java.lang.String search(SearchPolygon poly)
                        throws GCUBEUnrecoverableFault
Performs a spacial query.

Parameters:
poly - SearchPolygon - A stub containing a polygonal area to search, along with an optional Ranking request and an optional list of Refinement requests.
Returns:
String - a String representation of the RSLocator (EPR) of the ResultSet containing the results of the query.
Throws:
GCUBEUnrecoverableFault

loadPlugins

public VOID loadPlugins(VOID empty)
                 throws GCUBEUnrecoverableFault
A method used to reload all plugins from the plugin directory. Currently loaded will be discarded before the reload.

Parameters:
empty - LoadPlugins - empty instance
Returns:
LoadPluginsResponse - empty instance
Throws:
GCUBEUnrecoverableFault

setIndexTypeID

public VOID setIndexTypeID(java.lang.String indexTypeID)
                    throws GCUBEUnrecoverableFault
Sets the IndexType name of a GeoIndexLookup WS resource

Parameters:
indexTypeID - String - The name of the new IndexType
Returns:
SetIndexTypeResponse - empty instance
Throws:
GCUBEUnrecoverableFault

getIndexTypeID

public java.lang.String getIndexTypeID(VOID empty)
                                throws GCUBEFault
Gets the IndexType name of a GeotIndexLookup WS resource

Parameters:
empty - GetIndexType - empty instance
Returns:
String - The name of the requested IndexType
Throws:
GCUBEFault