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

    Constructors
    Constructor
    Description
    Constructor
    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(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 Type
    Method
    Description
    boolean
    equals(Object theO)
     
     
    int
     
    void
     
    void
    setSubscriptionId(String theSubscriptionId)
     
     

    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

    Methods inherited from class java.lang.Object

    clone, finalize, getClass, notify, notifyAll, wait, wait, wait
  • Constructor Details

    • 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

      public void setSubscriptionId(String theSubscriptionId)
    • setPayloadToNull

      public void setPayloadToNull()
    • toString

      public String toString()
      Overrides:
      toString in class ca.uhn.fhir.rest.server.messaging.BaseResourceModifiedMessage
    • equals

      public boolean equals(Object theO)
      Overrides:
      equals in class ca.uhn.fhir.rest.server.messaging.BaseResourceModifiedMessage
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class ca.uhn.fhir.rest.server.messaging.BaseResourceModifiedMessage