class InternalUserProjectStatusServiceImpl extends AbstractProjectServiceImpl implements InternalUserProjectStatusService {

    @Override
    public ServiceResult<List<ProjectStatusResource>> getPreviousCompetitionStatus(long competitionId) {
        return serviceSuccess(getProjectStatuses(() -> projectRepository.findByApplicationCompetitionIdAndProjectProcessActivityStateIn(competitionId, COMPLETED_STATES)));
    }

}