Interface ParameterHelperService
public interface ParameterHelperService
-
Method Summary
Modifier and TypeMethodDescriptioncopyParameterDefinitions(Report origin, Report target, boolean replaceExistingParameters) Copies all parameter definitions from an origin report to a target report.
-
Method Details
-
copyParameterDefinitions
Map<CopyResultType,List<ParameterDefinition>> copyParameterDefinitions(Report origin, Report target, boolean replaceExistingParameters) Copies all parameter definitions from an origin report to a target report. If the reports are variants, their parent base reports are used. Note that dependencies on other parameters are not copied, so these have to be copied manually.- Parameters:
origin- the origin report to copy the parameter definitions fromtarget- the target report to copy the parameter definitions toreplaceExistingParameters- if true, replaces parameters in the target report having the same key in the origin report. If false, ignores these.- Returns:
- a map containing all copied parameter definitions and all existing parameter definitions. These are sorted by key.
-