Ignore:
Timestamp:
01/09/21 03:40:07 (3 years ago)
Author:
Vzdra <vladko.zdravkovski@…>
Branches:
master
Children:
17abe5e
Parents:
f067338
Message:

added work edit routes

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/main/java/it/finki/tinki/service/WorkService.java

    rf067338 ra3d2b0d  
    1717    List<Internship> getAllInternshipsByAccount(Long accId);
    1818    List<Project> getAllProjectsByAccount(Long accId);
    19     List<Job> getAllJobs();
    20     List<Internship> getAllInternships();
    21     List<Project> getAllProjects();
    2219    Job insertJob(String title, String description, Long accId, int salary, List<Long> skillsRequired, AccountType type);
    2320    Internship insertInternship(String title, String description, Long adccId, int salary, List<Long> skillsTrained, int openSpots, AccountType type);
    2421    Project insertProject(String title, String description, Long adccId, int salary, List<Long> skillsRequired, Date validUntil, AccountType type);
     22    Job editJob(Long id, String title, String description, int salary);
     23    Internship editInternship(Long id, String title, String description, int salary, int openSpots);
     24    Project editProject(Long id, String title, String description, int salary);
    2525    List<JobResponseDTO> fullTextJobSearch(String text);
    2626    List<InternshipResponseDTO> fullTextInternshipSearch(String text);
    2727    List<ProjectResponseDTO> fullTextProjectSearch(String text);
     28    Job getJobById(Long id);
     29    Internship getInternshipById(Long id);
     30    Project getProjectById(Long id);
    2831}
Note: See TracChangeset for help on using the changeset viewer.