class ProjectDataDeleteService {

	@Transactional
	@UseCaseAdministratorDeleteProject(@Step(number=8,name="delete all project scan data"))
	public void deleteAllDataForProject(String projectId) {
		assertion.isValidProjectId(projectId);

		productResultRepository.deleteAllResultsForProject(projectId);
		scanReportRepository.deleteAllReportsForProject(projectId);
		scanLogRepository.deleteAllLogDataForProject(projectId);
		scanProjectConfigRepository.deleteAllConfigurationsForProject(projectId);
		
		LOG.info("Deleted all data (results,reports, scanlogs) for project:{}",logSanitizer.sanitize(projectId, 30));
	}

}