Class Delete
- java.lang.Object
-
- org.linuxforhealth.fhir.server.resources.FHIRResource
-
- org.linuxforhealth.fhir.server.resources.Delete
-
@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 Delete 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 Delete()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description javax.ws.rs.core.Response
conditionalDelete(java.lang.String type)
javax.ws.rs.core.Response
delete(java.lang.String type, java.lang.String id)
-
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
-
delete
@DELETE @Path("{type}/{id}") public javax.ws.rs.core.Response delete(@PathParam("type") java.lang.String type, @PathParam("id") java.lang.String id) throws java.lang.Exception
- Throws:
java.lang.Exception
-
conditionalDelete
@DELETE @Path("{type}") public javax.ws.rs.core.Response conditionalDelete(@PathParam("type") java.lang.String type) throws java.lang.Exception
- Throws:
java.lang.Exception
-
-