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

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

finalized register and login and added insert options for jobs

  • Property mode set to 100644
File size: 990 bytes
Line 
1package it.finki.tinki.service;
2
3import it.finki.tinki.model.Jobs.Internship;
4import it.finki.tinki.model.Jobs.Job;
5import it.finki.tinki.model.Jobs.Project;
6import it.finki.tinki.model.enumerator.AccountType;
7
8import java.util.Date;
9import java.util.List;
10
11public interface WorkService {
12 List<Job> getAllJobsByAccount(Long accId);
13 List<Internship> getAllInternshipsByAccount(Long accId);
14 List<Project> getAllProjectsByAccount(Long accId);
15 List<Job> getAllJobs();
16 List<Internship> getAllInternships();
17 List<Project> getAllProjects();
18 Job insertJob(String title, String description, Long accId, int salary, List<Integer> skillsRequired, AccountType type);
19 Internship insertInternship(String title, String description, Long adccId, int salary, List<Integer> skillsTrained, int openSpots, AccountType type);
20 Project insertProject(String title, String description, Long adccId, int salary, List<Integer> skillsRequired, Date validUntil, AccountType type);
21}
Note: See TracBrowser for help on using the repository browser.