|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectbe.ehealth.businessconnector.ehboxV2.session.impl.EhealthBoxServiceV2Impl
public class EhealthBoxServiceV2Impl
Implementation of EhealthBoxServiceV2
| Constructor Summary | |
|---|---|
EhealthBoxServiceV2Impl()
default constructor, needed for ModuleBootstrapHook. |
|
EhealthBoxServiceV2Impl(SessionValidator sessionValidator,
EhboxReplyValidator replyValidator)
|
|
| Method Summary | |
|---|---|
void |
bootstrap()
|
DeleteMessageResponse |
deleteMessage(DeleteMessageRequest request)
|
GetBoxInfoResponse |
getBoxInfo(GetBoxInfoRequest getBoxInfoRequest)
To retrieve general information relation to the eHealth Box of the General Practitioner: number of messages, total size of all available messages, etc.). |
GetFullMessageResponse |
getFullMessage(MessageRequestType request)
Retrieves the entire message from the eHealth Box based on its unique identifier. |
GetMessageAcknowledgmentsStatusResponse |
getMessageAcknowledgmentsStatusRequest(GetMessageAcknowledgmentsStatusRequest request)
Gets the acknowlegment status. |
GetHistoryResponse |
getMessageHistory(MessageRequestType request)
With the 'Get History' operation, a messages history can be consulted. |
GetMessageListResponseType |
getMessageList(GetMessagesListRequest request)
The �Get message List� operation retrieves the list of messages in one of the available folders (inbox, bin or sent). |
ResponseType |
moveMessage(MoveMessageRequest request)
Moves a message back to the inbox. |
SendMessageResponse |
sendMessage(SendMessageRequest sendMessageRequest)
The �Send Message� operation allows a message to be sent to one or more recipients. |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public EhealthBoxServiceV2Impl(SessionValidator sessionValidator,
EhboxReplyValidator replyValidator)
throws TechnicalConnectorException,
EhboxBusinessConnectorException
sessionValidator - replyValidator -
TechnicalConnectorException
EhboxBusinessConnectorExceptionpublic EhealthBoxServiceV2Impl()
| Method Detail |
|---|
public SendMessageResponse sendMessage(SendMessageRequest sendMessageRequest)
throws TechnicalConnectorException,
EhboxBusinessConnectorException,
SessionManagementException
EhealthBoxServiceV2The �Send Message� operation allows a message to be sent to one or more recipients. The sender has to be option to:
sendMessage in interface EhealthBoxServiceV2TechnicalConnectorException - the technical connector exception
SessionManagementException
EhboxBusinessConnectorException - the business connector exceptionEhealthBoxServiceV2.sendMessage(be.fgov.ehealth.ehbox.publication.protocol.v2.SendMessageRequest)
public GetBoxInfoResponse getBoxInfo(GetBoxInfoRequest getBoxInfoRequest)
throws TechnicalConnectorException,
EhboxBusinessConnectorException,
SessionManagementException
EhealthBoxServiceV2To retrieve general information relation to the eHealth Box of the General Practitioner: number of messages, total size of all available messages, etc.).
getBoxInfo in interface EhealthBoxServiceV2TechnicalConnectorException - the technical connector exception
SessionManagementException
EhboxBusinessConnectorException - the business connector exceptionEhealthBoxServiceV2.getBoxInfo(be.fgov.ehealth.ehbox.consultation.protocol.v2.GetBoxInfoRequest)
public GetMessageListResponseType getMessageList(GetMessagesListRequest request)
throws TechnicalConnectorException,
EhboxBusinessConnectorException,
SessionManagementException
EhealthBoxServiceV2The �Get message List� operation retrieves the list of messages in one of the available folders (inbox, bin or sent). The result contains a list of available messages, but only with partial information. To retrieve the entire message contents, the 'Get Full Message' operation must be invoked.
getMessageList in interface EhealthBoxServiceV2request - Indicates the folder for which the list of messages is returned (inbox, bin, sent).
TechnicalConnectorException - the technical connector exception
SessionManagementException
EhboxBusinessConnectorException - the business connector exceptionEhealthBoxServiceV2.getMessageList(be.fgov.ehealth.ehbox.consultation.protocol.v2.GetMessagesListRequest)
public GetFullMessageResponse getFullMessage(MessageRequestType request)
throws TechnicalConnectorException,
EhboxBusinessConnectorException,
SessionManagementException
EhealthBoxServiceV2Retrieves the entire message from the eHealth Box based on its unique identifier. Typically, first a list of new messages is retrieved via the 'Get Message List' operation and afterwards the individual message is claimed via this operation.
getFullMessage in interface EhealthBoxServiceV2request - The message id.
TechnicalConnectorException - the technical connector exception
SessionManagementException
EhboxBusinessConnectorException - the business connector exceptionEhealthBoxServiceV2.getFullMessage(be.fgov.ehealth.ehbox.consultation.protocol.v2.MessageRequestType)
public ResponseType moveMessage(MoveMessageRequest request)
throws TechnicalConnectorException,
EhboxBusinessConnectorException,
SessionManagementException
EhealthBoxServiceV2Moves a message back to the inbox. The unique message identifier must be provided as input parameter.
moveMessage in interface EhealthBoxServiceV2request - The message id.
TechnicalConnectorException - the technical connector exception
SessionManagementException
EhboxBusinessConnectorException - the business connector exceptionEhealthBoxServiceV2.moveMessage(be.fgov.ehealth.ehbox.consultation.protocol.v2.MoveMessageRequest)
public GetHistoryResponse getMessageHistory(MessageRequestType request)
throws TechnicalConnectorException,
EhboxBusinessConnectorException,
SessionManagementException
EhealthBoxServiceV2With the 'Get History' operation, a messages history can be consulted.
getMessageHistory in interface EhealthBoxServiceV2request - The message id.
TechnicalConnectorException - the technical connector exception
SessionManagementException
EhboxBusinessConnectorException - the business connector exceptionEhealthBoxServiceV2.getMessageHistory(be.fgov.ehealth.ehbox.consultation.protocol.v2.MessageRequestType)
public GetMessageAcknowledgmentsStatusResponse getMessageAcknowledgmentsStatusRequest(GetMessageAcknowledgmentsStatusRequest request)
throws TechnicalConnectorException,
EhboxBusinessConnectorException,
SessionManagementException
EhealthBoxServiceV2Gets the acknowlegment status.
getMessageAcknowledgmentsStatusRequest in interface EhealthBoxServiceV2request - the message id.
TechnicalConnectorException - the technical connector exception
SessionManagementException
EhboxBusinessConnectorException - the business connector exceptionEhealthBoxServiceV2.getMessageAcknowledgmentsStatusRequest(be.fgov.ehealth.ehbox.consultation.protocol.v2.GetMessageAcknowledgmentsStatusRequest)
public DeleteMessageResponse deleteMessage(DeleteMessageRequest request)
throws TechnicalConnectorException,
EhboxBusinessConnectorException
deleteMessage in interface EhealthBoxServiceV2EhboxBusinessConnectorException
TechnicalConnectorExceptionEhealthBoxServiceV2.deleteMessage(be.fgov.ehealth.ehbox.consultation.protocol.v2.DeleteMessageRequest)public void bootstrap()
bootstrap in interface ConfigurationModuleBootstrap.ModuleBootstrapHook
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||