|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectbe.ehealth.businessconnector.ehbox.v3.validator.impl.EhboxReplyValidatorImpl
public class EhboxReplyValidatorImpl
Implementation for EhboxReplyValidator
.
Field Summary | |
---|---|
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 Summary | |
---|---|
EhboxReplyValidatorImpl()
|
Method Summary | |
---|---|
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. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final String EHEALTH_SUCCESS_CODE_100
public static final String EHEALTH_SUCCESS_CODE_200
public static final String EHBOX_OOO_EXCEPTION
Constructor Detail |
---|
public EhboxReplyValidatorImpl()
Method Detail |
---|
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 response
OoOPublicationException
- if there is an Out off office for one or more recipients that is not acknowledged
ConnectorException
be.ehealth.businessconnector.ehboxV2.validator.EhboxReplyValidator#validateReplyStatus(be.fgov.ehealth.businessconnector.ehboxv2.commons.protocol.v1.ResponseType)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |