method2testcases stringlengths 118 3.08k |
|---|
### Question:
SectionRestServiceImpl extends BaseRestService implements SectionRestService { @Override public RestResult<List<SectionResource>> getSectionsByCompetitionIdAndType(Long competitionId, SectionType type) { return getWithRestResult(sectionRestURL + "/get-sections-by-competition-id-and-type/" + competitionId ... |
### Question:
SectionRestServiceImpl extends BaseRestService implements SectionRestService { @Override public RestResult<List<SectionResource>> getByCompetitionIdVisibleForAssessment(Long competitionId) { return getWithRestResult(sectionRestURL + "/get-by-competition-id-visible-for-assessment/" + competitionId, section... |
### Question:
SectionRestServiceImpl extends BaseRestService implements SectionRestService { @Override public RestResult<List<SectionResource>> getChildSectionsByParentId(long parentId) { return getWithRestResult(sectionRestURL + "/get-child-sections/" + parentId, sectionResourceListType()); } @Override RestResult<Sec... |
### Question:
ApplicationAssessmentSummaryRestServiceImpl extends BaseRestService implements ApplicationAssessmentSummaryRestService { @Override public RestResult<ApplicationAvailableAssessorPageResource> getAvailableAssessors(long applicationId, Integer pageIndex, Integer pageSize, String assessorNameFilter, Sort sort... |
### Question:
ApplicationAssessmentSummaryRestServiceImpl extends BaseRestService implements ApplicationAssessmentSummaryRestService { @Override public RestResult<List<ApplicationAssessorResource>> getAssignedAssessors(long applicationId) { return getWithRestResult(format("%s/%s/assigned-assessors", applicationAssessme... |
### Question:
ApplicationAssessmentSummaryRestServiceImpl extends BaseRestService implements ApplicationAssessmentSummaryRestService { @Override public RestResult<ApplicationAssessmentSummaryResource> getApplicationAssessmentSummary(long applicationId) { return getWithRestResult(format("%s/%s", applicationAssessmentSum... |
### Question:
ApplicationAssessmentSummaryRestServiceImpl extends BaseRestService implements ApplicationAssessmentSummaryRestService { @Override public RestResult<List<Long>> getAvailableAssessorsIds(long applicationId, String assessorName) { String uriWithParams = buildUri(applicationAssessmentSummaryRestURL + "/{appl... |
### Question:
AssessorCompetitionSummaryRestServiceImpl extends BaseRestService implements AssessorCompetitionSummaryRestService { @Override public RestResult<AssessorCompetitionSummaryResource> getAssessorSummary(long assessorId, long competitionId) { return getWithRestResult(format(baseUrl + "/summary", assessorId, c... |
### Question:
AssessorFormInputResponseRestServiceImpl extends BaseRestService implements AssessorFormInputResponseRestService { @Override public RestResult<List<AssessorFormInputResponseResource>> getAllAssessorFormInputResponses(long assessmentId) { return getWithRestResult(format("%s/assessment/%s", assessorFormInpu... |
### Question:
AssessorFormInputResponseRestServiceImpl extends BaseRestService implements AssessorFormInputResponseRestService { @Override public RestResult<Void> updateFormInputResponse(long assessmentId, long formInputId, String value) { return updateFormInputResponses(new AssessorFormInputResponsesResource( new Asse... |
### Question:
AssessorFormInputResponseRestServiceImpl extends BaseRestService implements AssessorFormInputResponseRestService { @Override public RestResult<Void> updateFormInputResponses(AssessorFormInputResponsesResource assessorFormInputResponseResources) { return putWithRestResult(format("%s", assessorFormInputResp... |
### Question:
AssessorFormInputResponseRestServiceImpl extends BaseRestService implements AssessorFormInputResponseRestService { @Override public RestResult<ApplicationAssessmentAggregateResource> getApplicationAssessmentAggregate(long applicationId) { return getWithRestResult(format("%s/application/%s/scores", assesso... |
### Question:
AssessorFormInputResponseRestServiceImpl extends BaseRestService implements AssessorFormInputResponseRestService { @Override public RestResult<AssessmentFeedbackAggregateResource> getAssessmentAggregateFeedback(long applicationId, long questionId) { return getWithRestResult(format("%s/application/%s/quest... |
### Question:
RoleProfileStatusServiceImpl implements RoleProfileStatusService { @Override public ServiceResult<List<RoleProfileStatusResource>> findByUserId(long userId) { return find(roleProfileStatusRepository.findByUserId(userId), notFoundError(RoleProfileStatus.class, userId)) .andOnSuccessReturn(rp -> rp.stream()... |
### Question:
RoleProfileStatusServiceImpl implements RoleProfileStatusService { @Override public ServiceResult<RoleProfileStatusResource> findByUserIdAndProfileRole(long userId, ProfileRole profileRole) { return find(roleProfileStatusRepository.findByUserIdAndProfileRole(userId, profileRole), notFoundError(RoleProfile... |
### Question:
CompetitionKeyAssessmentStatisticsRestServiceImpl extends BaseRestService implements
CompetitionKeyAssessmentStatisticsRestService { @Override public RestResult<CompetitionReadyToOpenKeyAssessmentStatisticsResource> getReadyToOpenKeyStatisticsByCompetition( long competitionId) { return getWithRest... |
### Question:
CompetitionKeyAssessmentStatisticsRestServiceImpl extends BaseRestService implements
CompetitionKeyAssessmentStatisticsRestService { @Override public RestResult<CompetitionOpenKeyAssessmentStatisticsResource> getOpenKeyStatisticsByCompetition( long competitionId) { return getWithRestResult(format(... |
### Question:
CompetitionKeyAssessmentStatisticsRestServiceImpl extends BaseRestService implements
CompetitionKeyAssessmentStatisticsRestService { @Override public RestResult<CompetitionClosedKeyAssessmentStatisticsResource> getClosedKeyStatisticsByCompetition( long competitionId) { return getWithRestResult(for... |
### Question:
CompetitionKeyAssessmentStatisticsRestServiceImpl extends BaseRestService implements
CompetitionKeyAssessmentStatisticsRestService { @Override public RestResult<CompetitionInAssessmentKeyAssessmentStatisticsResource> getInAssessmentKeyStatisticsByCompetition(long competitionId) { return getWithRes... |
### Question:
AssessorRestServiceImpl extends BaseRestService implements AssessorRestService { @Override public RestResult<Void> createAssessorByInviteHash(String hash, UserRegistrationResource userRegistrationResource) { return postWithRestResultAnonymous(format("%s/register/%s", assessorRestUrl, hash), userRegistrati... |
### Question:
AssessorRestServiceImpl extends BaseRestService implements AssessorRestService { @Override public RestResult<Void> notifyAssessors(long competitionId) { return putWithRestResult(String.format("%s/notify-assessors/competition/%s", assessorRestUrl, competitionId), Void.class); } @Override RestResult<Void> ... |
### Question:
AssessmentRestServiceImpl extends BaseRestService implements AssessmentRestService { @Override public RestResult<AssessmentResource> getById(final long id) { return getWithRestResult(format("%s/%s", assessmentRestURL, id), AssessmentResource.class); } @Override RestResult<AssessmentResource> getById(fina... |
### Question:
RoleProfileStatusServiceImpl implements RoleProfileStatusService { @Override @Transactional public ServiceResult<Void> updateUserStatus(long userId, RoleProfileStatusResource roleProfileStatusResource) { return getUser(userId).andOnSuccessReturnVoid(user -> updateRoleProfileStatus(user, roleProfileStatusR... |
### Question:
AssessmentRestServiceImpl extends BaseRestService implements AssessmentRestService { @Override public RestResult<AssessmentResource> getAssignableById(long id) { return getWithRestResult(format("%s/%s/assign", assessmentRestURL, id), AssessmentResource.class); } @Override RestResult<AssessmentResource> g... |
### Question:
AssessmentRestServiceImpl extends BaseRestService implements AssessmentRestService { @Override public RestResult<AssessmentResource> getRejectableById(long id) { return getWithRestResult(format("%s/%s/rejectable", assessmentRestURL, id), AssessmentResource.class); } @Override RestResult<AssessmentResourc... |
### Question:
AssessmentRestServiceImpl extends BaseRestService implements AssessmentRestService { public RestResult<List<AssessmentResource>> getByUserAndApplication(long userId, long applicationId) { return getWithRestResult(format("%s/user/%s/application/%s", assessmentRestURL, userId, applicationId), ParameterizedT... |
### Question:
AssessmentRestServiceImpl extends BaseRestService implements AssessmentRestService { @Override public RestResult<Long> countByStateAndCompetition(AssessmentState state, long competitionId) { return getWithRestResult(format("%s/state/%s/competition/%s/count", assessmentRestURL, state.getStateName(), compet... |
### Question:
AssessmentRestServiceImpl extends BaseRestService implements AssessmentRestService { @Override public RestResult<AssessmentTotalScoreResource> getTotalScore(long id) { return getWithRestResult(format("%s/%s/score", assessmentRestURL, id), AssessmentTotalScoreResource.class); } @Override RestResult<Assess... |
### Question:
AssessmentRestServiceImpl extends BaseRestService implements AssessmentRestService { @Override public RestResult<ApplicationAssessmentFeedbackResource> getApplicationFeedback(long applicationId) { return getWithRestResult(format("%s/application/%s/feedback", assessmentRestURL, applicationId), ApplicationA... |
### Question:
AssessmentRestServiceImpl extends BaseRestService implements AssessmentRestService { @Override public RestResult<Void> acceptInvitation(long id) { return putWithRestResult(format("%s/%s/accept-invitation", assessmentRestURL, id), Void.class); } @Override RestResult<AssessmentResource> getById(final long ... |
### Question:
AssessmentRestServiceImpl extends BaseRestService implements AssessmentRestService { @Override public RestResult<Void> submitAssessments(AssessmentSubmissionsResource assessmentSubmissions) { return putWithRestResult(format("%s/submit-assessments", assessmentRestURL), assessmentSubmissions, Void.class); }... |
### Question:
AssessmentRestServiceImpl extends BaseRestService implements AssessmentRestService { @Override public RestResult<Void> withdrawAssessment(long id) { return putWithRestResult(format("%s/%s/withdraw", assessmentRestURL, id), Void.class); } @Override RestResult<AssessmentResource> getById(final long id); @O... |
### Question:
AssessmentRestServiceImpl extends BaseRestService implements AssessmentRestService { @Override public RestResult<AssessmentResource> createAssessment(AssessmentCreateResource assessmentCreateResource) { return postWithRestResult(format("%s", assessmentRestURL), assessmentCreateResource, AssessmentResource... |
### Question:
AssessorCompetitionDashboardRestServiceImpl extends BaseRestService implements AssessorCompetitionDashboardRestService { @Override public RestResult<AssessorCompetitionDashboardResource> getAssessorCompetitionDashboard(long competitionId, long userId) { return getWithRestResult(format(baseUrl + "/dashboar... |
### Question:
CompetitionSetupPostAwardServiceRestServiceImpl extends BaseRestService implements CompetitionSetupPostAwardServiceRestService { @Override public RestResult<Void> setPostAwardService(long competitionId, PostAwardService postAwardService) { return postWithRestResult(format("%s/%d/%s/%s", COMPETITIONS_POST_... |
### Question:
CompetitionSetupPostAwardServiceRestServiceImpl extends BaseRestService implements CompetitionSetupPostAwardServiceRestService { @Override public RestResult<CompetitionPostAwardServiceResource> getPostAwardService(long competitionId) { return getWithRestResult(format("%s/%d/%s", COMPETITIONS_POST_AWARD_RE... |
### Question:
CompetitionKeyApplicationStatisticsRestServiceImpl extends BaseRestService implements
CompetitionKeyApplicationStatisticsRestService { @Override public RestResult<CompetitionOpenKeyApplicationStatisticsResource> getOpenKeyStatisticsByCompetition( long competitionId) { return getWithRestResult(form... |
### Question:
CompetitionKeyApplicationStatisticsRestServiceImpl extends BaseRestService implements
CompetitionKeyApplicationStatisticsRestService { @Override public RestResult<CompetitionClosedKeyApplicationStatisticsResource> getClosedKeyStatisticsByCompetition( long competitionId) { return getWithRestResult(... |
### Question:
CompetitionKeyApplicationStatisticsRestServiceImpl extends BaseRestService implements
CompetitionKeyApplicationStatisticsRestService { @Override public RestResult<CompetitionFundedKeyApplicationStatisticsResource> getFundedKeyStatisticsByCompetition( long competitionId) { return getWithRestResult(... |
### Question:
AgreementServiceImpl extends BaseTransactionalService implements AgreementService { @Override public ServiceResult<AgreementResource> getCurrent() { return find(repository.findByCurrentTrue(), notFoundError(Agreement.class)).andOnSuccessReturn(mapper::mapToResource); } @Override ServiceResult<AgreementRe... |
### Question:
FileFunctions { public static final String pathElementsToPathString(List<String> pathElements) { if (pathElements == null || pathElements.isEmpty()) { return ""; } return pathElements.stream().reduce("", (pathSoFar, nextPathSegment) -> pathSoFar + (!pathSoFar.isEmpty() ? separator : "") + nextPathSegment)... |
### Question:
CompetitionKeyApplicationStatisticsRestServiceImpl extends BaseRestService implements
CompetitionKeyApplicationStatisticsRestService { @Override public RestResult<ReviewKeyStatisticsResource> getReviewKeyStatisticsByCompetition(long competitionId) { return getWithRestResult(format("%s/%s/%s", COMP... |
### Question:
CompetitionKeyApplicationStatisticsRestServiceImpl extends BaseRestService implements
CompetitionKeyApplicationStatisticsRestService { @Override public RestResult<ReviewInviteStatisticsResource> getReviewInviteStatisticsByCompetition(long competitionId) { return getWithRestResult(format("%s/%s/%s"... |
### Question:
CompetitionKeyApplicationStatisticsRestServiceImpl extends BaseRestService implements
CompetitionKeyApplicationStatisticsRestService { @Override public RestResult<InterviewAssignmentKeyStatisticsResource> getInterviewAssignmentStatisticsByCompetition( long competitionId) { return getWithRestResult... |
### Question:
CompetitionKeyApplicationStatisticsRestServiceImpl extends BaseRestService implements
CompetitionKeyApplicationStatisticsRestService { @Override public RestResult<InterviewInviteStatisticsResource> getInterviewInviteStatisticsByCompetition(long competitionId) { return getWithRestResult(format("%s/... |
### Question:
CompetitionKeyApplicationStatisticsRestServiceImpl extends BaseRestService implements
CompetitionKeyApplicationStatisticsRestService { @Override public RestResult<InterviewStatisticsResource> getInterviewStatisticsByCompetition(long competitionId) { return getWithRestResult(format("%s/%s/%s", COMP... |
### Question:
CompetitionOrganisationConfigRestServiceImpl extends BaseRestService implements CompetitionOrganisationConfigRestService { @Override public RestResult<CompetitionOrganisationConfigResource> findByCompetitionId(long competitionId) { return getWithRestResultAnonymous(competitionOrganisationConfigUrl + "/fin... |
### Question:
CompetitionOrganisationConfigRestServiceImpl extends BaseRestService implements CompetitionOrganisationConfigRestService { @Override public RestResult<CompetitionOrganisationConfigResource> update(long competitionId, CompetitionOrganisationConfigResource competitionOrganisationConfigResource) { return put... |
### Question:
CompetitionSetupStakeholderRestServiceImpl extends BaseRestService implements CompetitionSetupStakeholderRestService { @Override public RestResult<Void> inviteStakeholder(InviteUserResource inviteUserResource, long competitionId) { return postWithRestResult(format("%s/%s/stakeholder/invite", competitionSe... |
### Question:
CompetitionSetupStakeholderRestServiceImpl extends BaseRestService implements CompetitionSetupStakeholderRestService { @Override public RestResult<List<UserResource>> findStakeholders(long competitionId) { return getWithRestResult(format("%s/%s/stakeholder/find-all", competitionSetupStakeholderRestURL , c... |
### Question:
CompetitionSetupStakeholderRestServiceImpl extends BaseRestService implements CompetitionSetupStakeholderRestService { @Override public RestResult<StakeholderInviteResource> getStakeholderInvite(String inviteHash) { return getWithRestResultAnonymous(format("%s/get-stakeholder-invite/%s", competitionSetupS... |
### Question:
CompetitionSetupStakeholderRestServiceImpl extends BaseRestService implements CompetitionSetupStakeholderRestService { @Override public RestResult<Void> createStakeholder(String inviteHash, StakeholderRegistrationResource stakeholderRegistrationResource) { String url = format("%s/stakeholder/create/%s", c... |
### Question:
CompetitionSetupStakeholderRestServiceImpl extends BaseRestService implements CompetitionSetupStakeholderRestService { @Override public RestResult<Void> addStakeholder(long competitionId, long stakeholderUserId) { return postWithRestResult(format("%s/%s/stakeholder/%s/add", competitionSetupStakeholderRest... |
### Question:
CompetitionSetupStakeholderRestServiceImpl extends BaseRestService implements CompetitionSetupStakeholderRestService { @Override public RestResult<Void> removeStakeholder(long competitionId, long stakeholderUserId) { return postWithRestResult(format("%s/%s/stakeholder/%s/remove",competitionSetupStakeholde... |
### Question:
CompetitionSetupStakeholderRestServiceImpl extends BaseRestService implements CompetitionSetupStakeholderRestService { @Override public RestResult<List<UserResource>> findPendingStakeholderInvites(long competitionId) { return getWithRestResult(format("%s/%s/stakeholder/pending-invites", competitionSetupSt... |
### Question:
AlertRestServiceImpl extends BaseRestService implements AlertRestService { @Override @HystrixCommand(fallbackMethod = "findAllVisibleFallback") public RestResult<List<AlertResource>> findAllVisible() { return getWithRestResultAnonymous(alertRestURL + "/find-all-visible", ParameterizedTypeReferences.alertR... |
### Question:
AlertRestServiceImpl extends BaseRestService implements AlertRestService { public RestResult<List<AlertResource>> findAllVisibleFallback(Throwable e) { LOG.info("Calling Alerts Fallback:",e); return RestResult.restSuccess(Collections.emptyList()); } @Value("${ifs.alert.service.rest.baseURL}") @Override v... |
### Question:
AlertRestServiceImpl extends BaseRestService implements AlertRestService { @Override @HystrixCommand(fallbackMethod = "findAllVisibleByTypeFallback") public RestResult<List<AlertResource>> findAllVisibleByType(AlertType type) { return getWithRestResultAnonymous(alertRestURL + "/find-all-visible/" + type.n... |
### Question:
AlertRestServiceImpl extends BaseRestService implements AlertRestService { @Override public RestResult<AlertResource> getAlertById(final Long id) { return getWithRestResult(alertRestURL + "/" + id, AlertResource.class); } @Value("${ifs.alert.service.rest.baseURL}") @Override void setServiceUrl(String ser... |
### Question:
AlertRestServiceImpl extends BaseRestService implements AlertRestService { @Override public RestResult<AlertResource> create(final AlertResource alertResource) { return postWithRestResult(alertRestURL + "/", alertResource, AlertResource.class); } @Value("${ifs.alert.service.rest.baseURL}") @Override void... |
### Question:
AlertRestServiceImpl extends BaseRestService implements AlertRestService { @Override public RestResult<Void> delete(final Long id) { return deleteWithRestResult(alertRestURL + "/" + id); } @Value("${ifs.alert.service.rest.baseURL}") @Override void setServiceUrl(String serviceUrl); @Override @HystrixComma... |
### Question:
UserSurveyServiceImpl implements UserSurveyService { @Override public ServiceResult<Void> sendApplicantDiversitySurvey(User user) { return notificationService.sendNotificationWithFlush(surveyNotification(user, DIVERSITY_SURVEY_APPLICANT), EMAIL); } @Override ServiceResult<Void> sendApplicantDiversitySurv... |
### Question:
AlertRestServiceImpl extends BaseRestService implements AlertRestService { @Override public RestResult<Void> deleteAllByType(final AlertType type) { return deleteWithRestResult(alertRestURL + "/delete/" + type.name()); } @Value("${ifs.alert.service.rest.baseURL}") @Override void setServiceUrl(String serv... |
### Question:
ProfileRestServiceImpl extends BaseRestService implements ProfileRestService { @Override public RestResult<ProfileSkillsResource> getProfileSkills(Long userId) { return getWithRestResult(format("%s/id/%s/get-profile-skills", profileRestURL, userId), ProfileSkillsResource.class); } @Override RestResult<Pr... |
### Question:
ProfileRestServiceImpl extends BaseRestService implements ProfileRestService { @Override public RestResult<Void> updateProfileSkills(Long userId, ProfileSkillsEditResource profileSkillsEditResource) { return putWithRestResult(format("%s/id/%s/update-profile-skills", profileRestURL, userId), profileSkillsE... |
### Question:
ProfileRestServiceImpl extends BaseRestService implements ProfileRestService { @Override public RestResult<ProfileAgreementResource> getProfileAgreement(Long userId) { return getWithRestResult(format("%s/id/%s/get-profile-agreement", profileRestURL, userId), ProfileAgreementResource.class); } @Override R... |
### Question:
ProfileRestServiceImpl extends BaseRestService implements ProfileRestService { @Override public RestResult<Void> updateProfileAgreement(Long userId) { return putWithRestResult(format("%s/id/%s/update-profile-agreement", profileRestURL, userId), Void.class); } @Override RestResult<ProfileSkillsResource> g... |
### Question:
ProfileRestServiceImpl extends BaseRestService implements ProfileRestService { @Override public RestResult<UserProfileResource> getUserProfile(Long userId) { return getWithRestResult(format("%s/id/%s/get-user-profile", profileRestURL, userId), UserProfileResource.class); } @Override RestResult<ProfileSki... |
### Question:
ProfileRestServiceImpl extends BaseRestService implements ProfileRestService { @Override public RestResult<Void> updateUserProfile(Long userId, UserProfileResource userProfile) { return putWithRestResult(format("%s/id/%s/update-user-profile", profileRestURL, userId), userProfile, Void.class); } @Override... |
### Question:
ProfileRestServiceImpl extends BaseRestService implements ProfileRestService { @Override public RestResult<UserProfileStatusResource> getUserProfileStatus(Long userId) { return getWithRestResult(format("%s/id/%s/profile-status", profileRestURL, userId), UserProfileStatusResource.class); } @Override RestR... |
### Question:
FileTypeRestServiceImpl extends BaseRestService implements FileTypeRestService { @Override public RestResult<FileTypeResource> findOne(long id) { return getWithRestResult(fileTypeRestURL + "/" + id, FileTypeResource.class); } @Override RestResult<FileTypeResource> findOne(long id); @Override RestResult<F... |
### Question:
FileTypeRestServiceImpl extends BaseRestService implements FileTypeRestService { @Override public RestResult<FileTypeResource> findByName(String name) { return getWithRestResult(fileTypeRestURL + "/find-by-name/" + name, FileTypeResource.class); } @Override RestResult<FileTypeResource> findOne(long id); ... |
### Question:
UserSurveyServiceImpl implements UserSurveyService { @Override public ServiceResult<Void> sendAssessorDiversitySurvey(User user) { return notificationService.sendNotificationWithFlush(surveyNotification(user, DIVERSITY_SURVEY_ASSESSOR), EMAIL); } @Override ServiceResult<Void> sendApplicantDiversitySurvey... |
### Question:
FinanceReviewerRestServiceImpl extends BaseRestService implements FinanceReviewerRestService { @Override public RestResult<List<SimpleUserResource>> findFinanceUsers() { return getWithRestResult(format("%s/%s", FINANCE_REVIEWER_REST_URL, "find-all"), simpleUserListType()); } @Override RestResult<List<Sim... |
### Question:
FinanceReviewerRestServiceImpl extends BaseRestService implements FinanceReviewerRestService { @Override public RestResult<Void> assignFinanceReviewerToProject(long userId, long projectId) { return postWithRestResult(format("%s/%d/%s/%d", FINANCE_REVIEWER_REST_URL, userId, "assign", projectId)); } @Overr... |
### Question:
FinanceReviewerRestServiceImpl extends BaseRestService implements FinanceReviewerRestService { @Override public RestResult<SimpleUserResource> findFinanceReviewerForProject(long projectId) { return getWithRestResult(String.format("%s?projectId=%d", FINANCE_REVIEWER_REST_URL, projectId), SimpleUserResource... |
### Question:
StatusRestServiceImpl extends BaseRestService implements StatusRestService { @Override public RestResult<ProjectStatusPageResource> getCompetitionStatus(Long competitionId, String applicationSearchString, int page) { return getWithRestResult(COMPETITION_URL + "/" + competitionId + "?applicationSearchStrin... |
### Question:
StatusRestServiceImpl extends BaseRestService implements StatusRestService { @Override public RestResult<List<ProjectStatusResource>> getPreviousCompetitionStatus(Long competitionId) { return getWithRestResult(PREVIOUS_COMPETITION_URL + "/" + competitionId, projectStatusResourceListType()); } @Override R... |
### Question:
StatusRestServiceImpl extends BaseRestService implements StatusRestService { @Override public RestResult<ProjectStatusResource> getProjectStatus(Long projectId) { return getWithRestResult(PROJECT_REST_URL + "/" + projectId + "/status", ProjectStatusResource.class); } @Override RestResult<ProjectStatusPag... |
### Question:
StatusRestServiceImpl extends BaseRestService implements StatusRestService { @Override public RestResult<ProjectTeamStatusResource> getProjectTeamStatus(Long projectId, Optional<Long> filterByUserId){ return filterByUserId. map(userId -> getWithRestResult(PROJECT_REST_URL + "/" + projectId + "/team-status... |
### Question:
ProjectTeamRestServiceImpl extends BaseRestService implements ProjectTeamRestService { @Override public RestResult<Void> inviteProjectMember(long projectId, ProjectUserInviteResource inviteResource) { return postWithRestResult(format(projectTeamRestURL, projectId, "invite"), inviteResource, Void.class); }... |
### Question:
ProjectTeamRestServiceImpl extends BaseRestService implements ProjectTeamRestService { @Override public RestResult<Void> removeUser(long projectId, long userId) { return postWithRestResult(format(projectTeamRestURL + "/%d", projectId, "remove-user", userId)); } @Override RestResult<Void> inviteProjectMem... |
### Question:
UsersRolesServiceImpl extends BaseTransactionalService implements UsersRolesService { @Override public ServiceResult<ProcessRoleResource> getProcessRoleById(long id) { return super.getProcessRole(id).andOnSuccessReturn(processRoleMapper::mapToResource); } @Override ServiceResult<ProcessRoleResource> getP... |
### Question:
ProjectTeamRestServiceImpl extends BaseRestService implements ProjectTeamRestService { @Override public RestResult<Void> removeInvite(long projectId, long inviteId) { return postWithRestResult(format(projectTeamRestURL + "/%d", projectId, "remove-invite", inviteId)); } @Override RestResult<Void> invitePr... |
### Question:
PendingPartnerProgressRestServiceImpl extends BaseRestService implements PendingPartnerProgressRestService { @Override public RestResult<PendingPartnerProgressResource> getPendingPartnerProgress(long projectId, long organisationId) { return getWithRestResult(format(pendingPartnerProgressUrl, projectId, or... |
### Question:
PendingPartnerProgressRestServiceImpl extends BaseRestService implements PendingPartnerProgressRestService { @Override public RestResult<Void> markYourOrganisationComplete(long projectId, long organisationId) { return postWithRestResult(format(pendingPartnerProgressUrl, projectId, organisationId) + "/your... |
### Question:
PendingPartnerProgressRestServiceImpl extends BaseRestService implements PendingPartnerProgressRestService { @Override public RestResult<Void> markYourFundingComplete(long projectId, long organisationId) { return postWithRestResult(format(pendingPartnerProgressUrl, projectId, organisationId) + "/your-fund... |
### Question:
PendingPartnerProgressRestServiceImpl extends BaseRestService implements PendingPartnerProgressRestService { @Override public RestResult<Void> markTermsAndConditionsComplete(long projectId, long organisationId) { return postWithRestResult(format(pendingPartnerProgressUrl, projectId, organisationId) + "/te... |
### Question:
PendingPartnerProgressRestServiceImpl extends BaseRestService implements PendingPartnerProgressRestService { @Override public RestResult<Void> markYourOrganisationIncomplete(long projectId, long organisationId) { return postWithRestResult(format(pendingPartnerProgressUrl, projectId, organisationId) + "/yo... |
### Question:
PendingPartnerProgressRestServiceImpl extends BaseRestService implements PendingPartnerProgressRestService { @Override public RestResult<Void> markYourFundingIncomplete(long projectId, long organisationId) { return postWithRestResult(format(pendingPartnerProgressUrl, projectId, organisationId) + "/your-fu... |
### Question:
PendingPartnerProgressRestServiceImpl extends BaseRestService implements PendingPartnerProgressRestService { @Override public RestResult<Void> markTermsAndConditionsIncomplete(long projectId, long organisationId) { return postWithRestResult(format(pendingPartnerProgressUrl, projectId, organisationId) + "/... |
### Question:
PendingPartnerProgressRestServiceImpl extends BaseRestService implements PendingPartnerProgressRestService { @Override public RestResult<Void> completePartnerSetup(long projectId, long organisationId) { return postWithRestResult(format(pendingPartnerProgressUrl, projectId, organisationId)); } @Override R... |
### Question:
ProjectRestServiceImpl extends BaseRestService implements ProjectRestService { @Override public RestResult<ProjectResource> getProjectById(long projectId) { return getWithRestResult(format(PROJECT_REST_URL + "%d", projectId), ProjectResource.class); } @Override RestResult<ProjectResource> getProjectById(... |
### Question:
UsersRolesServiceImpl extends BaseTransactionalService implements UsersRolesService { @Override public ServiceResult<List<ProcessRoleResource>> getProcessRolesByIds(Long[] ids) { List<Long> processRoleIds = asList(ids); return serviceSuccess(processRolesToResources(processRoleRepository.findAllById(proces... |
### Question:
ProjectRestServiceImpl extends BaseRestService implements ProjectRestService { @Override public RestResult<List<ProjectUserResource>> getProjectUsersForProject(long projectId) { return getWithRestResult(format(PROJECT_REST_URL + "%d/project-users", projectId), projectUserResourceList()); } @Override Rest... |
### Question:
ProjectRestServiceImpl extends BaseRestService implements ProjectRestService { public RestResult<List<ProjectResource>> findByUserId(long userId) { return getWithRestResult(format(PROJECT_REST_URL + "user/%d", userId), projectResourceListType()); } @Override RestResult<ProjectResource> getProjectById(lon... |
### Question:
ProjectRestServiceImpl extends BaseRestService implements ProjectRestService { @Override public RestResult<ProjectResource> getByApplicationId(long applicationId) { return getWithRestResult(format(PROJECT_REST_URL + "application/%d", applicationId), ProjectResource.class); } @Override RestResult<ProjectR... |
### Question:
ProjectRestServiceImpl extends BaseRestService implements ProjectRestService { @Override public RestResult<ProjectUserResource> getProjectManager(long projectId) { return getWithRestResult(format(PROJECT_REST_URL + "%d/project-manager", projectId), ProjectUserResource.class); } @Override RestResult<Proje... |
### Question:
ProjectRestServiceImpl extends BaseRestService implements ProjectRestService { @Override public RestResult<List<ProjectUserResource>> getProjectFinanceContacts(long projectId) { return getWithRestResult(format(PROJECT_REST_URL + "%d/project-finance-contacts", projectId), projectUserResourceList()); } @Ov... |
### Question:
ProjectRestServiceImpl extends BaseRestService implements ProjectRestService { @Override public RestResult<ProjectResource> createProjectFromApplicationId(long applicationId) { return postWithRestResult(format(PROJECT_REST_URL + "create-project/application/%d", applicationId), ProjectResource.class); } @... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.