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 BaseWebServiceThe Service contains methods to work with recordings- Author:
- solomax
-
-
Field Summary
-
Fields inherited from class org.apache.openmeetings.webservice.BaseWebService
fileDao, roomDao, sessionDao, userDao
-
-
Constructor Summary
Constructors Constructor Description RecordingWebService()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ServiceResultdelete(String sid, Long id)Deletes a recordingList<RecordingDTO>getExternal(String sid, String externalType, String externalId)Gets a list of recordings created by particular external USERList<RecordingDTO>getExternalByRoom(String sid, Long roomId)Get list of recordingsList<RecordingDTO>getExternalByType(String sid, String externalType)Gets a list of recordings
-
-
-
Method Detail
-
delete
@DELETE @Path("/{id}") public ServiceResult delete(@QueryParam("sid") String sid, @PathParam("id") Long id) throws ServiceExceptionDeletes a recording- Parameters:
sid- The SID of the User. This SID must be marked as Loggedinid- the id of the recording- Returns:
ServiceResultwith 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 ServiceExceptionGets 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 ServiceExceptionGets 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 ServiceExceptionGet 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
-
-