
Class ResourceDeliveryMessage
java.lang.Object
ca.uhn.fhir.rest.server.messaging.BaseResourceMessage
ca.uhn.fhir.jpa.subscription.model.ResourceDeliveryMessage
- All Implemented Interfaces:
ca.uhn.fhir.model.api.IModelJson,ca.uhn.fhir.rest.server.messaging.IHasPayloadMessageKey,ca.uhn.fhir.rest.server.messaging.IResourceMessage
public class ResourceDeliveryMessage
extends ca.uhn.fhir.rest.server.messaging.BaseResourceMessage
implements ca.uhn.fhir.rest.server.messaging.IResourceMessage
-
Nested Class Summary
Nested classes/interfaces inherited from class ca.uhn.fhir.rest.server.messaging.BaseResourceMessage
ca.uhn.fhir.rest.server.messaging.BaseResourceMessage.OperationTypeEnum -
Field Summary
Fields inherited from class ca.uhn.fhir.rest.server.messaging.BaseResourceMessage
myOperationTypeFields inherited from interface ca.uhn.fhir.model.api.IModelJson
SENSITIVE_DATA_FILTER_NAME -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionorg.hl7.fhir.instance.model.api.IBaseResourcegetPayload(ca.uhn.fhir.context.FhirContext theCtx) org.hl7.fhir.instance.model.api.IIdTypegetPayloadId(ca.uhn.fhir.context.FhirContext theCtx) getSubscriptionId(ca.uhn.fhir.context.FhirContext theFhirContext) Helper method to fetch the subscription IDvoidsetPartitionId(RequestPartitionId thePartitionId) voidsetPayload(ca.uhn.fhir.context.FhirContext theCtx, org.hl7.fhir.instance.model.api.IBaseResource thePayload, ca.uhn.fhir.rest.api.EncodingEnum theEncoding) voidsetPayloadId(org.hl7.fhir.instance.model.api.IIdType thePayloadId) voidvoidsetSubscription(CanonicalSubscription theSubscription) toString()Methods inherited from class ca.uhn.fhir.rest.server.messaging.BaseResourceMessage
copyAdditionalPropertiesFrom, equals, getAttribute, getAttributes, getMediaType, getOperationType, getTransactionId, hashCode, setAttribute, setMediaType, setOperationType, setPayloadMessageKey, setTransactionIdMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface ca.uhn.fhir.rest.server.messaging.IResourceMessage
setPayloadMessageKey
-
Constructor Details
-
ResourceDeliveryMessage
public ResourceDeliveryMessage()Constructor
-
-
Method Details
-
getPayload
public org.hl7.fhir.instance.model.api.IBaseResource getPayload(ca.uhn.fhir.context.FhirContext theCtx) -
getPayloadString
-
getPayloadId
-
getSubscription
-
setSubscription
-
setPayload
public void setPayload(ca.uhn.fhir.context.FhirContext theCtx, org.hl7.fhir.instance.model.api.IBaseResource thePayload, ca.uhn.fhir.rest.api.EncodingEnum theEncoding) -
setPayloadToNull
-
getPayloadId
- Specified by:
getPayloadIdin interfaceca.uhn.fhir.rest.server.messaging.IResourceMessage
-
setPayloadId
- Specified by:
setPayloadIdin interfaceca.uhn.fhir.rest.server.messaging.IResourceMessage
-
getPartitionId
- Specified by:
getPartitionIdin classca.uhn.fhir.rest.server.messaging.BaseResourceMessage
-
setPartitionId
- Specified by:
setPartitionIdin classca.uhn.fhir.rest.server.messaging.BaseResourceMessage
-
toString
-
getSubscriptionId
Helper method to fetch the subscription ID -
getPayloadMessageKey
- Specified by:
getPayloadMessageKeyin interfaceca.uhn.fhir.rest.server.messaging.IHasPayloadMessageKey- Overrides:
getPayloadMessageKeyin classca.uhn.fhir.rest.server.messaging.BaseResourceMessage
-