source: src/main/java/it/finki/tinki/service/WorkService.java@ f067338

Last change on this file since f067338 was f067338, checked in by Vzdra <vladko.zdravkovski@…>, 3 years ago

added full text search on work

  • Property mode set to 100644
File size: 1.4 KB
Line 
1package it.finki.tinki.service;
2
3import it.finki.tinki.model.Work.Internship;
4import it.finki.tinki.model.Work.Job;
5import it.finki.tinki.model.Work.Project;
6import it.finki.tinki.model.dto.response.work.InternshipResponseDTO;
7import it.finki.tinki.model.dto.response.work.JobResponseDTO;
8import it.finki.tinki.model.dto.response.work.ProjectResponseDTO;
9import it.finki.tinki.model.dto.response.work.WorkResponseDTO;
10import it.finki.tinki.model.enumerator.AccountType;
11
12import java.util.Date;
13import java.util.List;
14
15public interface WorkService {
16 List<Job> getAllJobsByAccount(Long accId);
17 List<Internship> getAllInternshipsByAccount(Long accId);
18 List<Project> getAllProjectsByAccount(Long accId);
19 List<Job> getAllJobs();
20 List<Internship> getAllInternships();
21 List<Project> getAllProjects();
22 Job insertJob(String title, String description, Long accId, int salary, List<Long> skillsRequired, AccountType type);
23 Internship insertInternship(String title, String description, Long adccId, int salary, List<Long> skillsTrained, int openSpots, AccountType type);
24 Project insertProject(String title, String description, Long adccId, int salary, List<Long> skillsRequired, Date validUntil, AccountType type);
25 List<JobResponseDTO> fullTextJobSearch(String text);
26 List<InternshipResponseDTO> fullTextInternshipSearch(String text);
27 List<ProjectResponseDTO> fullTextProjectSearch(String text);
28}
Note: See TracBrowser for help on using the repository browser.