Class ReportApiImpl

java.lang.Object
com.xebialabs.xlrelease.reports.api.v1.impl.ReportApiImpl
All Implemented Interfaces:
com.xebialabs.xlrelease.api.ApiService, com.xebialabs.xlrelease.api.v1.ReportApi

@Controller public class ReportApiImpl extends Object implements com.xebialabs.xlrelease.api.v1.ReportApi
  • Field Summary

    Fields inherited from interface com.xebialabs.xlrelease.api.ApiService

    DEFAULT_RESULTS_PER_PAGE, DEFAULT_RESULTS_PER_PAGE_STRING, DEPTH, ORDER_BY, PAGE, PAGE_IS_OFFSET, RESULTS_PER_PAGE, ROLE_IDS_DATA
  • Constructor Summary

    Constructors
    Constructor
    Description
    ReportApiImpl(org.springframework.context.ApplicationContext applicationContext, com.xebialabs.xlrelease.service.FacetService facetService, com.xebialabs.xlrelease.service.ReleaseService releaseService, com.xebialabs.xlrelease.security.PermissionChecker permissions)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    jakarta.ws.rs.core.Response
    downloadReleaseReport(String reportType, String releaseId)
     
    List<com.xebialabs.xlrelease.domain.facet.TaskReportingRecord>
     
    List<com.xebialabs.xlrelease.domain.facet.TaskReportingRecord>
     
    byte[]
    getReleaseReport(String reportType, String releaseId)
     
    List<com.xebialabs.xlrelease.domain.facet.TaskReportingRecord>
    searchRecords(com.xebialabs.xlrelease.api.v1.forms.FacetFilters facetFilters)
     

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

    Methods inherited from interface com.xebialabs.xlrelease.api.v1.ReportApi

    serviceName
  • Constructor Details

    • ReportApiImpl

      @Autowired public ReportApiImpl(org.springframework.context.ApplicationContext applicationContext, com.xebialabs.xlrelease.service.FacetService facetService, com.xebialabs.xlrelease.service.ReleaseService releaseService, com.xebialabs.xlrelease.security.PermissionChecker permissions)
  • Method Details

    • getRecordsForRelease

      public List<com.xebialabs.xlrelease.domain.facet.TaskReportingRecord> getRecordsForRelease(String releaseId)
      Specified by:
      getRecordsForRelease in interface com.xebialabs.xlrelease.api.v1.ReportApi
    • getRecordsForTask

      public List<com.xebialabs.xlrelease.domain.facet.TaskReportingRecord> getRecordsForTask(String taskId)
      Specified by:
      getRecordsForTask in interface com.xebialabs.xlrelease.api.v1.ReportApi
    • searchRecords

      public List<com.xebialabs.xlrelease.domain.facet.TaskReportingRecord> searchRecords(com.xebialabs.xlrelease.api.v1.forms.FacetFilters facetFilters)
      Specified by:
      searchRecords in interface com.xebialabs.xlrelease.api.v1.ReportApi
    • downloadReleaseReport

      public jakarta.ws.rs.core.Response downloadReleaseReport(String reportType, String releaseId)
      Specified by:
      downloadReleaseReport in interface com.xebialabs.xlrelease.api.v1.ReportApi
    • getReleaseReport

      public byte[] getReleaseReport(String reportType, String releaseId) throws IOException
      Specified by:
      getReleaseReport in interface com.xebialabs.xlrelease.api.v1.ReportApi
      Throws:
      IOException