deegree 2.1 (2007/11/08 09:57 build-328-official)

org.deegree.ogcwebservices.csw
Class CatalogueService

java.lang.Object
  extended by org.deegree.ogcwebservices.csw.CatalogueService
All Implemented Interfaces:
OGCWebService

public class CatalogueService
extends Object
implements OGCWebService

The Catalogue Service class provides the foundation for an OGC catalogue service. The Catalogue Service class directly includes only the serviceTypeID attribute. In most cases, this attribute will not be directly visible to catalogue clients.

The catalog service is an implementation of the OpenGIS Catalogue Service Specification 2.0.

Version:
$Revision: 7253 $, $Date: 2007-05-22 11:35:33 +0200 (Di, 22 Mai 2007) $
Author:
Torsten Friebe , Markus Schneider , last edited by: $Author: rbezema $
See Also:
OGC Specification

Field Summary
(package private) static Map<URL,OGCWebService> wfsMap
           
 
Method Summary
static CatalogueService create(CatalogueConfiguration config)
          Creates a new CatalogService instance.
 Object doService(OGCWebServiceRequest request)
          Method for event based request processing.
 OGCCapabilities getCapabilities()
          Returns the OGC-capabilities of the service.
 Discovery getDiscovery()
           
 Manager getManager()
           
 String getServiceTypeId()
          Returns the service type (CSW).
 String getVersion()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

wfsMap

static Map<URL,OGCWebService> wfsMap
Method Detail

create

public static final CatalogueService create(CatalogueConfiguration config)
                                     throws OGCWebServiceException
Creates a new CatalogService instance.

Parameters:
config -
Returns:
new CatalogService instance.
Throws:
OGCWebServiceException

getCapabilities

public OGCCapabilities getCapabilities()
Returns the OGC-capabilities of the service.

Specified by:
getCapabilities in interface OGCWebService
Returns:
the OGC-capabilities of the service.
To do:
analyze incoming request! return only requested sections

getServiceTypeId

public String getServiceTypeId()
Returns the service type (CSW).

Returns:
the service type (CSW).

getVersion

public String getVersion()
Returns:
Version

doService

public Object doService(OGCWebServiceRequest request)
                 throws OGCWebServiceException
Method for event based request processing.

Specified by:
doService in interface OGCWebService
Parameters:
request - request object containing the request
Returns:
an Object which may be one of the following
  • DescribeRecordResult
  • GetRecordResult
  • GetRecordByIdResult
  • TransactionResult
  • EchoRequest
  • OGCCapabilities
  • Throws:
    OGCWebServiceException
    To do:
    validation of requested version against accepted versions, return type

getDiscovery

public Discovery getDiscovery()
Returns:
Returns the discovery.

getManager

public Manager getManager()
                   throws OGCWebServiceException
Returns:
the manager.
Throws:
OGCWebServiceException

deegree 2.1 (2007/11/08 09:57 build-328-official)

an open source project founded by lat/lon, Bonn, Germany.
For more information visit: http://deegree.sourceforge.net