Interface ReportService

All Known Implementing Classes:
ReportServiceImpl

@Service public interface ReportService
A service which is used to operate on reports.
  • Method Details

    • sendReport

      String sendReport(ReportMessage reportMessage) throws jakarta.mail.MessagingException
      Sends a report to the system.
      Parameters:
      reportMessage - The report message object.
      Returns:
      An informational message.
      Throws:
      jakarta.mail.MessagingException
    • deleteReport

      void deleteReport(Long id)
      Retrieves all reports.
      Parameters:
      id - The ID of the report.
    • getAllReports

      org.springframework.data.domain.Page<Report> getAllReports(Integer page, Integer size)
      Retrieves all reports.
      Parameters:
      page - The page number.
      size - The number of reports on a single page.
      Returns:
      A page containing a subset of reports.