Package step.plugins.screentemplating
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 Summary
Fields Modifier and Type Field Description protected step.framework.server.access.AuthorizationManager
authorizationManager
protected step.core.objectenricher.ObjectPredicateFactory
objectPredicateFactory
protected ScreenInputAccessor
screenInputAccessor
protected ScreenTemplateManager
screenTemplateManager
-
Fields inherited from class step.core.deployment.AbstractStepServices
configuration, SESSION
-
-
Constructor Summary
Constructors Constructor Description ScreenTemplateService()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
deleteInput(String id)
ScreenInput
getInput(String id)
Input
getInputForScreen(String screenId, String inputId, jakarta.ws.rs.core.UriInfo uriInfo)
List<Input>
getInputsForScreenGet(String screenId, jakarta.ws.rs.core.UriInfo uriInfo)
List<Input>
getInputsForScreenPost(String screenId, Object params)
List<ScreenInput>
getScreenInputsByScreenId(String screenId)
Set<String>
getScreens()
void
init()
void
moveInput(String id, int offset)
void
saveInput(ScreenInput screenInput)
-
Methods inherited from class step.core.deployment.AbstractStepServices
getContext, getExecutionRunnable, getObjectEnricher, getObjectFilter, getScheduler
-
-
-
-
Field Detail
-
authorizationManager
protected step.framework.server.access.AuthorizationManager authorizationManager
-
screenTemplateManager
protected ScreenTemplateManager screenTemplateManager
-
screenInputAccessor
protected ScreenInputAccessor screenInputAccessor
-
objectPredicateFactory
protected step.core.objectenricher.ObjectPredicateFactory objectPredicateFactory
-
-
Method Detail
-
init
@PostConstruct public void init() throws Exception
- Overrides:
init
in classAbstractStepServices
- Throws:
Exception
-
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)
-
-