Class Extraction
java.lang.Object
org.ametys.plugins.extraction.execution.Extraction
Object representing the extraction definition file content
-
Nested Class Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
addExtractionComponent
(ExtractionComponent extractionComponent) Add an extraction componentGet the author of the extractionRetrieves the identifier of the extraction's descriptionRetrieves the list of variables names controlling display of optional columnsRetrieves the list of the extraction componentsRetrieves the list of variables names and content type to use in queriesvoid
setAuthor
(UserIdentity author) Set the author of this extraction.void
setDescriptionId
(String descriptionId) Set the identifier of the extraction's descriptionvoid
setDisplayOptionalColumnsNames
(List<String> displayOptionalColumnsNames) Set variables names controlling display of optional columnsvoid
setQueryVariablesNamesAndContentTypes
(Map<String, String> queryVariablesNamesAndContentTypes) Set variables names and content types to use in queries
-
Constructor Details
-
Extraction
public Extraction()
-
-
Method Details
-
getDescriptionId
Retrieves the identifier of the extraction's description- Returns:
- the identifier of the extraction's description
-
setDescriptionId
Set the identifier of the extraction's description- Parameters:
descriptionId
- the identifier to set
-
getExtractionComponents
Retrieves the list of the extraction components- Returns:
- The extraction components
-
addExtractionComponent
Add an extraction component- Parameters:
extractionComponent
- The extraction component to add
-
getDisplayOptionalColumnsNames
Retrieves the list of variables names controlling display of optional columns- Returns:
- The variables names
-
setDisplayOptionalColumnsNames
Set variables names controlling display of optional columns- Parameters:
displayOptionalColumnsNames
- the variables for the optional columns to set
-
getQueryVariablesNamesAndContentTypes
Retrieves the list of variables names and content type to use in queries- Returns:
- A Map containing variables names and content types
-
setQueryVariablesNamesAndContentTypes
public void setQueryVariablesNamesAndContentTypes(Map<String, String> queryVariablesNamesAndContentTypes) Set variables names and content types to use in queries- Parameters:
queryVariablesNamesAndContentTypes
- A Map containing variables names and content types to set
-
getAuthor
Get the author of the extraction- Returns:
- The author
-
setAuthor
Set the author of this extraction.- Parameters:
author
- the author
-