Class ErrorReportSummaries

java.lang.Object
africa.absa.inception.error.ErrorReportSummaries
All Implemented Interfaces:
Serializable

public class ErrorReportSummaries extends Object implements Serializable
The ErrorReportSummaries class holds the results of a request to retrieve the summaries for a list of error reports.
Author:
Marcus Portmann
See Also:
  • Constructor Details

    • ErrorReportSummaries

      public ErrorReportSummaries()
      Constructs a new ErrorReportSummaries.
    • ErrorReportSummaries

      public ErrorReportSummaries(List<ErrorReportSummary> errorReportSummaries, long total, String filter, ErrorReportSortBy sortBy, SortDirection sortDirection, Integer pageIndex, Integer pageSize)
      Constructs a new ErrorReportSummaries.
      Parameters:
      errorReportSummaries - the error report summaries
      total - the total number of error report summaries
      filter - the optional filter that was applied to the error reports
      sortBy - the optional method used to sort the error reports e.g. by who submitted them
      sortDirection - the optional sort direction that was applied to the error reports
      pageIndex - the optional page index
      pageSize - the optional page size
  • Method Details

    • getErrorReportSummaries

      public List<ErrorReportSummary> getErrorReportSummaries()
      Returns the error report summaries.
      Returns:
      the error report summaries
    • getFilter

      public String getFilter()
      Returns the optional filter that was applied to the error reports.
      Returns:
      the optional filter that was applied to the error reports
    • getPageIndex

      public Integer getPageIndex()
      Returns the optional page index.
      Returns:
      the optional page index
    • getPageSize

      public Integer getPageSize()
      Returns the optional page size.
      Returns:
      the optional page size
    • getSortBy

      public ErrorReportSortBy getSortBy()
      Returns the optional method used to sort the error reports e.g. by who submitted them.
      Returns:
      the optional method used to sort the error reports
    • getSortDirection

      public SortDirection getSortDirection()
      Returns the optional sort direction that was applied to the error reports.
      Returns:
      the optional sort direction that was applied to the error reports
    • getTotal

      public Long getTotal()
      Returns the total number of error report summaries.
      Returns:
      the total number of error report summaries