Class ReportApiImpl

  • All Implemented Interfaces:
    com.xebialabs.xlrelease.api.ApiService, com.xebialabs.xlrelease.api.v1.ReportApi

    @Controller
    public class ReportApiImpl
    extends java.lang.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

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      javax.ws.rs.core.Response downloadReleaseReport​(java.lang.String reportType, java.lang.String releaseId)  
      java.util.List<com.xebialabs.xlrelease.domain.facet.TaskReportingRecord> getRecordsForRelease​(java.lang.String releaseId)  
      java.util.List<com.xebialabs.xlrelease.domain.facet.TaskReportingRecord> getRecordsForTask​(java.lang.String taskId)  
      byte[] getReleaseReport​(java.lang.String reportType, java.lang.String releaseId)  
      java.util.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 Detail

      • 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 Detail

      • getRecordsForRelease

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

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

        @Timed
        public java.util.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

        @Timed
        public javax.ws.rs.core.Response downloadReleaseReport​(java.lang.String reportType,
                                                               java.lang.String releaseId)
        Specified by:
        downloadReleaseReport in interface com.xebialabs.xlrelease.api.v1.ReportApi
      • getReleaseReport

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