class BackupsApiController implements BackupsApi {

    @Override
    @PreAuthorize("hasAuthority('BACKUP_CONFIGURATION')")
    @AuditEventMethod(event = DELETE_BACKUP)
    public ResponseEntity<Void> deleteBackup(String filename) {
        try {
            backupService.deleteBackup(filename);
        } catch (BackupFileNotFoundException e) {
            throw new ResourceNotFoundException(e);
        }

        return new ResponseEntity<>(HttpStatus.NO_CONTENT);
    }

    @Autowired public  BackupsApiController(BackupService backupService,
            RestoreService restoreService, BackupConverter backupConverter,
            TokenService tokenService);

}