org.geotools.catalog
Interface Discovery

All Known Implementing Classes:
AbstractDataStore2, WebMapServer

public interface Discovery

A collection of catalog entries that is organized to assist in the discovery, access, and retrieval of geospatial resources or services that are of interest to the user, especially when the existence or whereabouts of the resource are not know to the user.

Being a collection of catalog entries, a catalog should be able to enumerate each of its entries, and should allow entries to be added or removed. It should also support queries that will enable the user to obtain entries of interest based on specified criteria.

NOTE: The specification Catalog Services 1.1.1 does not specify the methods of the Catalog interface. The methods in this interface were inferred from reading the abstract catalog specification: Catalog Services section 3.1.1

Version:
Catalog Services 1.1.1
Author:
OpenGIS® consortium

Method Summary
 java.util.List entries()
          Entire contents.
 java.util.List search(QueryRequest query)
          Searches through the catalog and finds the entries that that match the query.
 

Method Detail

search

public java.util.List search(QueryRequest query)
Searches through the catalog and finds the entries that that match the query.

Parameters:
query - A query definition used to select catalog entries.
Returns:
Query result containing all matching catalog entries.

entries

public java.util.List entries()
Entire contents.

Shortcut for query( QueryDefinition.ALL )

Returns:
Traverse the entire catalog.


Copyright © GeoTools. All Rights Reserved.