Class Operation
- java.lang.Object
-
- org.linuxforhealth.fhir.server.resources.FHIRResource
-
- org.linuxforhealth.fhir.server.resources.Operation
-
@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","FHIROperationAdmin"}) @RequestScoped public class Operation extends FHIRResource
-
-
Field Summary
Fields Modifier and Type Field Description protected javax.ws.rs.core.HttpHeaders
httpHeaders
protected javax.ws.rs.core.SecurityContext
securityContext
-
Fields inherited from class org.linuxforhealth.fhir.server.resources.FHIRResource
AUDIT_LOGGING_ERR_MSG, context, fhirConfig, HTTP_DATETIME_FORMATTER, httpServletRequest, searchHelper, uriInfo
-
-
Constructor Summary
Constructors Constructor Description Operation()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description javax.ws.rs.core.Response
invoke(java.lang.String operationName)
javax.ws.rs.core.Response
invoke(java.lang.String resourceTypeName, java.lang.String operationName)
javax.ws.rs.core.Response
invoke(java.lang.String resourceTypeName, java.lang.String logicalId, java.lang.String operationName)
javax.ws.rs.core.Response
invoke(java.lang.String resourceTypeName, java.lang.String logicalId, java.lang.String versionId, java.lang.String operationName)
javax.ws.rs.core.Response
invoke(java.lang.String resourceTypeName, java.lang.String logicalId, java.lang.String versionId, java.lang.String operationName, Resource resource)
javax.ws.rs.core.Response
invoke(java.lang.String resourceTypeName, java.lang.String logicalId, java.lang.String operationName, Resource resource)
javax.ws.rs.core.Response
invoke(java.lang.String resourceTypeName, java.lang.String operationName, Resource resource)
javax.ws.rs.core.Response
invoke(java.lang.String operationName, Resource resource)
javax.ws.rs.core.Response
invokeDelete(java.lang.String operationName)
-
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
-
invoke
@GET @Path("${operationName}") public javax.ws.rs.core.Response invoke(@PathParam("operationName") java.lang.String operationName)
-
invoke
@POST @Path("${operationName}") public javax.ws.rs.core.Response invoke(@PathParam("operationName") java.lang.String operationName, Resource resource)
-
invokeDelete
@DELETE @Path("${operationName}") public javax.ws.rs.core.Response invokeDelete(@PathParam("operationName") java.lang.String operationName)
-
invoke
@GET @Path("{resourceTypeName}/${operationName}") public javax.ws.rs.core.Response invoke(@PathParam("resourceTypeName") java.lang.String resourceTypeName, @PathParam("operationName") java.lang.String operationName)
-
invoke
@POST @Path("{resourceTypeName}/${operationName}") public javax.ws.rs.core.Response invoke(@PathParam("resourceTypeName") java.lang.String resourceTypeName, @PathParam("operationName") java.lang.String operationName, Resource resource)
-
invoke
@GET @Path("{resourceTypeName}/{logicalId}/${operationName}") public javax.ws.rs.core.Response invoke(@PathParam("resourceTypeName") java.lang.String resourceTypeName, @PathParam("logicalId") java.lang.String logicalId, @PathParam("operationName") java.lang.String operationName)
-
invoke
@POST @Path("{resourceTypeName}/{logicalId}/${operationName}") public javax.ws.rs.core.Response invoke(@PathParam("resourceTypeName") java.lang.String resourceTypeName, @PathParam("logicalId") java.lang.String logicalId, @PathParam("operationName") java.lang.String operationName, Resource resource)
-
invoke
@GET @Path("{resourceTypeName}/{logicalId}/_history/{versionId}/${operationName}") public javax.ws.rs.core.Response invoke(@PathParam("resourceTypeName") java.lang.String resourceTypeName, @PathParam("logicalId") java.lang.String logicalId, @PathParam("versionId") java.lang.String versionId, @PathParam("operationName") java.lang.String operationName)
-
invoke
@POST @Path("{resourceTypeName}/{logicalId}/_history/{versionId}/${operationName}") public javax.ws.rs.core.Response invoke(@PathParam("resourceTypeName") java.lang.String resourceTypeName, @PathParam("logicalId") java.lang.String logicalId, @PathParam("versionId") java.lang.String versionId, @PathParam("operationName") java.lang.String operationName, Resource resource)
-
-