This project has retired. For details please refer to its Attic page.
DynamicReportSource

org.apache.maven.archiva.reporting
Interface DynamicReportSource<T>

Package class diagram package DynamicReportSource
All Known Implementing Classes:
CorruptArtifactReport, DuplicateArtifactReport, LocationArtifactsReport, OldArtifactReport, OldSnapshotArtifactReport

public interface DynamicReportSource<T>

DynamicReportSource


Method Summary
 java.util.List<T> getData()
          Get the entire list of values for this report.
 java.util.List<T> getData(DataLimits limits)
          Get the entire list of values for this report.
 java.lang.String getName()
          The human readable name of this report.
 

Method Detail

getName

java.lang.String getName()
The human readable name of this report.

Returns:
the name of the report.

getData

java.util.List<T> getData()
                          throws ObjectNotFoundException,
                                 ArchivaDatabaseException
Get the entire list of values for this report.

Returns:
the complete List of objects for this report.
Throws:
ArchivaDatabaseException - if there was a fundamental issue with accessing the database.
ObjectNotFoundException - if no records were found.

getData

java.util.List<T> getData(DataLimits limits)
                          throws ObjectNotFoundException,
                                 ArchivaDatabaseException
Get the entire list of values for this report.

Parameters:
limits - the limits on the data to fetch. (NOTE: This object is updated by the underlying implementation of this interface with the current values appropriate for the limits object).
Returns:
the complete List of objects for this report.
Throws:
ArchivaDatabaseException - if there was a fundamental issue with accessing the database.
ObjectNotFoundException - if no records were found.