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

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

bugfix

  • Property mode set to 100644
File size: 1.6 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.enumerator.AccountType;
10
11import java.util.Date;
12import java.util.List;
13
14public 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}
Note: See TracBrowser for help on using the repository browser.