public interface InteractiveContinuationStorage
Modifier and Type | Method and Description |
---|---|
boolean |
delete(String chainId)
Deletes all fragments which belong to the given query tag.
|
ca.uhn.hl7v2.model.Message |
get(String continuationPointer,
String chainId)
Retrieves a fragment from the storage or
null
when no fragment with the given parameters could be found. |
void |
put(String continuationPointer,
String chainId,
ca.uhn.hl7v2.model.Message fragment)
Puts a fragment into this storage.
|
void put(String continuationPointer, String chainId, ca.uhn.hl7v2.model.Message fragment)
continuationPointer
- continuation pointer of the fragment —
identifies the fragment in the context of the fragment chain.
Null
values must be allowed.chainId
- unique ID of the fragment chain.
Consisting of the query tag of the fragment (QPD-2) and
MSH-3-1, MSH-3-2, MSH-3-3 of the request.fragment
- fragment as a HAPI message instance.ca.uhn.hl7v2.model.Message get(String continuationPointer, String chainId)
null
when no fragment with the given parameters could be found.continuationPointer
- continuation pointer of the fragment —
identifies the fragment in the context of the fragment chain.
Null
values must be allowed.chainId
- unique ID of the fragment chain.
Consists of the query tag of the fragment (QPD-2) and
MSH-3-1, MSH-3-2, MSH-3-3 of the request.null
when none found.boolean delete(String chainId)
chainId
- unique ID of the fragment chain.
Consists of the query tag of the fragment (QPD-2) and
MSH-3-1, MSH-3-2, MSH-3-3 of the request.true
, when some fragments have been
actually deleted, i.e. when the given query tag is known.Copyright © 2018 Open eHealth Foundation. All rights reserved.