Class VacationRequestService
- java.lang.Object
-
- org.exoplatform.rhmanagement.services.VacationRequestService
-
public class VacationRequestService extends Object
Created by The eXo Platform SAS
-
-
Constructor Summary
Constructors Constructor Description VacationRequestService()
-
Method Summary
-
-
-
Method Detail
-
save
public VacationRequestDTO save(VacationRequestDTO entity, boolean newRequest)
-
remove
public void remove(VacationRequestDTO entity)
-
getVacationRequests
public List<VacationRequestDTO> getVacationRequests(int offset, int limit)
-
getActivVacationRequests
public List<VacationRequestDTO> getActivVacationRequests(int offset, int limit)
-
getWaitingVacationRequests
public List<VacationRequestDTO> getWaitingVacationRequests(int offset, int limit)
-
getVacationRequestsByType
public List<VacationRequestDTO> getVacationRequestsByType(String type, int offset, int limit)
-
getVacationRequest
public VacationRequestDTO getVacationRequest(long id)
-
getVacationRequestsByUserId
public List<VacationRequestDTO> getVacationRequestsByUserId(String userId, int offset, int limit)
-
getVacationRequestsByUserIdAndStatus
public List<VacationRequestDTO> getVacationRequestsByUserIdAndStatus(String userId, String status, int offset, int limit)
-
getActiveVacationRequestsByUserId
public List<VacationRequestDTO> getActiveVacationRequestsByUserId(String userId, int offset, int limit)
-
getVacationRequestsByValidator
public List<VacationRequestDTO> getVacationRequestsByValidator(String userId, int offset, int limit)
-
getVacationRequestsByValidatorAndStatus
public List<VacationRequestDTO> getVacationRequestsByValidatorAndStatus(String userId, String status, int offset, int limit)
-
getActiveVacationRequestsByValidator
public List<VacationRequestDTO> getActiveVacationRequestsByValidator(String userId, int offset, int limit)
-
getVacationRequestesCount
public long getVacationRequestesCount()
-
getActiveVacationRequestsCount
public long getActiveVacationRequestsCount()
-
getVacationRequestsByTypeCount
public long getVacationRequestsByTypeCount(String type)
-
getWaitingVacationRequestsCount
public long getWaitingVacationRequestsCount()
-
getVacationRequestByDate
public List<VacationRequestDTO> getVacationRequestByDate(Date date)
-
getVacationRequestByManager
public List<VacationRequestDTO> getVacationRequestByManager(String userId, List<String> listSubs, int offset, int limit)
-
-