public class ConsultationServiceImpl extends Object implements ConsultationService, ConfigurationModuleBootstrap.ModuleBootstrapHook
ConsultationService
Constructor and Description |
---|
ConsultationServiceImpl()
default constructor , needed for ModuleBootstrapHook.
|
ConsultationServiceImpl(SessionValidator sessionValidator,
EhboxReplyValidator replyValidator)
Instantiates a new consultation service impl.
|
public ConsultationServiceImpl(SessionValidator sessionValidator, EhboxReplyValidator replyValidator)
sessionValidator
- the session validatorreplyValidator
- the reply validatorpublic ConsultationServiceImpl()
public final GetBoxInfoResponse getBoxInfo(SAMLToken token, GetBoxInfoRequest getBoxInfoRequest) throws ConnectorException
getBoxInfo
in interface ConsultationService
token
- the tokenConnectorException
- the technical connector exceptionpublic GetFullMessageResponse getFullMessage(SAMLToken token, GetFullMessageRequest request) throws ConnectorException
ConsultationService
getFullMessage
in interface ConsultationService
token
- the tokenrequest
- the message request typeConnectorException
- , either TechnicalConnectorException or EhboxBusinessConnectorExceptionConsultationService.getFullMessage(be.ehealth.technicalconnector.service.sts.security.SAMLToken,
be.fgov.ehealth.ehbox.consultation.protocol.v3.GetFullMessageRequest)
@Deprecated public GetFullMessageResponse getFullMessage(SAMLToken token, MessageRequestType request) throws ConnectorException
ConsultationService
getFullMessage
in interface ConsultationService
token
- the tokenrequest
- the message request typeConnectorException
- , either TechnicalConnectorException or EhboxBusinessConnectorExceptionConsultationService.getFullMessage(be.ehealth.technicalconnector.service.sts.security.SAMLToken,
be.fgov.ehealth.ehbox.consultation.protocol.v3.MessageRequestType)
@Deprecated public final GetHistoryResponse getMessageHistory(SAMLToken token, MessageRequestType request) throws ConnectorException
getMessageHistory
in interface ConsultationService
token
- the tokenrequest
- : messageRequestType the message request typeConnectorException
- the technical connector exceptionpublic GetHistoryResponse getMessageHistory(SAMLToken token, GetHistoryRequest request) throws ConnectorException
ConsultationService
getMessageHistory
in interface ConsultationService
token
- the tokenrequest
- the message request typeConnectorException
- , either TechnicalConnectorException or EhboxBusinessConnectorExceptionConsultationService.getMessageHistory(be.ehealth.technicalconnector.service.sts.security.SAMLToken,
be.fgov.ehealth.ehbox.consultation.protocol.v3.GetHistoryRequest)
public final GetMessagesListResponse getMessageList(SAMLToken token, GetMessagesListRequest request) throws ConnectorException
getMessageList
in interface ConsultationService
token
- the tokenrequest
- : messagesListRequest the messages list requestConnectorException
- the technical connector exceptionpublic final GetMessageAcknowledgmentsStatusResponse getMessageAcknowledgmentsStatusResponse(SAMLToken token, GetMessageAcknowledgmentsStatusRequest request) throws ConnectorException
ConsultationService
getMessageAcknowledgmentsStatusResponse
in interface ConsultationService
token
- the tokenrequest
- the acknowlegment status typeConnectorException
- , either TechnicalConnectorException or EhboxBusinessConnectorExceptionConsultationService.getMessageAcknowledgmentsStatusResponse(be.ehealth.technicalconnector.service.sts.security.SAMLToken,
be.fgov.ehealth.ehbox.consultation.protocol.v3.GetMessageAcknowledgmentsStatusRequest)
public final DeleteMessageResponse deleteMessage(SAMLToken token, DeleteMessageRequest request) throws ConnectorException
ConsultationService
delete specific message.
deleteMessage
in interface ConsultationService
request
- the message idException
ConnectorException
- , either TechnicalConnectorException or EhboxBusinessConnectorExceptionConsultationService.deleteMessage(be.ehealth.technicalconnector.service.sts.security.SAMLToken,
be.fgov.ehealth.ehbox.consultation.protocol.v3.DeleteMessageRequest)
public final MoveMessageResponse moveMessage(SAMLToken token, MoveMessageRequest request) throws ConnectorException
ConsultationService
moveMessage
in interface ConsultationService
token
- the tokenrequest
- the message request typeConnectorException
- , either TechnicalConnectorException or EhboxBusinessConnectorExceptionConsultationService.moveMessage(be.ehealth.technicalconnector.service.sts.security.SAMLToken,
be.fgov.ehealth.ehbox.consultation.protocol.v3.MoveMessageRequest)
public InsertOoOResponse insertOoO(SAMLToken token, InsertOoORequest request) throws ConnectorException
ConsultationService
insert Out Of Office period.
insertOoO
in interface ConsultationService
request
- user and period of OoOConnectorException
SessionManagementException
ConsultationService.insertOoO(be.ehealth.technicalconnector.service.sts.security.SAMLToken,
be.fgov.ehealth.ehbox.consultation.protocol.v3.InsertOoORequest)
public final DeleteOoOResponse deleteOoO(SAMLToken token, DeleteOoORequest request) throws ConnectorException
ConsultationService
get list of periods of OoO for specific user.
deleteOoO
in interface ConsultationService
request
- user idConnectorException
SessionManagementException
ConsultationService.deleteOoO(be.ehealth.technicalconnector.service.sts.security.SAMLToken,
be.fgov.ehealth.ehbox.consultation.protocol.v3.DeleteOoORequest)
public final GetOoOListResponse getOoOList(SAMLToken token, GetOoOListRequest request) throws ConnectorException
ConsultationService
delete specific OoO périod.
getOoOList
in interface ConsultationService
request
- period OoO idConnectorException
ConsultationService.getOoOList(be.ehealth.technicalconnector.service.sts.security.SAMLToken,
be.fgov.ehealth.ehbox.consultation.protocol.v3.GetOoOListRequest)
public GetAllEhboxesMessagesListResponse getAllEhboxesMessagesList(SAMLToken token, GetAllEhboxesMessagesListRequest request) throws ConnectorException
ConsultationService
retrieve all messages from given source for all mailboxes.
getAllEhboxesMessagesList
in interface ConsultationService
ConnectorException
ConsultationService.getAllEhboxesMessagesList(be.ehealth.technicalconnector.service.sts.security.SAMLToken,
be.fgov.ehealth.ehbox.consultation.protocol.v3.GetAllEhboxesMessagesListRequest)
public void bootstrap()
bootstrap
in interface ConfigurationModuleBootstrap.ModuleBootstrapHook
Connector Packaging PERSPHYSICIAN 4.5.4 API
Copyright © {inceptionYear}-2024 eHealth. All Rights Reserved.