Class Update
- java.lang.Object
-
- org.linuxforhealth.fhir.server.resources.FHIRResource
-
- org.linuxforhealth.fhir.server.resources.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
-
-
Field Summary
-
Fields inherited from class org.linuxforhealth.fhir.server.resources.FHIRResource
AUDIT_LOGGING_ERR_MSG, context, fhirConfig, HTTP_DATETIME_FORMATTER, httpServletRequest, searchHelper, securityContext, uriInfo
-
-
Constructor Summary
Constructors Constructor Description Update()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description javax.ws.rs.core.Response
conditionalUpdate(java.lang.String type, Resource resource, java.lang.String ifMatch, boolean forceUpdate)
javax.ws.rs.core.Response
update(java.lang.String type, java.lang.String id, Resource resource, java.lang.String ifMatch, boolean forceUpdate, java.lang.String ifNoneMatchHdr)
-
Methods inherited from class org.linuxforhealth.fhir.server.resources.FHIRResource
addETagAndLastModifiedHeaders, addHeaders, addHeaders, buildAbsoluteUri, buildOperationOutcomeIssue, buildRestException, buildRestException, buildUnsupportedResourceTypeException, checkInitComplete, checkType, exceptionResponse, exceptionResponse, exceptionResponse, exceptionResponse, getFhirVersion, getPersistenceImpl, getRequestUri, getSearchHelper, isDeleteSupported, isUpdateCreateEnabled, parseIfModifiedSince, toUri
-
-
-
-
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-FORCE-UPDATE") boolean forceUpdate, @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-FORCE-UPDATE") boolean forceUpdate)
-
-