Class ReportDataPoolConfiguration

  • All Implemented Interfaces:
    DataPoolConfiguration

    public class ReportDataPoolConfiguration
    extends Object
    implements DataPoolConfiguration
    Retrieves the database pool configurations for the application reports, i.e., the information about which database pool must be used to retrieve the information for each report.
    • Constructor Detail

      • ReportDataPoolConfiguration

        public ReportDataPoolConfiguration()
    • Method Detail

      • getDataPoolSelection

        public Map<String,​String> getDataPoolSelection()
        Description copied from interface: DataPoolConfiguration
        Provides a map that contains the data pool to be used for each entry of this configuration. The entries (keys of the map) should be built according to the format expected by the to ensure that it is able to find the configuration correctly.
        Specified by:
        getDataPoolSelection in interface DataPoolConfiguration
        Returns:
        configured values defined on a map with the IDs of the different entries as keys and the database pool name to be used by each key as values.
        See Also:
        DataPoolChecker.shouldUseDefaultPool()
      • getPreferenceName

        public String getPreferenceName()
        Description copied from interface: DataPoolConfiguration
        Provides the name of the preference that specifies the default database pool to be used by the elements of this configuration when there is no an specific configuration form them
        Specified by:
        getPreferenceName in interface DataPoolConfiguration
        Returns:
        The preference name