Package africa.absa.inception.error
Class ErrorReportSummaries
java.lang.Object
africa.absa.inception.error.ErrorReportSummaries
- All Implemented Interfaces:
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 Summary
ConstructorsConstructorDescriptionConstructs a new ErrorReportSummaries.ErrorReportSummaries(List<ErrorReportSummary> errorReportSummaries, long total, String filter, ErrorReportSortBy sortBy, SortDirection sortDirection, Integer pageIndex, Integer pageSize) Constructs a new ErrorReportSummaries. -
Method Summary
Modifier and TypeMethodDescriptionReturns the error report summaries.Returns the optional filter that was applied to the error reports.Returns the optional page index.Returns the optional page size.Returns the optional method used to sort the error reports e.g.Returns the optional sort direction that was applied to the error reports.getTotal()Returns the total number of error report summaries.
-
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 summariestotal- the total number of error report summariesfilter- the optional filter that was applied to the error reportssortBy- the optional method used to sort the error reports e.g. by who submitted themsortDirection- the optional sort direction that was applied to the error reportspageIndex- the optional page indexpageSize- the optional page size
-
-
Method Details
-
getErrorReportSummaries
Returns the error report summaries.- Returns:
- the error report summaries
-
getFilter
Returns the optional filter that was applied to the error reports.- Returns:
- the optional filter that was applied to the error reports
-
getPageIndex
Returns the optional page index.- Returns:
- the optional page index
-
getPageSize
Returns the optional page size.- Returns:
- the optional page size
-
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
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
Returns the total number of error report summaries.- Returns:
- the total number of error report summaries
-