Class RequestRestService
- java.lang.Object
-
- org.exoplatform.rhmanagement.services.rest.RequestRestService
-
- All Implemented Interfaces:
org.exoplatform.services.rest.resource.ResourceContainer
public class RequestRestService extends Object implements org.exoplatform.services.rest.resource.ResourceContainer
Created by Medamine on 05/01/2017.
-
-
Constructor Summary
Constructors Constructor Description RequestRestService(org.exoplatform.social.core.manager.IdentityManager identityManager, org.exoplatform.social.core.space.spi.SpaceService spaceService, VacationRequestService vacationRequestService, ValidatorService validatorService, org.exoplatform.services.organization.OrganizationService organizationService, UserDataService userDataService, OfficialVacationService officialVacationService)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description javax.ws.rs.core.ResponsecreateEmployees(javax.servlet.http.HttpServletRequest request, javax.ws.rs.core.UriInfo uriInfo, List<UserRHDataDTO> emloyees)javax.ws.rs.core.ResponseexportManagers(javax.servlet.http.HttpServletRequest request, javax.ws.rs.core.UriInfo uriInfo)javax.ws.rs.core.Responsefind(javax.servlet.http.HttpServletRequest request, javax.ws.rs.core.UriInfo uriInfo, String nameToSearch, String currentUser)javax.ws.rs.core.ResponsegetEvents(javax.servlet.http.HttpServletRequest request, javax.ws.rs.core.UriInfo uriInfo)javax.ws.rs.core.ResponseupdateManagers(javax.servlet.http.HttpServletRequest request, javax.ws.rs.core.UriInfo uriInfo, List<UserRHDataDTO> emloyees)
-
-
-
Constructor Detail
-
RequestRestService
public RequestRestService(org.exoplatform.social.core.manager.IdentityManager identityManager, org.exoplatform.social.core.space.spi.SpaceService spaceService, VacationRequestService vacationRequestService, ValidatorService validatorService, org.exoplatform.services.organization.OrganizationService organizationService, UserDataService userDataService, OfficialVacationService officialVacationService)
-
-
Method Detail
-
find
@RolesAllowed("users") public javax.ws.rs.core.Response find(@Context javax.servlet.http.HttpServletRequest request, @Context javax.ws.rs.core.UriInfo uriInfo, String nameToSearch, String currentUser) throws Exception- Throws:
Exception
-
getEvents
@RolesAllowed("users") public javax.ws.rs.core.Response getEvents(@Context javax.servlet.http.HttpServletRequest request, @Context javax.ws.rs.core.UriInfo uriInfo) throws Exception- Throws:
Exception
-
createEmployees
@RolesAllowed("administrators") public javax.ws.rs.core.Response createEmployees(@Context javax.servlet.http.HttpServletRequest request, @Context javax.ws.rs.core.UriInfo uriInfo, List<UserRHDataDTO> emloyees) throws Exception- Throws:
Exception
-
updateManagers
@RolesAllowed("administrators") public javax.ws.rs.core.Response updateManagers(@Context javax.servlet.http.HttpServletRequest request, @Context javax.ws.rs.core.UriInfo uriInfo, List<UserRHDataDTO> emloyees) throws Exception- Throws:
Exception
-
-