Class ResourceModifiedMessage
java.lang.Object
ca.uhn.fhir.rest.server.messaging.BaseResourceMessage
ca.uhn.fhir.rest.server.messaging.BaseResourceModifiedMessage
ca.uhn.fhir.jpa.subscription.model.ResourceModifiedMessage
- All Implemented Interfaces:
ca.uhn.fhir.model.api.IModelJson
,ca.uhn.fhir.rest.server.messaging.IResourceMessage
public class ResourceModifiedMessage
extends ca.uhn.fhir.rest.server.messaging.BaseResourceModifiedMessage
Most of this class has been moved to ResourceModifiedMessage in the hapi-fhir-server project, for a reusable channel ResourceModifiedMessage
that doesn't require knowledge of subscriptions.
-
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.BaseResourceModifiedMessage
myPartitionId, myPayload, myPayloadDecoded, myPayloadId, myPayloadType, myPayloadVersion
Fields inherited from class ca.uhn.fhir.rest.server.messaging.BaseResourceMessage
myOperationType
Fields inherited from interface ca.uhn.fhir.model.api.IModelJson
SENSITIVE_DATA_FILTER_NAME
-
Constructor Summary
ConstructorDescriptionConstructorResourceModifiedMessage
(ca.uhn.fhir.context.FhirContext theFhirContext, org.hl7.fhir.instance.model.api.IBaseResource theResource, ca.uhn.fhir.rest.server.messaging.BaseResourceMessage.OperationTypeEnum theOperationType) ResourceModifiedMessage
(ca.uhn.fhir.context.FhirContext theFhirContext, org.hl7.fhir.instance.model.api.IBaseResource theResource, ca.uhn.fhir.rest.server.messaging.BaseResourceMessage.OperationTypeEnum theOperationType, RequestPartitionId theRequestPartitionId) ResourceModifiedMessage
(ca.uhn.fhir.context.FhirContext theFhirContext, org.hl7.fhir.instance.model.api.IBaseResource theNewResource, ca.uhn.fhir.rest.server.messaging.BaseResourceMessage.OperationTypeEnum theOperationType, ca.uhn.fhir.rest.api.server.RequestDetails theRequest) ResourceModifiedMessage
(ca.uhn.fhir.context.FhirContext theFhirContext, org.hl7.fhir.instance.model.api.IBaseResource theNewResource, ca.uhn.fhir.rest.server.messaging.BaseResourceMessage.OperationTypeEnum theOperationType, ca.uhn.fhir.rest.api.server.RequestDetails theRequest, RequestPartitionId theRequestPartitionId) ResourceModifiedMessage
(org.hl7.fhir.instance.model.api.IIdType theIdType, ca.uhn.fhir.rest.server.messaging.BaseResourceMessage.OperationTypeEnum theOperationType) -
Method Summary
Modifier and TypeMethodDescriptionboolean
int
hashCode()
void
void
setSubscriptionId
(String theSubscriptionId) toString()
Methods inherited from class ca.uhn.fhir.rest.server.messaging.BaseResourceModifiedMessage
getId, getId, getMessageKeyOrDefault, getNewPayload, getPartitionId, getPayload, getPayloadId, getPayloadId, getPayloadString, getPayloadType, getPayloadVersion, hasPayloadType, payloadContainsNoPlaceholderReferences, setId, setNewPayload, setPartitionId, setPayloadId
Methods inherited from class ca.uhn.fhir.rest.server.messaging.BaseResourceMessage
copyAdditionalPropertiesFrom, getAttribute, getAttributes, getMediaType, getMessageKey, getMessageKeyDefaultValue, getMessageKeyOrNull, getOperationType, getTransactionId, setAttribute, setMediaType, setMessageKey, setOperationType, setTransactionId
-
Constructor Details
-
ResourceModifiedMessage
public ResourceModifiedMessage()Constructor -
ResourceModifiedMessage
public ResourceModifiedMessage(org.hl7.fhir.instance.model.api.IIdType theIdType, ca.uhn.fhir.rest.server.messaging.BaseResourceMessage.OperationTypeEnum theOperationType) -
ResourceModifiedMessage
public ResourceModifiedMessage(ca.uhn.fhir.context.FhirContext theFhirContext, org.hl7.fhir.instance.model.api.IBaseResource theResource, ca.uhn.fhir.rest.server.messaging.BaseResourceMessage.OperationTypeEnum theOperationType) -
ResourceModifiedMessage
public ResourceModifiedMessage(ca.uhn.fhir.context.FhirContext theFhirContext, org.hl7.fhir.instance.model.api.IBaseResource theResource, ca.uhn.fhir.rest.server.messaging.BaseResourceMessage.OperationTypeEnum theOperationType, RequestPartitionId theRequestPartitionId) -
ResourceModifiedMessage
public ResourceModifiedMessage(ca.uhn.fhir.context.FhirContext theFhirContext, org.hl7.fhir.instance.model.api.IBaseResource theNewResource, ca.uhn.fhir.rest.server.messaging.BaseResourceMessage.OperationTypeEnum theOperationType, ca.uhn.fhir.rest.api.server.RequestDetails theRequest) -
ResourceModifiedMessage
public ResourceModifiedMessage(ca.uhn.fhir.context.FhirContext theFhirContext, org.hl7.fhir.instance.model.api.IBaseResource theNewResource, ca.uhn.fhir.rest.server.messaging.BaseResourceMessage.OperationTypeEnum theOperationType, ca.uhn.fhir.rest.api.server.RequestDetails theRequest, RequestPartitionId theRequestPartitionId)
-
-
Method Details
-
getSubscriptionId
-
setSubscriptionId
-
setPayloadToNull
-
toString
- Overrides:
toString
in classca.uhn.fhir.rest.server.messaging.BaseResourceModifiedMessage
-
equals
- Overrides:
equals
in classca.uhn.fhir.rest.server.messaging.BaseResourceModifiedMessage
-
hashCode
- Overrides:
hashCode
in classca.uhn.fhir.rest.server.messaging.BaseResourceModifiedMessage
-