Class RecordingWebService
java.lang.Object
org.apache.openmeetings.webservice.BaseWebService
org.apache.openmeetings.webservice.RecordingWebService
@Service("recordWebService")
@Produces("application/json")
@Path("/record")
public class RecordingWebService
extends BaseWebService
The Service contains methods to work with recordings
-
Field Summary
Fields inherited from class org.apache.openmeetings.webservice.BaseWebService
fileDao, roomDao, sessionDao, userDao
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionDeletes a recordinggetExternal
(String sid, String externalType, String externalId) Gets a list of recordings created by particular external USERgetExternalByRoom
(String sid, Long roomId) Get list of recordingsgetExternalByType
(String sid, String externalType) Gets a list of recordings
-
Constructor Details
-
RecordingWebService
public RecordingWebService()
-
-
Method Details
-
delete
@DELETE @Path("/{id}") public ServiceResult delete(@QueryParam("sid") String sid, @PathParam("id") Long id) throws ServiceException Deletes a recording- Parameters:
sid
- The SID of the User. This SID must be marked as Loggedinid
- the id of the recording- Returns:
ServiceResult
with result type- Throws:
ServiceException
-
getExternal
@GET @Path("/{externaltype}/{externalid}") public List<RecordingDTO> getExternal(@QueryParam("sid") String sid, @PathParam("externaltype") String externalType, @PathParam("externalid") String externalId) throws ServiceException Gets a list of recordings created by particular external USER- Parameters:
sid
- The SID of the User. This SID must be marked as LoggedinexternalId
- the externalUserIdexternalType
- the externalUserType- Returns:
- - list of recordings
- Throws:
ServiceException
-
getExternalByType
@GET @Path("/{externaltype}") public List<RecordingDTO> getExternalByType(@QueryParam("sid") String sid, @PathParam("externaltype") String externalType) throws ServiceException Gets a list of recordings- Parameters:
sid
- The SID of the User. This SID must be marked as LoggedinexternalType
- externalType specified when creating the room- Returns:
- - list of flv recordings
- Throws:
ServiceException
-
getExternalByRoom
@GET @Path("/room/{roomid}") public List<RecordingDTO> getExternalByRoom(@QueryParam("sid") String sid, @PathParam("roomid") Long roomId) throws ServiceException Get list of recordings- Parameters:
sid
- The SID of the User. This SID must be marked as LoggedinroomId
- the room id- Returns:
- - list of recordings
- Throws:
ServiceException
-