Class 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 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
      • exportManagers

        @RolesAllowed("users")
        public javax.ws.rs.core.Response exportManagers​(@Context
                                                        javax.servlet.http.HttpServletRequest request,
                                                        @Context
                                                        javax.ws.rs.core.UriInfo uriInfo)
                                                 throws Exception
        Throws:
        Exception