1 | package it.finki.tinki.service;
|
---|
2 |
|
---|
3 | import it.finki.tinki.model.Work.Internship;
|
---|
4 | import it.finki.tinki.model.Work.Job;
|
---|
5 | import it.finki.tinki.model.Work.Project;
|
---|
6 | import it.finki.tinki.model.dto.response.work.InternshipResponseDTO;
|
---|
7 | import it.finki.tinki.model.dto.response.work.JobResponseDTO;
|
---|
8 | import it.finki.tinki.model.dto.response.work.ProjectResponseDTO;
|
---|
9 | import it.finki.tinki.model.enumerator.AccountType;
|
---|
10 |
|
---|
11 | import java.util.Date;
|
---|
12 | import java.util.List;
|
---|
13 |
|
---|
14 | public interface WorkService {
|
---|
15 | List<Job> getAllJobsByAccount(Long accId);
|
---|
16 | List<Internship> getAllInternshipsByAccount(Long accId);
|
---|
17 | List<Project> getAllProjectsByAccount(Long accId);
|
---|
18 | Job insertJob(String title, String description, Long accId, int salary, List<Long> skillsRequired, AccountType type);
|
---|
19 | Internship insertInternship(String title, String description, Long adccId, int salary, List<Long> skillsTrained, int openSpots, AccountType type);
|
---|
20 | Project insertProject(String title, String description, Long adccId, int salary, List<Long> skillsRequired, Date validUntil, AccountType type);
|
---|
21 | Job editJob(Long id, String title, String description, int salary);
|
---|
22 | Internship editInternship(Long id, String title, String description, int salary, int openSpots);
|
---|
23 | Project editProject(Long id, String title, String description, int salary);
|
---|
24 | List<JobResponseDTO> fullTextJobSearch(String text);
|
---|
25 | List<InternshipResponseDTO> fullTextInternshipSearch(String text);
|
---|
26 | List<ProjectResponseDTO> fullTextProjectSearch(String text);
|
---|
27 | Job getJobById(Long id);
|
---|
28 | Internship getInternshipById(Long id);
|
---|
29 | Project getProjectById(Long id);
|
---|
30 | }
|
---|