Class ScreenTemplateService

java.lang.Object
step.framework.server.AbstractServices<User>
step.core.deployment.AbstractStepServices
step.plugins.screentemplating.ScreenTemplateService

@Singleton @Path("screens") public class ScreenTemplateService extends AbstractStepServices
  • Field Details

    • authorizationManager

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

      protected ScreenTemplateManager screenTemplateManager
    • screenInputAccessor

      protected ScreenInputAccessor screenInputAccessor
    • objectPredicateFactory

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

    • ScreenTemplateService

      public ScreenTemplateService()
  • Method Details

    • init

      @PostConstruct public void init() throws Exception
      Overrides:
      init in class AbstractStepServices
      Throws:
      Exception
    • 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)