Esempio n. 1
0
 @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);
 }
Esempio n. 4
0
 @PUT
 @Override
 @Consumes({"application/xml", "application/json"})
 public void edit(Recipe entity) {
   super.edit(entity);
 }