@Path(value="/") @Consumes(value="application/json") @Produces(value="application/json") @Secured(value="ROLE_ADMIN") public class GenericObjectUpdateService extends SecurableService implements IUpdateService<GenericObject>
applicationContext, CACHE, NO_CACHE, request, response
Constructor and Description |
---|
GenericObjectUpdateService() |
GenericObjectUpdateService(boolean checkAuthFiltered) |
Modifier and Type | Method and Description |
---|---|
void |
delete(Long id) |
Long |
save(GenericObject go) |
checkAuthFilterInvoked, filter, query
filter, getCacheDef, getTestString, query
public GenericObjectUpdateService()
public GenericObjectUpdateService(boolean checkAuthFiltered)
@POST @Path(value="save") @Produces(value="application/text") public Long save(@QueryParam(value="obj") @FormParam(value="obj") GenericObject go)
save
in interface IUpdateService<GenericObject>
@GET @Path(value="delete/{id}") @Consumes(value="application/text") public void delete(@PathParam(value="id") Long id)
delete
in interface IUpdateService<GenericObject>
Copyright © 2018. All rights reserved.