Class Extraction
java.lang.Object
org.ametys.plugins.extraction.execution.Extraction
Object representing the extraction definition file content
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic final record
Stores a clauses variable datastatic enum
Types of clauses variablesstatic enum
Rights profiles -
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
addExtractionComponent
(ExtractionComponent extractionComponent) Add an extraction componentGet the author of the extractionRetrieves the list of variables to use in clausesRetrieves the identifier of the extraction's descriptionRetrieves the list of variables names controlling display of optional columnsRetrieves the list of the extraction componentsGet the file name of this extractionvoid
setAuthor
(UserIdentity author) Set the author of this extraction.void
setClausesVariables
(List<Extraction.ClausesVariable> clausesVariables) Set variables to use in clausesvoid
setDescriptionId
(String descriptionId) Set the identifier of the extraction's descriptionvoid
setDisplayOptionalColumnsNames
(List<String> displayOptionalColumnsNames) Set variables names controlling display of optional columns
-
Constructor Details
-
Extraction
Constructor- Parameters:
fileName
- The file name
-
-
Method Details
-
getFileName
Get the file name of this extraction- Returns:
- the file name
-
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
-
getClausesVariables
Retrieves the list of variables to use in clauses- Returns:
- A List containing clauses variables
-
setClausesVariables
Set variables to use in clauses- Parameters:
clausesVariables
- A Map containing variables to set
-
getAuthor
Get the author of the extraction- Returns:
- The author
-
setAuthor
Set the author of this extraction.- Parameters:
author
- the author
-