Package com.ibm.fhir.server.resources
Class Operation
- java.lang.Object
-
- com.ibm.fhir.server.resources.FHIRResource
-
- com.ibm.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 com.ibm.fhir.server.resources.FHIRResource
AUDIT_LOGGING_ERR_MSG, context, fhirConfig, HTTP_DATETIME_FORMATTER, httpServletRequest, 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(String operationName)
javax.ws.rs.core.Response
invoke(String operationName, Resource resource)
javax.ws.rs.core.Response
invoke(String resourceTypeName, String operationName)
javax.ws.rs.core.Response
invoke(String resourceTypeName, String operationName, Resource resource)
javax.ws.rs.core.Response
invoke(String resourceTypeName, String logicalId, String operationName)
javax.ws.rs.core.Response
invoke(String resourceTypeName, String logicalId, String operationName, Resource resource)
javax.ws.rs.core.Response
invoke(String resourceTypeName, String logicalId, String versionId, String operationName)
javax.ws.rs.core.Response
invoke(String resourceTypeName, String logicalId, String versionId, String operationName, Resource resource)
javax.ws.rs.core.Response
invokeDelete(String operationName)
-
Methods inherited from class com.ibm.fhir.server.resources.FHIRResource
addHeaders, addHeaders, buildOperationOutcomeIssue, buildRestException, buildRestException, buildUnsupportedResourceTypeException, checkInitComplete, checkType, exceptionResponse, exceptionResponse, exceptionResponse, exceptionResponse, getAbsoluteUri, getPersistenceImpl, getRequestBaseUri, getRequestUri, isDeleteSupported, isUpdateCreateEnabled, parseIfModifiedSince, toUri
-
-
-
-
Method Detail
-
invoke
@GET @Path("${operationName}") public javax.ws.rs.core.Response invoke(@PathParam("operationName") String operationName)
-
invoke
@POST @Path("${operationName}") public javax.ws.rs.core.Response invoke(@PathParam("operationName") String operationName, Resource resource)
-
invokeDelete
@DELETE @Path("${operationName}") public javax.ws.rs.core.Response invokeDelete(@PathParam("operationName") String operationName)
-
invoke
@GET @Path("{resourceTypeName}/${operationName}") public javax.ws.rs.core.Response invoke(@PathParam("resourceTypeName") String resourceTypeName, @PathParam("operationName") String operationName)
-
invoke
@POST @Path("{resourceTypeName}/${operationName}") public javax.ws.rs.core.Response invoke(@PathParam("resourceTypeName") String resourceTypeName, @PathParam("operationName") String operationName, Resource resource)
-
invoke
@GET @Path("{resourceTypeName}/{logicalId}/${operationName}") public javax.ws.rs.core.Response invoke(@PathParam("resourceTypeName") String resourceTypeName, @PathParam("logicalId") String logicalId, @PathParam("operationName") String operationName)
-
invoke
@POST @Path("{resourceTypeName}/{logicalId}/${operationName}") public javax.ws.rs.core.Response invoke(@PathParam("resourceTypeName") String resourceTypeName, @PathParam("logicalId") String logicalId, @PathParam("operationName") String operationName, Resource resource)
-
invoke
@GET @Path("{resourceTypeName}/{logicalId}/_history/{versionId}/${operationName}") public javax.ws.rs.core.Response invoke(@PathParam("resourceTypeName") String resourceTypeName, @PathParam("logicalId") String logicalId, @PathParam("versionId") String versionId, @PathParam("operationName") String operationName)
-
invoke
@POST @Path("{resourceTypeName}/{logicalId}/_history/{versionId}/${operationName}") public javax.ws.rs.core.Response invoke(@PathParam("resourceTypeName") String resourceTypeName, @PathParam("logicalId") String logicalId, @PathParam("versionId") String versionId, @PathParam("operationName") String operationName, Resource resource)
-
-