}
range[0] = ( page - 1 ) * rowCount;
range[1] = ( page * rowCount ) + 1;
ArchivaAuditLogsConstraint constraint = null;
if ( !repository.equals( ALL_REPOSITORIES ) )
{
constraint =
new ArchivaAuditLogsConstraint( range, artifact, repository, AuditEvent.UPLOAD_FILE, startDateInDF, endDateInDF );
}
else
{
constraint =
new ArchivaAuditLogsConstraint( range, artifact, null, AuditEvent.UPLOAD_FILE, startDateInDF, endDateInDF );
}
try
{
auditLogs = filterLogs( auditLogsDao.queryAuditLogs( constraint ) );