Package com.ibm.fhir.server.resources
Class Update
- java.lang.Object
-
- com.ibm.fhir.server.resources.FHIRResource
-
- com.ibm.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 com.ibm.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 onlyIfModified)
javax.ws.rs.core.Response
update(java.lang.String type, java.lang.String id, Resource resource, java.lang.String ifMatch, boolean onlyIfModified, java.lang.String ifNoneMatchHdr)
-
Methods inherited from class com.ibm.fhir.server.resources.FHIRResource
addETagAndLastModifiedHeaders, addHeaders, addHeaders, buildAbsoluteUri, buildOperationOutcomeIssue, buildRestException, buildRestException, buildUnsupportedResourceTypeException, checkInitComplete, checkType, exceptionResponse, exceptionResponse, exceptionResponse, exceptionResponse, 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-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)
-
-