Class Extraction
java.lang.Object
org.ametys.plugins.extraction.execution.Extraction
Object representing the extraction definition file content
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final recordStores a clauses variable datastatic enumTypes of clauses variablesstatic enumRights profiles -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidaddExtractionComponent(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 extractionvoidsetAuthor(UserIdentity author) Set the author of this extraction.voidsetClausesVariables(List<Extraction.ClausesVariable> clausesVariables) Set variables to use in clausesvoidsetDescriptionId(String descriptionId) Set the identifier of the extraction's descriptionvoidsetDisplayOptionalColumnsNames(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
-