Class ScreenTemplateService


  • @Singleton
    @Path("screens")
    public class ScreenTemplateService
    extends AbstractServices
    • Constructor Detail

      • ScreenTemplateService

        public ScreenTemplateService()
    • Method Detail

      • getScreens

        @GET
        @Produces("application/json")
        public Set<String> getScreens()
      • getInputsForScreen

        @GET
        @Path("/{id}")
        @Produces("application/json")
        public List<Input> getInputsForScreen​(@PathParam("id")
                                              String screenId,
                                              @Context
                                              javax.ws.rs.core.UriInfo uriInfo)
      • getInputsForScreen

        @POST
        @Path("/{id}")
        @Produces("application/json")
        public List<Input> getInputsForScreen​(@PathParam("id")
                                              String screenId,
                                              Object params)
      • getInputForScreen

        @GET
        @Path("/{screenid}/{inputid}")
        @Produces("application/json")
        public Input getInputForScreen​(@PathParam("screenid")
                                       String screenId,
                                       @PathParam("inputid")
                                       String inputId,
                                       @Context
                                       javax.ws.rs.core.UriInfo uriInfo)
      • getScreenInputsByScreenId

        @GET
        @Path("/input/byscreen/{screenid}")
        @Produces("application/json")
        public List<ScreenInput> getScreenInputsByScreenId​(@PathParam("screenid")
                                                           String screenId)
      • getInput

        @GET
        @Path("/input/{id}")
        @Produces("application/json")
        public ScreenInput getInput​(@PathParam("id")
                                    String id)
      • moveInput

        @POST
        @Path("/input/{id}/move")
        @Produces("application/json")
        public void moveInput​(@PathParam("id")
                              String id,
                              int offset)
      • deleteInput

        @DELETE
        @Path("/input/{id}")
        @Produces("application/json")
        public void deleteInput​(@PathParam("id")
                                String id)
      • saveInput

        @POST
        @Path("/input")
        @Produces("application/json")
        public void saveInput​(ScreenInput screenInput)