Class Update


  • @Path("/")
    @Consumes({"application/fhir+json","application/json","application/fhir+xml","application/xml"})
    @Produces({"application/fhir+json","application/json","application/fhir+xml","application/xml"})
    @RolesAllowed("FHIRUsers")
    @RequestScoped
    public class Update
    extends FHIRResource
    • Constructor Detail

      • Update

        public Update()
               throws java.lang.Exception
        Throws:
        java.lang.Exception
    • Method Detail

      • update

        @PUT
        @Path("{type}/{id}")
        public javax.ws.rs.core.Response update​(@PathParam("type")
                                                java.lang.String type,
                                                @PathParam("id")
                                                java.lang.String id,
                                                Resource resource,
                                                @HeaderParam("If-Match")
                                                java.lang.String ifMatch,
                                                @HeaderParam("X-FHIR-UPDATE-IF-MODIFIED")
                                                boolean onlyIfModified,
                                                @HeaderParam("If-None-Match")
                                                java.lang.String ifNoneMatchHdr)
      • conditionalUpdate

        @PUT
        @Path("{type}")
        public javax.ws.rs.core.Response conditionalUpdate​(@PathParam("type")
                                                           java.lang.String type,
                                                           Resource resource,
                                                           @HeaderParam("If-Match")
                                                           java.lang.String ifMatch,
                                                           @HeaderParam("X-FHIR-UPDATE-IF-MODIFIED")
                                                           boolean onlyIfModified)