Class RESTWebConferencingService

java.lang.Object
org.exoplatform.webconferencing.rest.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 Summary

    Fields
    Modifier and Type
    Field
    Description
    protected static final org.exoplatform.services.log.Log
    The Constant LOG.
    protected final WebConferencingService
    The web conferencing.
  • Constructor Summary

    Constructors
    Constructor
    Description
    Instantiates a new REST service for web conferencing.
  • Method Summary

    Modifier and Type
    Method
    Description
    javax.ws.rs.core.Response
    getProviderConfig(javax.ws.rs.core.UriInfo uriInfo, javax.servlet.http.HttpServletRequest request, String type)
    Gets the provider config.
    javax.ws.rs.core.Response
    getProviderConfigs(javax.ws.rs.core.UriInfo uriInfo, javax.servlet.http.HttpServletRequest request)
    Gets the provider configs.
    javax.ws.rs.core.Response
    getRoomInfo(javax.ws.rs.core.UriInfo uriInfo, String roomId, String roomTitle, String roomMembers)
    Gets the chat room info.
    javax.ws.rs.core.Response
    getSpaceEventInfo(javax.ws.rs.core.UriInfo uriInfo, String spaceIdentityId, String participants, String spaces)
    Gets the space event info.
    javax.ws.rs.core.Response
    getSpaceInfo(javax.ws.rs.core.UriInfo uriInfo, String spaceName)
    Gets the space info.
    javax.ws.rs.core.Response
    getUserInfo(javax.ws.rs.core.UriInfo uriInfo, String userName)
    Gets the user info.
    javax.ws.rs.core.Response
    postProviderConfig(javax.ws.rs.core.UriInfo uriInfo, javax.servlet.http.HttpServletRequest request, String type, String active)
    Post provider config.

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Field Details

    • LOG

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

      protected final WebConferencingService webConferencing
      The web conferencing.
  • Constructor Details

    • RESTWebConferencingService

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

    • 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 spaceIdentityId, String participants, String spaces)
      Gets the space event info.
      Parameters:
      uriInfo - the uri info
      spaceIdentityId - the space identity id
      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