Interface ExtractionComponent
- All Known Subinterfaces:
TwoStepsExecutingExtractionComponent
- All Known Implementing Classes:
AbstractExtractionComponent
,AbstractGroupExtractionComponent
,AbstractSolrExtractionComponent
,CountExtractionComponent
,MappingQueryExtractionComponent
,QueryExtractionComponent
,ThesaurusExtractionComponent
public interface ExtractionComponent
This interface represents a component of the extraction module
-
Method Summary
Modifier and TypeMethodDescriptionvoid
addSubComponent
(ExtractionComponent subComponent) Add sub componentvoid
execute
(ContentHandler contentHandler, ExtractionExecutionContext context) Execute the extraction of the componentRetrieves the details of the component for treeRetrieves the list of content types defined for this componentRetrieves sub components of the componentvoid
Prepare the execution of the component
-
Method Details
-
prepareComponentExecution
Prepare the execution of the component- Parameters:
context
- context of the extraction component- Throws:
Exception
- if an error occurs
-
execute
Execute the extraction of the component- Parameters:
contentHandler
- result documentcontext
- context of the extraction component- Throws:
Exception
- if an error occurs
-
addSubComponent
Add sub component- Parameters:
subComponent
- the sub components to add
-
getSubComponents
Retrieves sub components of the component- Returns:
- a list of sub components
-
getContentTypes
Retrieves the list of content types defined for this component- Returns:
- a list of content types id
-
getComponentDetailsForTree
Retrieves the details of the component for tree- Returns:
- a
Map
containing component details
-