Class RESTWebConferencingService

  • All Implemented Interfaces:
    org.exoplatform.services.rest.resource.ResourceContainer

    public class RESTWebConferencingService
    extends Object
    implements org.exoplatform.services.rest.resource.ResourceContainer
    Created by The eXo Platform SAS.
    Version:
    $Id: RESTWebConferencingService.java 00000 Feb 22, 2017 pnedonosko $
    Author:
    Peter Nedonosko
    • Field Detail

      • EMPTY

        public static final String EMPTY
        The Constant EMPTY.
      • LOG

        protected static final org.exoplatform.services.log.Log LOG
        The Constant LOG.
    • Constructor Detail

      • RESTWebConferencingService

        public RESTWebConferencingService​(WebConferencingService webConferencing)
        Instantiates a new REST service for web conferencing.
        Parameters:
        webConferencing - the web conferencing
    • Method Detail

      • getProviderConfig

        @RolesAllowed("administrators")
        public javax.ws.rs.core.Response getProviderConfig​(@Context
                                                           javax.ws.rs.core.UriInfo uriInfo,
                                                           @Context
                                                           javax.servlet.http.HttpServletRequest request,
                                                           String type)
        Gets the provider config.
        Parameters:
        uriInfo - the uri info
        request - the request
        type - the type
        Returns:
        the provider config
      • postProviderConfig

        @RolesAllowed("administrators")
        public javax.ws.rs.core.Response postProviderConfig​(@Context
                                                            javax.ws.rs.core.UriInfo uriInfo,
                                                            @Context
                                                            javax.servlet.http.HttpServletRequest request,
                                                            String type,
                                                            String active)
        Post provider config.
        Parameters:
        uriInfo - the uri info
        request - the request
        type - the type
        active - the active
        Returns:
        the response
      • getProviderConfigs

        @RolesAllowed("administrators")
        public javax.ws.rs.core.Response getProviderConfigs​(@Context
                                                            javax.ws.rs.core.UriInfo uriInfo,
                                                            @Context
                                                            javax.servlet.http.HttpServletRequest request)
        Gets the provider configs.
        Parameters:
        uriInfo - the uri info
        request - the request
        Returns:
        the provider configs
      • getUserInfo

        @RolesAllowed("users")
        public javax.ws.rs.core.Response getUserInfo​(@Context
                                                     javax.ws.rs.core.UriInfo uriInfo,
                                                     String userName)
        Gets the user info.
        Parameters:
        uriInfo - the uri info
        userName - the id
        Returns:
        the user info response
      • getSpaceInfo

        @RolesAllowed("users")
        public javax.ws.rs.core.Response getSpaceInfo​(@Context
                                                      javax.ws.rs.core.UriInfo uriInfo,
                                                      String spaceName)
        Gets the space info.
        Parameters:
        uriInfo - the uri info
        spaceName - the space name
        Returns:
        the space info response
      • getSpaceEventInfo

        @RolesAllowed("users")
        public javax.ws.rs.core.Response getSpaceEventInfo​(@Context
                                                           javax.ws.rs.core.UriInfo uriInfo,
                                                           String spaceName,
                                                           String participants,
                                                           String spaces)
        Gets the space event info.
        Parameters:
        uriInfo - the uri info
        spaceName - the space name
        Returns:
        the space event info response
      • getRoomInfo

        @RolesAllowed("users")
        public javax.ws.rs.core.Response getRoomInfo​(@Context
                                                     javax.ws.rs.core.UriInfo uriInfo,
                                                     String roomId,
                                                     String roomTitle,
                                                     String roomMembers)
        Gets the chat room info.
        Parameters:
        uriInfo - the uri info
        roomId - the room id
        roomTitle - the room title
        roomMembers - the room members
        Returns:
        the room info response