Class QpdAwareNakFactory
java.lang.Object
org.openehealth.ipf.commons.ihe.hl7v2.NakFactory<QueryAuditDataset>
org.openehealth.ipf.commons.ihe.hl7v2.QpdAwareNakFactory
NAK factory for PDQ, PDVQ and PIX Query.
- Author:
- Dmytro Rud
- 
Constructor SummaryConstructorsConstructorDescriptionQpdAwareNakFactory(Hl7v2TransactionConfiguration<QueryAuditDataset> config, String messageType, String triggerEvent) 
- 
Method SummaryModifier and TypeMethodDescriptionGenerates a transaction-specific HL7v2 ACK response message on the basis of the original HAPI request message.createNak(Message originalMessage, HL7Exception t, AcknowledgmentCode ackTypeCode) Generates an HL7v2 NAK response message on the basis of the thrown exception and the original HAPI request message.createNak0(Message originalMessage, HL7Exception e, AcknowledgmentCode ackTypeCode) Methods inherited from class org.openehealth.ipf.commons.ihe.hl7v2.NakFactorycreateDefaultNak, createNak, formatErrorMessage, getAckTypeCode, getConfig, getHl7Exception
- 
Constructor Details- 
QpdAwareNakFactorypublic QpdAwareNakFactory(Hl7v2TransactionConfiguration<QueryAuditDataset> config, String messageType, String triggerEvent) 
 
- 
- 
Method Details- 
createNakDescription copied from class:NakFactoryGenerates an HL7v2 NAK response message on the basis of the thrown exception and the original HAPI request message.- Overrides:
- createNakin class- NakFactory<QueryAuditDataset>
- Parameters:
- originalMessage- original HAPI request message.
- t- thrown exception.
- ackTypeCode- HL7v2 acknowledgement type code.
 
- 
createNak0public Message createNak0(Message originalMessage, HL7Exception e, AcknowledgmentCode ackTypeCode) throws HL7Exception - Throws:
- HL7Exception
 
- 
createAckDescription copied from class:NakFactoryGenerates a transaction-specific HL7v2 ACK response message on the basis of the original HAPI request message.- Overrides:
- createAckin class- NakFactory<QueryAuditDataset>
- Parameters:
- originalMessage- original HAPI request message.
 
 
-