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 Details

    • LOG

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

      protected final WebConferencingService webConferencing
      The web conferencing.
    • localeConfigService

      protected final org.exoplatform.services.resources.LocaleConfigService localeConfigService
  • Constructor Details

    • RESTWebConferencingService

      public RESTWebConferencingService(WebConferencingService webConferencing, org.exoplatform.services.resources.LocaleConfigService localeConfigService, org.exoplatform.social.core.space.spi.SpaceService spaceService)
      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("users") public javax.ws.rs.core.Response getProviderConfigs(@Context javax.ws.rs.core.UriInfo uriInfo, @Context javax.servlet.http.HttpServletRequest request, String spaceIdentityId, boolean ignoreEnabled)
      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
    • getContext

      @RolesAllowed("users") public javax.ws.rs.core.Response getContext(@Context javax.ws.rs.core.UriInfo uriInfo, String userName, String spaceId, String language)
      Gets the Call context info.
      Parameters:
      uriInfo - the uri info
      userName - the id
      language - the current language of the user
      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
    • getActiveProvidersForSpace

      @RolesAllowed("users") public javax.ws.rs.core.Response getActiveProvidersForSpace(String spaceId)
    • saveVideoConference

      @RolesAllowed("users") public javax.ws.rs.core.Response saveVideoConference(ActiveCallProvider activeCallProvider, String spaceId)
    • updateVideoConferenceEnabled

      @RolesAllowed("users") public javax.ws.rs.core.Response updateVideoConferenceEnabled(String spaceId, boolean enabled, String provider)
    • isVideoConferenceEnabled

      @RolesAllowed("users") public javax.ws.rs.core.Response isVideoConferenceEnabled(String spaceId)