fr.gouv.culture.sdx.pipeline
Class DeleteResultsPipeline

java.lang.Object
  extended byorg.apache.avalon.framework.logger.AbstractLoggable
      extended byorg.apache.cocoon.xml.AbstractXMLProducer
          extended byorg.apache.cocoon.xml.AbstractXMLPipe
              extended byfr.gouv.culture.sdx.pipeline.AbstractPipeline
                  extended byfr.gouv.culture.sdx.pipeline.GenericPipeline
                      extended byfr.gouv.culture.sdx.pipeline.DeleteResultsPipeline
All Implemented Interfaces:
org.apache.avalon.framework.component.Composable, org.apache.avalon.framework.configuration.Configurable, org.xml.sax.ContentHandler, org.xml.sax.ext.LexicalHandler, org.apache.avalon.framework.logger.LogEnabled, org.apache.avalon.framework.logger.Loggable, Pipeline, org.apache.avalon.excalibur.pool.Poolable, org.apache.avalon.excalibur.pool.Recyclable, org.apache.cocoon.xml.XMLConsumer, org.apache.cocoon.xml.XMLPipe, org.apache.cocoon.xml.XMLProducer

public class DeleteResultsPipeline
extends GenericPipeline

A simple extension of AbstractPipeline.

This pipeline allows query results to pass through a sax filter (GetDocumentsTransformation). In this pipeline, a list of applications is necessary for the aforementioned sax filter.


Field Summary
 
Fields inherited from class fr.gouv.culture.sdx.pipeline.AbstractPipeline
configuration, id, keepStep, logger, manager, props, transformations, transformsList
 
Fields inherited from class org.apache.cocoon.xml.AbstractXMLProducer
contentHandler, lexicalHandler, xmlConsumer
 
Fields inherited from interface fr.gouv.culture.sdx.pipeline.Pipeline
ATTRIBUTE_ID, ATTRIBUTE_TYPE, CLASS_NAME_SUFFIX, ELEMENT_NAME, ELEMENT_NAME_PIPELINES, PACKAGE_QUALNAME
 
Constructor Summary
DeleteResultsPipeline()
           
 
Method Summary
 void compose(org.apache.avalon.framework.component.ComponentManager manager)
          Sets the pipeline's ComponentManager.
 void enableLogging(org.apache.avalon.framework.logger.Logger logger)
          Sets the logger for the pipeline
 void setApplicationId(java.lang.String appId)
          Set's the id of the application from which the document's should be deleted
 
Methods inherited from class fr.gouv.culture.sdx.pipeline.AbstractPipeline
addTransformation, configure, getId, getParameters, getTransformedBytes, getTransformedFile, newInstance, setConsumer, setParameters, setParametersToTransformations, setProperties, verifyConfigurationParameters
 
Methods inherited from class org.apache.cocoon.xml.AbstractXMLPipe
characters, comment, endCDATA, endDocument, endDTD, endElement, endEntity, endPrefixMapping, ignorableWhitespace, processingInstruction, setDocumentLocator, skippedEntity, startCDATA, startDocument, startDTD, startElement, startEntity, startPrefixMapping
 
Methods inherited from class org.apache.cocoon.xml.AbstractXMLProducer
recycle, setContentHandler, setLexicalHandler
 
Methods inherited from class org.apache.avalon.framework.logger.AbstractLoggable
getLogger, setLogger, setupLogger, setupLogger, setupLogger
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.xml.sax.ContentHandler
characters, endDocument, endElement, endPrefixMapping, ignorableWhitespace, processingInstruction, setDocumentLocator, skippedEntity, startDocument, startElement, startPrefixMapping
 
Methods inherited from interface org.xml.sax.ext.LexicalHandler
comment, endCDATA, endDTD, endEntity, startCDATA, startDTD, startEntity
 

Constructor Detail

DeleteResultsPipeline

public DeleteResultsPipeline()
                      throws SDXException
Method Detail

enableLogging

public void enableLogging(org.apache.avalon.framework.logger.Logger logger)
Sets the logger for the pipeline

Specified by:
enableLogging in interface org.apache.avalon.framework.logger.LogEnabled
Overrides:
enableLogging in class AbstractPipeline
Parameters:
logger - The logger created from Cocoon's logkit.

compose

public void compose(org.apache.avalon.framework.component.ComponentManager manager)
             throws org.apache.avalon.framework.component.ComponentException
Sets the pipeline's ComponentManager.

Specified by:
compose in interface org.apache.avalon.framework.component.Composable
Overrides:
compose in class AbstractPipeline
Parameters:
manager - The ComponentManager to use.
Throws:
org.apache.avalon.framework.component.ComponentException

setApplicationId

public void setApplicationId(java.lang.String appId)
                      throws SDXException
Set's the id of the application from which the document's should be deleted

Parameters:
appId -
Throws:
SDXException


Copyright © 2000-2004 Ministere de la culture et de la communication / AJLSM. All Rights Reserved.