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

org.deegree.ogcwebservices.csw.manager
Class Manager

java.lang.Object
  extended by org.deegree.ogcwebservices.csw.manager.Manager

public class Manager
extends Object

Version:
2.0, $Revision: 7480 $, $Date: 2007-06-06 13:03:40 +0200 (Mi, 06 Jun 2007) $
Author:
Andreas Poth , last edited by: $Author: rbezema $

Constructor Summary
Manager(WFService wfsService, CatalogueConfiguration cswConfiguration)
          initializes a Manager instance
 
Method Summary
 WFService getWfsService()
           
 EchoRequest harvestRecords(Harvest request)
           
static void initHarvester()
          initializes a static Map containing a harvester for other coatalogues, for services and for single CSW-profile documents.
static void startAllHarvester()
          starts all known/registered harvester.
static void stopAllHarvester()
          stpos all known/registered harvester.
 TransactionResult transaction(Transaction request)
          performs a transaction request by transforming and forwarding it to the WFS used as backend
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Manager

public Manager(WFService wfsService,
               CatalogueConfiguration cswConfiguration)
        throws MissingParameterValueException
initializes a Manager instance

Parameters:
wfsService -
cswConfiguration -
Throws:
MissingParameterValueException
Method Detail

initHarvester

public static void initHarvester()
initializes a static Map containing a harvester for other coatalogues, for services and for single CSW-profile documents.


startAllHarvester

public static void startAllHarvester()
starts all known/registered harvester. This method can be used to start harvesting using requests e.g. if a server has been shutdown and restarted.


stopAllHarvester

public static void stopAllHarvester()
stpos all known/registered harvester. This method can be used to stop harvesting using requests e.g. if a server has shall be shut down.


harvestRecords

public EchoRequest harvestRecords(Harvest request)
                           throws OGCWebServiceException
Parameters:
request -
Returns:
An echorequest (e.g. a response to an harvest request).
Throws:
OGCWebServiceException - if something went wrong while processing the request

transaction

public TransactionResult transaction(Transaction request)
                              throws OGCWebServiceException
performs a transaction request by transforming and forwarding it to the WFS used as backend

Parameters:
request -
Returns:
Created by sending the request to the underlying wfs.
Throws:
XMLParsingException
OGCWebServiceException

getWfsService

public WFService getWfsService()
Returns:
the wfsService.

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