@PUT @Path("{id}") @Consumes({"application/xml", "application/json"}) public void edit(@PathParam("id") Integer id, Medic entity) { em.find(Medic.class, id, LockModeType.PESSIMISTIC_WRITE); super.edit(entity); }
@PUT @Path("{id}") @Consumes({"application/xml", "application/json"}) public void edit(@PathParam("id") Long id, Amostra entity) { super.edit(entity); }
@PUT @Path("{id}") @Consumes({"application/xml", "application/json"}) public void edit(@PathParam("id") Integer id, PatientHistoryrecord entity) { super.edit(entity); }
@PUT @Override @Consumes({"application/xml", "application/json"}) public void edit(Recipe entity) { super.edit(entity); }