Class LegacyLocalReportsDao

  • All Implemented Interfaces:
    LocalReportsDao

    public class LegacyLocalReportsDao
    extends java.lang.Object
    implements LocalReportsDao

    LegacyLocalReportsDao class.

    Class realize the data access and preserve compatibility to database-reports.xml.

    Since:
    1.10.1
    Version:
    $Id: $
    Author:
    Markus Neumann , Ronny Trommer
    • Constructor Detail

      • LegacyLocalReportsDao

        public LegacyLocalReportsDao​(org.springframework.core.io.Resource configResource)
    • Method Detail

      • loadConfiguration

        public void loadConfiguration()
                               throws java.lang.Exception

        loadConfiguration

        Load XML configuration and unmarshalling
        Specified by:
        loadConfiguration in interface LocalReportsDao
        Throws:
        java.lang.Exception
      • setConfigResource

        public void setConfigResource​(org.springframework.core.io.Resource configResource)

        setLocalReportConfigResource

        Set local report config resource for DAO
        Specified by:
        setConfigResource in interface LocalReportsDao
        Parameters:
        configResource - a Resource object
      • getConfigResource

        public org.springframework.core.io.Resource getConfigResource()

        getConfigResource

        Get local report configuration resource for DAO
        Specified by:
        getConfigResource in interface LocalReportsDao
        Returns:
        a Resource object
      • getReportService

        public java.lang.String getReportService​(java.lang.String id)

        getReportService

        Specified by:
        getReportService in interface LocalReportsDao
        Parameters:
        id - a String object
        Returns:
        a String object
      • getDisplayName

        public java.lang.String getDisplayName​(java.lang.String id)

        getDisplayName

        Specified by:
        getDisplayName in interface LocalReportsDao
        Parameters:
        id - a String object
        Returns:
        a String object
      • setLegacyLocalReportsDefinition

        public void setLegacyLocalReportsDefinition​(LegacyLocalReportsDefinition legacyLocalReportsDefinition)

        setLegacyLocalReportsDefinition

        Set list with legacy report definition

        Parameters:
        legacyLocalReportsDefinition - LegacyLocalReportsDefinition object