public class EhboxReplyValidatorImpl extends Object implements EhboxReplyValidator
EhboxReplyValidator
.Modifier and Type | Field and Description |
---|---|
static String |
EHBOX_OOO_EXCEPTION
The eHealth success codes.
|
static String |
EHEALTH_SUCCESS_CODE_100
The eHealth success codes.
|
static String |
EHEALTH_SUCCESS_CODE_200
The eHealth success codes.
|
Constructor and Description |
---|
EhboxReplyValidatorImpl() |
Modifier and Type | Method and Description |
---|---|
boolean |
validateReplyStatus(ResponseType response)
validates the reply status : will throw a general TechnicalConnectorException if the reply status is not success and will throw an
OoOPublicationException if the status is success, but there are Out Of Offices for one or more recipients. |
public static final String EHEALTH_SUCCESS_CODE_100
public static final String EHEALTH_SUCCESS_CODE_200
public static final String EHBOX_OOO_EXCEPTION
public boolean validateReplyStatus(ResponseType response) throws ConnectorException
OoOPublicationException
if the status is success, but there are Out Of Offices for one or more recipients. the calling
application has the responsibility to resend the message with the OoO acknowledged ( and other recipients if needed ).validateReplyStatus
in interface EhboxReplyValidator
response
- the responseOoOPublicationException
- if there is an Out off office for one or more recipients that is not acknowledgedConnectorException
be.ehealth.businessconnector.ehboxV2.validator.EhboxReplyValidator#validateReplyStatus(be.fgov.ehealth.businessconnector.ehboxv2.commons.protocol.v1.ResponseType)
Connector Packaging PERSPHYSICIAN 4.5.4 API
Copyright © {inceptionYear}-2024 eHealth. All Rights Reserved.