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