Class ScreenTemplateService

    • Field Detail

      • authorizationManager

        protected step.framework.server.access.AuthorizationManager authorizationManager
      • objectPredicateFactory

        protected step.core.objectenricher.ObjectPredicateFactory objectPredicateFactory
    • Constructor Detail

      • ScreenTemplateService

        public ScreenTemplateService()
    • Method Detail

      • getScreens

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

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

        @POST
        @Path("/{id}")
        @Produces("application/json")
        @Consumes("application/json")
        public List<Input> getInputsForScreenPost​(@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
                                       jakarta.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")
        @Consumes("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")
        @Consumes("application/json")
        public void saveInput​(ScreenInput screenInput)