public class VacationRequestService extends Object
| Constructor and Description |
|---|
VacationRequestService() |
| Modifier and Type | Method and Description |
|---|---|
List<VacationRequestDTO> |
getActiveVacationRequestsByUserId(String userId,
int offset,
int limit) |
VacationRequestDTO |
getVacationRequest(long id) |
long |
getVacationRequestesCount() |
List<VacationRequestDTO> |
getVacationRequests(int offset,
int limit) |
List<VacationRequestDTO> |
getVacationRequestsByUserId(String userId,
int offset,
int limit) |
List<VacationRequestDTO> |
getVacationRequestsByUserIdAndStatus(String userId,
String status,
int offset,
int limit) |
void |
remove(VacationRequestDTO entity) |
VacationRequestDTO |
save(VacationRequestDTO entity,
boolean newRequest) |
public VacationRequestDTO save(VacationRequestDTO entity, boolean newRequest)
public void remove(VacationRequestDTO entity)
public List<VacationRequestDTO> getVacationRequests(int offset, int limit)
public VacationRequestDTO getVacationRequest(long id)
public List<VacationRequestDTO> getVacationRequestsByUserId(String userId, int offset, int limit)
public List<VacationRequestDTO> getVacationRequestsByUserIdAndStatus(String userId, String status, int offset, int limit)
public List<VacationRequestDTO> getActiveVacationRequestsByUserId(String userId, int offset, int limit)
public long getVacationRequestesCount()
Copyright © 2003–2017 eXo Platform SAS. All rights reserved.