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.IHasPayloadMessageKey, 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, myPayloadId, myPayloadVersion, myResourceDecoded, myResourceType

    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, getNewResource, getPartitionId, getPayloadId, getPayloadId, getPayloadMessageKey, getPayloadString, getPayloadVersion, getResource, getResourceType, hasResourceType, payloadContainsNoPlaceholderReferences, setId, setNewPayload, setPartitionId, setPayloadId

    Methods inherited from class ca.uhn.fhir.rest.server.messaging.BaseResourceMessage

    copyAdditionalPropertiesFrom, getAttribute, getAttributes, getMediaType, getOperationType, getTransactionId, setAttribute, setMediaType, setOperationType, setPayloadMessageKey, setTransactionId

    Methods inherited from class java.lang.Object

    clone, finalize, getClass, notify, notifyAll, wait, wait, wait

    Methods inherited from interface ca.uhn.fhir.rest.server.messaging.IResourceMessage

    setPayloadMessageKey
  • 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