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
FieldsModifier and TypeFieldDescriptionprotected static final org.exoplatform.services.log.LogThe Constant LOG.protected final WebConferencingServiceThe web conferencing. -
Constructor Summary
ConstructorsConstructorDescriptionRESTWebConferencingService(WebConferencingService webConferencing) Instantiates a new REST service for web conferencing. -
Method Summary
Modifier and TypeMethodDescriptionjavax.ws.rs.core.ResponsegetProviderConfig(javax.ws.rs.core.UriInfo uriInfo, javax.servlet.http.HttpServletRequest request, String type) Gets the provider config.javax.ws.rs.core.ResponsegetProviderConfigs(javax.ws.rs.core.UriInfo uriInfo, javax.servlet.http.HttpServletRequest request) Gets the provider configs.javax.ws.rs.core.ResponsegetRoomInfo(javax.ws.rs.core.UriInfo uriInfo, String roomId, String roomTitle, String roomMembers) Gets the chat room info.javax.ws.rs.core.ResponsegetSpaceEventInfo(javax.ws.rs.core.UriInfo uriInfo, String spaceIdentityId, String participants, String spaces) Gets the space event info.javax.ws.rs.core.ResponsegetSpaceInfo(javax.ws.rs.core.UriInfo uriInfo, String spaceName) Gets the space info.javax.ws.rs.core.ResponsegetUserInfo(javax.ws.rs.core.UriInfo uriInfo, String userName) Gets the user info.javax.ws.rs.core.ResponsepostProviderConfig(javax.ws.rs.core.UriInfo uriInfo, javax.servlet.http.HttpServletRequest request, String type, String active) Post provider config.
-
Field Details
-
LOG
protected static final org.exoplatform.services.log.Log LOGThe Constant LOG. -
webConferencing
The web conferencing.
-
-
Constructor Details
-
RESTWebConferencingService
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 inforequest- the requesttype- 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 inforequest- the requesttype- the typeactive- 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 inforequest- 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 infouserName- 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 infospaceName- 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 infospaceIdentityId- 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 inforoomId- the room idroomTitle- the room titleroomMembers- the room members- Returns:
- the room info response
-