Class EditorRestEndpointBase


  • public abstract class EditorRestEndpointBase
    extends Object
    The REST endpoint for the EditorService service
    • Field Detail

      • editorService

        protected EditorService editorService
        The service
    • Constructor Detail

      • EditorRestEndpointBase

        public EditorRestEndpointBase()
    • Method Detail

      • setEditorService

        public abstract void setEditorService​(EditorService service)
      • getEditorData

        @GET
        @Path("{mediaPackageId}/edit.json")
        @Produces("application/json")
        public javax.ws.rs.core.Response getEditorData​(@PathParam("mediaPackageId")
                                                       String mediaPackageId)
      • editVideo

        @POST
        @Path("{mediaPackageId}/edit.json")
        @Consumes("application/json")
        public javax.ws.rs.core.Response editVideo​(@PathParam("mediaPackageId")
                                                   String mediaPackageId,
                                                   @Context
                                                   javax.servlet.http.HttpServletRequest request)
      • updateEventMetadata

        @POST
        @Path("{mediaPackageId}/metadata.json")
        public javax.ws.rs.core.Response updateEventMetadata​(@PathParam("mediaPackageId")
                                                             String eventId,
                                                             @Context
                                                             javax.servlet.http.HttpServletRequest request)
      • readInputStream

        protected String readInputStream​(javax.servlet.http.HttpServletRequest request)
      • getEventMetadata

        @GET
        @Path("{mediaPackageId}/metadata.json")
        @Produces("application/json")
        public javax.ws.rs.core.Response getEventMetadata​(@PathParam("mediaPackageId")
                                                          String eventId)