Class ReportServiceImpl

    • Constructor Detail

      • ReportServiceImpl

        public ReportServiceImpl​(ReportLogic logic)
    • Method Detail

      • create

        public javax.ws.rs.core.Response create​(ReportTO reportTO)
        Description copied from interface: ReportService
        Creates a new report.
        Specified by:
        create in interface ReportService
        Parameters:
        reportTO - report to be created
        Returns:
        Response object featuring Location header of created report
      • update

        public void update​(ReportTO reportTO)
        Description copied from interface: ReportService
        Updates report with matching key.
        Specified by:
        update in interface ReportService
        Parameters:
        reportTO - report to be stored
      • list

        public List<ReportTO> list()
        Description copied from interface: ReportService
        Returns a list of all existing reports.
        Specified by:
        list in interface ReportService
        Returns:
        paged list of existing reports matching the given query
      • read

        public ReportTO read​(String key)
        Description copied from interface: ReportService
        Returns report with matching key.
        Specified by:
        read in interface ReportService
        Parameters:
        key - key of report to be read
        Returns:
        report with matching key
      • exportExecutionResult

        public javax.ws.rs.core.Response exportExecutionResult​(String executionKey)
        Description copied from interface: ReportService
        Exports the report execution with matching key in the requested format.
        Specified by:
        exportExecutionResult in interface ReportService
        Parameters:
        executionKey - key of execution report to be selected
        Returns:
        a stream for content download
      • delete

        public void delete​(String key)
        Description copied from interface: ReportService
        Deletes report with matching key.
        Specified by:
        delete in interface ReportService
        Parameters:
        key - Deletes report with matching key