Class TemplatesRestService
Object
TemplatesRestService
@DeclareRoles("deputy")
@RolesAllowed("deputy")
@Path("/administration/templates")
public class TemplatesRestService
extends Object
The REST service for dealing with Templates.
- Author:
- maartenl
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
edit
(Long id, AdminTemplate template) findAll()
findHistory
(Long id) protected EntityManager
-
Constructor Details
-
TemplatesRestService
public TemplatesRestService()
-
-
Method Details
-
edit
@PUT @Path("{id}") @Consumes("application/json") public void edit(@PathParam("id") Long id, AdminTemplate template) -
find
-
findHistory
-
findAll
-
getEntityManager
protected EntityManager getEntityManager()
-