Class CanonicalSubscription
java.lang.Object
ca.uhn.fhir.jpa.subscription.model.CanonicalSubscription
- All Implemented Interfaces:
ca.uhn.fhir.model.api.IModelJson,Serializable,Cloneable
public class CanonicalSubscription
extends Object
implements Serializable, Cloneable, ca.uhn.fhir.model.api.IModelJson
- See Also:
- Serialized Form
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classstatic classstatic class -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidAdds a headervoidaddTrigger(CanonicalSubscription.CanonicalEventDefinition theTrigger)For now we're using the R4 TriggerDefinition, but this may change in the future when things stabilizebooleangetChannelExtension(String theUrl)getChannelExtensions(String theUrl)booleanorg.hl7.fhir.instance.model.api.IIdTypegetIdElement(ca.uhn.fhir.context.FhirContext theContext)booleanorg.hl7.fhir.r4.model.Subscription.SubscriptionStatusgetTags()For now we're using the R4 triggerdefinition, but this may change in the future when things stabilizeinthashCode()voidsetChannelExtensions(Map<String,List<String>> theChannelExtensions)voidsetChannelType(CanonicalSubscriptionChannelType theChannelType)voidsetCriteriaString(String theCriteriaString)voidsetCrossPartitionEnabled(boolean myCrossPartitionEnabled)voidsetEndpointUrl(String theEndpointUrl)voidsetHeaders(String theHeaders)voidsetHeaders(List<? extends org.hl7.fhir.instance.model.api.IPrimitiveType<String>> theHeader)voidsetIdElement(org.hl7.fhir.instance.model.api.IIdType theIdElement)voidsetPartitionId(Integer thePartitionId)voidsetPayloadSearchCriteria(String thePayloadSearchCriteria)voidsetPayloadString(String thePayloadString)voidsetSendDeleteMessages(boolean theSendDeleteMessages)voidsetStatus(org.hl7.fhir.r4.model.Subscription.SubscriptionStatus theStatus)voidtoString()
-
Constructor Details
-
CanonicalSubscription
public CanonicalSubscription()Constructor
-
-
Method Details
-
getPayloadSearchCriteria
-
setPayloadSearchCriteria
-
addTrigger
For now we're using the R4 TriggerDefinition, but this may change in the future when things stabilize -
getChannelType
-
setChannelType
-
getCriteriaString
-
setCriteriaString
-
getEmailDetails
-
getEndpointUrl
-
setEndpointUrl
-
getHeaders
-
setHeaders
public void setHeaders(List<? extends org.hl7.fhir.instance.model.api.IPrimitiveType<String>> theHeader) -
getTags
-
setTags
-
setHeaders
-
getChannelExtension
-
getChannelExtensions
-
setChannelExtensions
-
getIdElement
@Nullable public org.hl7.fhir.instance.model.api.IIdType getIdElement(ca.uhn.fhir.context.FhirContext theContext) -
getIdPart
-
getIdElementString
-
getPayloadString
-
setPayloadString
-
getRestHookDetails
-
getStatus
-
setStatus
-
getRequestPartitionId
-
setPartitionId
-
getCrossPartitionEnabled
-
setCrossPartitionEnabled
-
getTrigger
For now we're using the R4 triggerdefinition, but this may change in the future when things stabilize -
getSendDeleteMessages
-
setSendDeleteMessages
-
equals
-
hashCode
-
setIdElement
-
addHeader
Adds a header- Parameters:
theHeader- The header, e.g. "Authorization: Bearer AAAAA"
-
toString
-