Class BaseResourceModifiedMessage
java.lang.Object
ca.uhn.fhir.rest.server.messaging.BaseResourceMessage
ca.uhn.fhir.rest.server.messaging.BaseResourceModifiedMessage
- All Implemented Interfaces:
ca.uhn.fhir.model.api.IModelJson,IResourceMessage
- Direct Known Subclasses:
ResourceOperationMessage
public abstract class BaseResourceModifiedMessage
extends BaseResourceMessage
implements IResourceMessage, ca.uhn.fhir.model.api.IModelJson
-
Nested Class Summary
Nested classes/interfaces inherited from class ca.uhn.fhir.rest.server.messaging.BaseResourceMessage
BaseResourceMessage.OperationTypeEnum -
Field Summary
FieldsModifier and TypeFieldDescriptionprotected Stringprotected org.hl7.fhir.instance.model.api.IBaseResourceprotected StringFields inherited from class ca.uhn.fhir.rest.server.messaging.BaseResourceMessage
myOperationType -
Constructor Summary
ConstructorsConstructorDescriptionConstructorBaseResourceModifiedMessage(ca.uhn.fhir.context.FhirContext theFhirContext, org.hl7.fhir.instance.model.api.IBaseResource theResource, BaseResourceMessage.OperationTypeEnum theOperationType) BaseResourceModifiedMessage(ca.uhn.fhir.context.FhirContext theFhirContext, org.hl7.fhir.instance.model.api.IBaseResource theNewResource, BaseResourceMessage.OperationTypeEnum theOperationType, RequestDetails theRequest) -
Method Summary
Modifier and TypeMethodDescriptiongetId()Deprecated.org.hl7.fhir.instance.model.api.IIdTypegetId(ca.uhn.fhir.context.FhirContext theCtx) Deprecated.org.hl7.fhir.instance.model.api.IBaseResourcegetNewPayload(ca.uhn.fhir.context.FhirContext theCtx) org.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) protected static booleanpayloadContainsNoPlaceholderReferences(ca.uhn.fhir.context.FhirContext theCtx, org.hl7.fhir.instance.model.api.IBaseResource theNewPayload) voidsetId(org.hl7.fhir.instance.model.api.IIdType theId) Deprecated.protected voidsetNewPayload(ca.uhn.fhir.context.FhirContext theCtx, org.hl7.fhir.instance.model.api.IBaseResource thePayload) voidsetPayloadId(org.hl7.fhir.instance.model.api.IIdType thePayloadId) toString()Methods inherited from class ca.uhn.fhir.rest.server.messaging.BaseResourceMessage
copyAdditionalPropertiesFrom, getAttribute, getMediaType, getMessageKeyOrNull, getOperationType, getTransactionId, setAttribute, setMediaType, setMessageKey, setOperationType, setTransactionId
-
Field Details
-
myPayload
-
myPayloadId
-
myPayloadDecoded
-
-
Constructor Details
-
BaseResourceModifiedMessage
public BaseResourceModifiedMessage()Constructor -
BaseResourceModifiedMessage
public BaseResourceModifiedMessage(ca.uhn.fhir.context.FhirContext theFhirContext, org.hl7.fhir.instance.model.api.IBaseResource theResource, BaseResourceMessage.OperationTypeEnum theOperationType) -
BaseResourceModifiedMessage
public BaseResourceModifiedMessage(ca.uhn.fhir.context.FhirContext theFhirContext, org.hl7.fhir.instance.model.api.IBaseResource theNewResource, BaseResourceMessage.OperationTypeEnum theOperationType, RequestDetails theRequest)
-
-
Method Details
-
getPayloadId
- Specified by:
getPayloadIdin interfaceIResourceMessage
-
setPayloadId
- Since:
- 5.6.0
-
getId
Deprecated.UsegetPayloadId()instead. Deprecated in 5.6.0 / 2021-10-27 -
setId
Deprecated.UsesetPayloadId(IIdType). Deprecated in 5.6.0 / 2021-10-27 -
getId
Deprecated.UsegetPayloadId(FhirContext). Deprecated in 5.6.0 / 2021-10-27 -
getPayloadId
- Since:
- 5.6.0
-
getNewPayload
public org.hl7.fhir.instance.model.api.IBaseResource getNewPayload(ca.uhn.fhir.context.FhirContext theCtx) -
getPayload
public org.hl7.fhir.instance.model.api.IBaseResource getPayload(ca.uhn.fhir.context.FhirContext theCtx) -
getPayloadString
-
setNewPayload
protected void setNewPayload(ca.uhn.fhir.context.FhirContext theCtx, org.hl7.fhir.instance.model.api.IBaseResource thePayload) -
toString
-
payloadContainsNoPlaceholderReferences
protected static boolean payloadContainsNoPlaceholderReferences(ca.uhn.fhir.context.FhirContext theCtx, org.hl7.fhir.instance.model.api.IBaseResource theNewPayload)
-
getPayloadId()instead.