Class Extraction
- java.lang.Object
-
- org.ametys.plugins.extraction.execution.Extraction
-
public class Extraction extends Object
Object representing the extraction definition file content
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classExtraction.ExtractionProfileRights profiles
-
Constructor Summary
Constructors Constructor Description Extraction()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaddExtractionComponent(ExtractionComponent extractionComponent)Add an extraction componentUserIdentitygetAuthor()Get the author of the extractionStringgetDescriptionId()Retrieves the identifier of the extraction's descriptionList<String>getDisplayOptionalColumnsNames()Retrieves the list of variables names controlling display of optional columnsList<ExtractionComponent>getExtractionComponents()Retrieves the list of the extraction componentsMap<String,String>getQueryVariablesNamesAndContentTypes()Retrieves the list of variables names and content type to use in queriesvoidsetAuthor(UserIdentity author)Set the author of this extraction.voidsetDescriptionId(String descriptionId)Set the identifier of the extraction's descriptionvoidsetDisplayOptionalColumnsNames(List<String> displayOptionalColumnsNames)Set variables names controlling display of optional columnsvoidsetQueryVariablesNamesAndContentTypes(Map<String,String> queryVariablesNamesAndContentTypes)Set variables names and content types to use in queries
-
-
-
Constructor Detail
-
Extraction
public Extraction()
-
-
Method Detail
-
getDescriptionId
public String getDescriptionId()
Retrieves the identifier of the extraction's description- Returns:
- the identifier of the extraction's description
-
setDescriptionId
public void setDescriptionId(String descriptionId)
Set the identifier of the extraction's description- Parameters:
descriptionId- the identifier to set
-
getExtractionComponents
public List<ExtractionComponent> getExtractionComponents()
Retrieves the list of the extraction components- Returns:
- The extraction components
-
addExtractionComponent
public void addExtractionComponent(ExtractionComponent extractionComponent)
Add an extraction component- Parameters:
extractionComponent- The extraction component to add
-
getDisplayOptionalColumnsNames
public List<String> getDisplayOptionalColumnsNames()
Retrieves the list of variables names controlling display of optional columns- Returns:
- The variables names
-
setDisplayOptionalColumnsNames
public void setDisplayOptionalColumnsNames(List<String> displayOptionalColumnsNames)
Set variables names controlling display of optional columns- Parameters:
displayOptionalColumnsNames- the variables for the optional columns to set
-
getQueryVariablesNamesAndContentTypes
public Map<String,String> 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
public UserIdentity getAuthor()
Get the author of the extraction- Returns:
- The author
-
setAuthor
public void setAuthor(UserIdentity author)
Set the author of this extraction.- Parameters:
author- the author
-
-