Class ExtractionExecutionContext
java.lang.Object
org.ametys.plugins.extraction.execution.ExtractionExecutionContext
Context of extraction components execution
-
Constructor Summary
ConstructorDescriptionDefault constructorCreates a context by copy -
Method Summary
Modifier and TypeMethodDescriptionRetrieves the variables values to use in clausesGet the default locale for this context of extractionRetrieves the variables controlling display of optional columnsRetrieves the parents elements of the contextvoid
setClausesVariablesValues
(Map<Extraction.ClausesVariable, List<String>> clausesVariablesValues) Sets the variables values to use in clausesvoid
setDefaultLocale
(Locale defaultLocale) Set the default locale for this context of extraction The default locale is used for export of localized values such as multilingual strings or contents.void
setDisplayOptionalColumns
(Map<String, Boolean> displayOptionalColumns) Sets the variables controlling display of optional columnsvoid
setHierarchyElements
(List<ExtractionExecutionContextHierarchyElement> hierarchyElements) Sets the parents elements of the context
-
Constructor Details
-
ExtractionExecutionContext
public ExtractionExecutionContext()Default constructor -
ExtractionExecutionContext
Creates a context by copy- Parameters:
context
- context to copy
-
-
Method Details
-
setDefaultLocale
Set the default locale for this context of extraction The default locale is used for export of localized values such as multilingual strings or contents.- Parameters:
defaultLocale
- the default locale
-
getDefaultLocale
Get the default locale for this context of extraction- Returns:
- the default locale. Can be null.
-
getDisplayOptionalColumns
Retrieves the variables controlling display of optional columns- Returns:
- The variables controlling display of optional columns
-
setDisplayOptionalColumns
Sets the variables controlling display of optional columns- Parameters:
displayOptionalColumns
- The variables to set
-
getClausesVariablesValues
Retrieves the variables values to use in clauses- Returns:
- the variables values to use in clauses
-
setClausesVariablesValues
public void setClausesVariablesValues(Map<Extraction.ClausesVariable, List<String>> clausesVariablesValues) Sets the variables values to use in clauses- Parameters:
clausesVariablesValues
- the variables values to set
-
getHierarchyElements
Retrieves the parents elements of the context- Returns:
- the elements of the context
-
setHierarchyElements
public void setHierarchyElements(List<ExtractionExecutionContextHierarchyElement> hierarchyElements) Sets the parents elements of the context- Parameters:
hierarchyElements
- the hierarchy elements to set
-