Class RecordingWebService


  • @Service("recordWebService")
    @Produces("application/json")
    @Path("/record")
    public class RecordingWebService
    extends BaseWebService
    The Service contains methods to work with recordings
    Author:
    solomax
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      org.apache.openmeetings.db.dto.basic.ServiceResult delete​(java.lang.String sid, java.lang.Long id)
      Deletes a flv recording
      java.util.List<org.apache.openmeetings.db.dto.record.RecordingDTO> getExternal​(java.lang.String sid, java.lang.String externalType, java.lang.String externalId)
      Gets a list of recordings created by particular external user
      java.util.List<org.apache.openmeetings.db.dto.record.RecordingDTO> getExternalByRoom​(java.lang.String sid, java.lang.Long roomId)
      Get list of recordings
      java.util.List<org.apache.openmeetings.db.dto.record.RecordingDTO> getExternalByType​(java.lang.String sid, java.lang.String externalType)
      Gets a list of flv recordings
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • RecordingWebService

        public RecordingWebService()
    • Method Detail

      • delete

        @DELETE
        @Path("/{id}")
        public org.apache.openmeetings.db.dto.basic.ServiceResult delete​(@QueryParam("sid")
                                                                         java.lang.String sid,
                                                                         @PathParam("id")
                                                                         java.lang.Long id)
        Deletes a flv recording
        Parameters:
        sid - The SID of the User. This SID must be marked as Loggedin
        id - the id of the recording
        Returns:
        ServiceResult with result type
      • getExternal

        @GET
        @Path("/{externaltype}/{externalid}")
        public java.util.List<org.apache.openmeetings.db.dto.record.RecordingDTO> getExternal​(@QueryParam("sid")
                                                                                              java.lang.String sid,
                                                                                              @PathParam("externaltype")
                                                                                              java.lang.String externalType,
                                                                                              @PathParam("externalid")
                                                                                              java.lang.String externalId)
        Gets a list of recordings created by particular external user
        Parameters:
        sid - The SID of the User. This SID must be marked as Loggedin
        externalId - the externalUserId
        externalType - the externalUserType
        Returns:
        - list of recordings
      • getExternalByType

        @GET
        @Path("/{externaltype}")
        public java.util.List<org.apache.openmeetings.db.dto.record.RecordingDTO> getExternalByType​(@QueryParam("sid")
                                                                                                    java.lang.String sid,
                                                                                                    @PathParam("externaltype")
                                                                                                    java.lang.String externalType)
        Gets a list of flv recordings
        Parameters:
        sid - The SID of the User. This SID must be marked as Loggedin
        externalType - externalType specified when creating the room
        Returns:
        - list of flv recordings
      • getExternalByRoom

        @GET
        @Path("/room/{roomid}")
        public java.util.List<org.apache.openmeetings.db.dto.record.RecordingDTO> getExternalByRoom​(@QueryParam("sid")
                                                                                                    java.lang.String sid,
                                                                                                    @PathParam("roomid")
                                                                                                    java.lang.Long roomId)
        Get list of recordings
        Parameters:
        sid - The SID of the User. This SID must be marked as Loggedin
        roomId - the room id
        Returns:
        - list of recordings