Projekt

Obecné

Profil

Stáhnout (1.22 KB) Statistiky
| Větev: | Tag: | Revize:
1
package cz.zcu.yamanager.business;
2

    
3
import cz.zcu.yamanager.dto.*;
4
import cz.zcu.yamanager.ws.rest.RESTFullException;
5

    
6
import java.time.LocalDate;
7
import java.util.List;
8

    
9
public interface Manager {
10

    
11
    List<BasicProfileUser> getUsers(Status status) throws RESTFullException;
12

    
13
    List<VacationRequest> getVacationRequests(Status status) throws RESTFullException;
14

    
15
    List<AuthorizationRequest> getAuthorizationRequests(Status status) throws RESTFullException;
16

    
17
    FullUserProfile getUserProfile(Long userId) throws RESTFullException;
18

    
19
    DefaultSettings getDefaultSettings() throws RESTFullException;
20

    
21
    List<VacationDay> getUserCalendar(Long userId, LocalDate fromDate, LocalDate toDate, Status status) throws RESTFullException;
22

    
23
    void createSettings(DefaultSettings settings) throws RESTFullException;
24

    
25
    void createVacation(Long userId, VacationDay vacationDay) throws RESTFullException;
26

    
27
    void changeSettings(Long userId, UserSettings settings) throws RESTFullException;
28

    
29
    void changeVacation(Long userId, VacationDay vacationDay) throws RESTFullException;
30

    
31
    void changeRequest(RequestType type, BasicRequest request) throws RESTFullException;
32

    
33
    void deleteVacation(Long userId, Long vacationId) throws RESTFullException;
34
}
(5-5/5)