public class RequestBuilderImpl extends Object implements RequestBuilder
RequestBuilder
.Constructor and Description |
---|
RequestBuilderImpl() |
Modifier and Type | Method and Description |
---|---|
GetAllEhboxesMessagesListRequest |
createAllEhboxesMessagesListRequest(String source)
retrieve all messages for given source from all ehealthboxes.
|
GetAllEhboxesMessagesListRequest |
createAllEhboxesMessagesListRequest(String source,
Integer startIndex,
Integer endIndex)
retrieve all messages for default ehealthbox.
|
GetBoxInfoRequest |
createBoxInfoRequest(BoxIdType boxId)
retrieve the information from the given ehealthboxes.
|
GetBoxInfoRequest |
createBoxInfoRequestForDefaultBox()
retrieve the information about the default ehealtbox.
|
DeleteMessageRequest |
createDeleteMessageRequest(String source,
BoxIdType boxId,
List<String> messageIds)
create a deleteMessageRequest for a list of messages for a given source and ehealthBoxes.
|
DeleteMessageRequest |
createDeleteMessageRequest(String source,
BoxIdType boxId,
String... messageIds)
create a deleteMessageRequest for a list of messages for a given source and ehealthBoxes.
|
DeleteMessageRequest |
createDeleteMessageRequest(String source,
List<String> messageIds)
creates a DeleteMessageRequest which asks the server to delete some messages.
|
DeleteMessageRequest |
createDeleteMessageRequest(String source,
String... messageIds)
creates a DeleteMessageRequest which asks the server to delete some messages.
|
DeleteOoORequest |
createDeleteOoORequest(BoxIdType boxId,
List<String> oOoIds)
delete the OoO's for the given ehealthBoxes.
|
DeleteOoORequest |
createDeleteOoORequest(BoxIdType boxId,
String... oOoIds)
delete the OoO's for the given ehealthBoxes.
|
DeleteOoORequest |
createDeleteOoORequest(List<String> oOoIds)
delete the OoO's for the default ehealthbox.
|
DeleteOoORequest |
createDeleteOoORequest(String... oOoIds)
delete the OoO's for the default ehealthbox.
|
GetAllEhboxesMessagesListRequest |
createGetAllEhboxesMessagesListRequest(String source,
Integer startIndex,
Integer endIndex)
retrieve messages from all ehealthboxes for a given source , start and endIndex.
|
GetFullMessageRequest |
createGetFullMessageRequest(String messageId)
retrieve message information of the message GetFullMessageRequest from INBOX with given messageId.
|
GetFullMessageRequest |
createGetFullMessageRequest(String messageId,
String source)
retrieve message information of the message GetFullMessageRequest for the default ehealthbox.
|
GetFullMessageRequest |
createGetFullMessageRequest(String messageId,
String source,
BoxIdType boxId)
retrieve message information of the message GetFullMessageRequest .
|
GetHistoryRequest |
createGetHistoryRequest(String messageId)
retrieve message information of the message GetHistoryRequest from INBOX with given messageId.
|
GetHistoryRequest |
createGetHistoryRequest(String messageId,
String source)
retrieve message information of the message GetHistoryRequest for the default ehealthbox.
|
GetHistoryRequest |
createGetHistoryRequest(String messageId,
String source,
BoxIdType boxId)
retrieve message information of the message GetHistoryRequest .
|
GetMessageAcknowledgmentsStatusRequest |
createGetMessageAcknowledgmentsStatusRequest(String messageId)
retrieve acknowledementStatuses for a message.
|
GetMessageAcknowledgmentsStatusRequest |
createGetMessageAcknowledgmentsStatusRequest(String messageId,
Integer startIndex,
Integer endIndex,
BoxIdType boxId)
retrieve acknowledementStatuses for a message.
|
GetMessagesListRequest |
createGetMessagesListRequest(String source)
retrieve the messages for a given source and the default ehealthbox.
|
GetMessagesListRequest |
createGetMessagesListRequest(String source,
int startIndex,
int endIndex,
BoxIdType boxId)
retrieve the messages .
|
GetOoOListRequest |
createGetOoOListRequest()
retrieve the Out Of Offices for the default ehealthbox.
|
GetOoOListRequest |
createGetOoOListRequest(BoxIdType boxId)
retrieve the Out Of Offices for the given ehealthBox.
|
InsertOoORequest |
createInsertOoORequest(BoxIdType boxId,
org.joda.time.DateTime startDate,
org.joda.time.DateTime endDate,
BoxIdType... substitutes)
Insert an Out of Office with substitutes for the given Ehealthboxes .
|
InsertOoORequest |
createInsertOoORequest(BoxIdType boxId,
org.joda.time.DateTime startDate,
org.joda.time.DateTime endDate,
List<BoxIdType> substitutes)
Insert an Out of Office with substitutes for the given Ehealthboxes .
|
InsertOoORequest |
createInsertOoORequest(org.joda.time.DateTime startDate,
org.joda.time.DateTime endDate,
BoxIdType... substitutes)
Insert an Out of Office with substitutes for the default ehealthBox.
|
InsertOoORequest |
createInsertOoORequest(org.joda.time.DateTime startDate,
org.joda.time.DateTime endDate,
List<BoxIdType> substitutes)
Insert an Out of Office with substitutes for the default ehealthBox.
|
MessageRequestType |
createMessageRequestType(String messageId)
retrieve message information of the message ( fullMessage, history , ...
|
MessageRequestType |
createMessageRequestType(String messageId,
String source)
retrieve message information of the message ( fullMessage, history , ...
|
MessageRequestType |
createMessageRequestType(String messageId,
String source,
BoxIdType boxId)
retrieve message information of the message ( fullMessage, history , ...
|
MoveMessageRequest |
createMoveMessageRequest(String source,
String destination,
BoxIdType boxId,
List<String> messageIds)
move messages beteen source for given ehealthboxes.
|
MoveMessageRequest |
createMoveMessageRequest(String source,
String destination,
BoxIdType boxId,
String... messageIds)
move messages beteen source for given ehealthboxes.
|
MoveMessageRequest |
createMoveMessageRequest(String source,
String destination,
List<String> messageIds)
move messages between sources for default ehealthbox.
|
MoveMessageRequest |
createMoveMessageRequest(String source,
String destination,
String... messageIds)
move messages between sources for default ehealthbox.
|
public DeleteMessageRequest createDeleteMessageRequest(String source, String... messageIds)
RequestBuilder
createDeleteMessageRequest
in interface RequestBuilder
source
- the source of the messages , INBOX, BININBOX, SENTBOX, BINSENTBOX ... see cookbookmessageIds
- one or more messageIds to deleteDeleteMessageRequest
RequestBuilder.createDeleteMessageRequest(java.lang.String, java.lang.String[])
public GetAllEhboxesMessagesListRequest createGetAllEhboxesMessagesListRequest(String source, Integer startIndex, Integer endIndex)
RequestBuilder
createGetAllEhboxesMessagesListRequest
in interface RequestBuilder
source
- the source of the messages , INBOX, BININBOX, SENTBOX, BINSENTBOX ... see cookbookstartIndex
- index of the first message , min 1 index of the first message , min 1endIndex
- index of the last message, max startIndex + 100RequestBuilder.createGetAllEhboxesMessagesListRequest(String, Integer, Integer)
public GetMessagesListRequest createGetMessagesListRequest(String source, int startIndex, int endIndex, BoxIdType boxId)
RequestBuilder
createGetMessagesListRequest
in interface RequestBuilder
source
- the source of the messages , INBOX, BININBOX, SENTBOX, BINSENTBOX ... see cookbookstartIndex
- index of the first message , min 1endIndex
- index of the last message, max startIndex + 100boxId
- BoxIdType
the ehealthBox to useRequestBuilder.createGetMessagesListRequest(java.lang.String, int, int,
BoxIdType)
public GetMessagesListRequest createGetMessagesListRequest(String source)
RequestBuilder
createGetMessagesListRequest
in interface RequestBuilder
source
- the source of the messages , INBOX, BININBOX, SENTBOX, BINSENTBOX ... see cookbookRequestBuilder.createGetMessagesListRequest(java.lang.String)
public DeleteMessageRequest createDeleteMessageRequest(String source, BoxIdType boxId, String... messageIds)
RequestBuilder
createDeleteMessageRequest
in interface RequestBuilder
source
- the source of the messages , INBOX, BININBOX, SENTBOX, BINSENTBOX ... see cookbookboxId
- BoxIdType
the ehealthBox to usemessageIds
- the id(s) of the message(s) to deleteRequestBuilder.createDeleteMessageRequest(java.lang.String, BoxIdType,
java.lang.String[])
public GetBoxInfoRequest createBoxInfoRequestForDefaultBox()
RequestBuilder
createBoxInfoRequestForDefaultBox
in interface RequestBuilder
RequestBuilder.createBoxInfoRequestForDefaultBox()
public GetBoxInfoRequest createBoxInfoRequest(BoxIdType boxId)
RequestBuilder
createBoxInfoRequest
in interface RequestBuilder
boxId
- BoxIdType
the ehealthBox to usebe.ehealth.businessconnector.ehbox.v3.builders.RequestBuilder#createBoxInfoRequest(be.fgov.ehealth.ehbox.core.v3.BoxIdType[])
public GetAllEhboxesMessagesListRequest createAllEhboxesMessagesListRequest(String source)
RequestBuilder
createAllEhboxesMessagesListRequest
in interface RequestBuilder
source
- the source of the messages , INBOX, BININBOX, SENTBOX, BINSENTBOX ... see cookbookRequestBuilder.createAllEhboxesMessagesListRequest(java.lang.String)
public GetAllEhboxesMessagesListRequest createAllEhboxesMessagesListRequest(String source, Integer startIndex, Integer endIndex)
RequestBuilder
createAllEhboxesMessagesListRequest
in interface RequestBuilder
source
- the source of the messages , INBOX, BININBOX, SENTBOX, BINSENTBOX ... see cookbookstartIndex
- index of the first message , min 1endIndex
- index of the last message, max startIndex + 100RequestBuilder.createAllEhboxesMessagesListRequest(java.lang.String,
java.lang.Integer, java.lang.Integer)
public MessageRequestType createMessageRequestType(String messageId)
RequestBuilder
createMessageRequestType
in interface RequestBuilder
messageId
- the message for which this MessageRequest is created.RequestBuilder.createMessageRequestType(java.lang.String)
public MessageRequestType createMessageRequestType(String messageId, String source)
RequestBuilder
createMessageRequestType
in interface RequestBuilder
messageId
- the message for which this MessageRequest is created.source
- the source of the messages , INBOX, BININBOX, SENTBOX, BINSENTBOX ... see cookbookRequestBuilder.createMessageRequestType(java.lang.String, java.lang.String)
public MessageRequestType createMessageRequestType(String messageId, String source, BoxIdType boxId)
RequestBuilder
createMessageRequestType
in interface RequestBuilder
messageId
- the message for which this MessageRequest is created.source
- the source of the messages , INBOX, BININBOX, SENTBOX, BINSENTBOX ... see cookbookboxId
- BoxIdType
the ehealthBox to useRequestBuilder.createMessageRequestType(java.lang.String, java.lang.String,
BoxIdType)
public GetFullMessageRequest createGetFullMessageRequest(String messageId)
RequestBuilder
createGetFullMessageRequest
in interface RequestBuilder
messageId
- the message for which this GetFullMessageRequest is created.RequestBuilder.createGetFullMessageRequest(java.lang.String)
public GetFullMessageRequest createGetFullMessageRequest(String messageId, String source)
RequestBuilder
createGetFullMessageRequest
in interface RequestBuilder
messageId
- the message for which this GetFullMessageRequest is created.source
- the source of the messages , INBOX, BININBOX, SENTBOX, BINSENTBOX ... see cookbookRequestBuilder.createGetFullMessageRequest(java.lang.String, java.lang.String)
public GetFullMessageRequest createGetFullMessageRequest(String messageId, String source, BoxIdType boxId)
RequestBuilder
createGetFullMessageRequest
in interface RequestBuilder
messageId
- the message for which this GetFullMessageRequest is created.source
- the source of the messages , INBOX, BININBOX, SENTBOX, BINSENTBOX ... see cookbookboxId
- BoxIdType
the ehealthBox to useRequestBuilder.createGetFullMessageRequest(java.lang.String, java.lang.String,
be.fgov.ehealth.ehbox.core.v3.BoxIdType)
public GetHistoryRequest createGetHistoryRequest(String messageId)
RequestBuilder
createGetHistoryRequest
in interface RequestBuilder
messageId
- the message for which this GetHistoryRequest is created.RequestBuilder.createGetHistoryRequest(java.lang.String)
public GetHistoryRequest createGetHistoryRequest(String messageId, String source)
RequestBuilder
createGetHistoryRequest
in interface RequestBuilder
messageId
- the message for which this GetHistoryRequest is created.source
- the source of the messages , INBOX, BININBOX, SENTBOX, BINSENTBOX ... see cookbookRequestBuilder.createGetHistoryRequest(java.lang.String, java.lang.String)
public GetHistoryRequest createGetHistoryRequest(String messageId, String source, BoxIdType boxId)
RequestBuilder
createGetHistoryRequest
in interface RequestBuilder
messageId
- the message for which this GetHistoryRequest is created.source
- the source of the messages , INBOX, BININBOX, SENTBOX, BINSENTBOX ... see cookbookboxId
- BoxIdType
the ehealthBox to useRequestBuilder.createGetHistoryRequest(java.lang.String, java.lang.String,
be.fgov.ehealth.ehbox.core.v3.BoxIdType)
public MoveMessageRequest createMoveMessageRequest(String source, String destination, String... messageIds)
RequestBuilder
createMoveMessageRequest
in interface RequestBuilder
source
- the source of the messages , INBOX, BININBOX, SENTBOX, BINSENTBOX ... see cookbookdestination
- the destination of the messages , INBOX, BININBOX, SENTBOX, BINSENTBOX ... see cookbookmessageIds
- the messageIds that need to be movedRequestBuilder.createMoveMessageRequest(java.lang.String, java.lang.String,
java.lang.String[])
public MoveMessageRequest createMoveMessageRequest(String source, String destination, BoxIdType boxId, String... messageIds)
RequestBuilder
createMoveMessageRequest
in interface RequestBuilder
source
- the source of the messages , INBOX, BININBOX, SENTBOX, BINSENTBOX ... see cookbookdestination
- the destination of the messages , INBOX, BININBOX, SENTBOX, BINSENTBOX ... see cookbookboxId
- BoxIdType
the ehealthBox to usemessageIds
- the messageIds that need to be movedRequestBuilder.createMoveMessageRequest(java.lang.String, java.lang.String,
BoxIdType, java.lang.String[])
public GetMessageAcknowledgmentsStatusRequest createGetMessageAcknowledgmentsStatusRequest(String messageId)
RequestBuilder
createGetMessageAcknowledgmentsStatusRequest
in interface RequestBuilder
messageId
- the id of the message for which this request is created.RequestBuilder.createGetMessageAcknowledgmentsStatusRequest(java.lang.String)
public GetMessageAcknowledgmentsStatusRequest createGetMessageAcknowledgmentsStatusRequest(String messageId, Integer startIndex, Integer endIndex, BoxIdType boxId)
RequestBuilder
createGetMessageAcknowledgmentsStatusRequest
in interface RequestBuilder
messageId
- the id of the message for which this request is created.startIndex
- index of the first message , min 1endIndex
- index of the last message, max startIndex + 100boxId
- BoxIdType
the ehealthBox to useRequestBuilder.createGetMessageAcknowledgmentsStatusRequest(java.lang.String,
java.lang.Integer, java.lang.Integer, BoxIdType)
public DeleteOoORequest createDeleteOoORequest(String... oOoIds)
RequestBuilder
createDeleteOoORequest
in interface RequestBuilder
oOoIds
- the OoO (Out of Office) ids , as retrieved with the GetOoOList method.RequestBuilder.createDeleteOoORequest(java.lang.String[])
public DeleteOoORequest createDeleteOoORequest(List<String> oOoIds)
RequestBuilder
createDeleteOoORequest
in interface RequestBuilder
oOoIds
- the OoO (Out of Office) ids , as retrieved with the GetOoOList method.RequestBuilder.createDeleteOoORequest(java.util.List)
public DeleteOoORequest createDeleteOoORequest(BoxIdType boxId, String... oOoIds)
RequestBuilder
createDeleteOoORequest
in interface RequestBuilder
boxId
- BoxIdType
the ehealthBox to useoOoIds
- the OoO (Out of Office) ids , as retrieved with the GetOoOList method.RequestBuilder.createDeleteOoORequest(BoxIdType, java.lang.String[])
public DeleteOoORequest createDeleteOoORequest(BoxIdType boxId, List<String> oOoIds)
RequestBuilder
createDeleteOoORequest
in interface RequestBuilder
boxId
- BoxIdType
the ehealthBox to useoOoIds
- the OoO (Out of Office) ids , as retrieved with the GetOoOList method.RequestBuilder.createDeleteOoORequest(be.fgov.ehealth.ehbox.core.v3.BoxIdType,
java.util.List)
public GetOoOListRequest createGetOoOListRequest()
RequestBuilder
createGetOoOListRequest
in interface RequestBuilder
RequestBuilder.createGetOoOListRequest()
public GetOoOListRequest createGetOoOListRequest(BoxIdType boxId)
RequestBuilder
createGetOoOListRequest
in interface RequestBuilder
boxId
- the BoxIdType
indicating the ehealthBox to use.RequestBuilder.createGetOoOListRequest(be.fgov.ehealth.ehbox.core.v3.BoxIdType)
public InsertOoORequest createInsertOoORequest(org.joda.time.DateTime startDate, org.joda.time.DateTime endDate, BoxIdType... substitutes)
RequestBuilder
createInsertOoORequest
in interface RequestBuilder
startDate
- the start date of the Out Of Office.endDate
- the end date of the Out of Officesubstitutes
- zero or more BoxIdType
indicating the substitutes ( ehealthBoxes to forward the mail to during the Out of
Office period )RequestBuilder.createInsertOoORequest(org.joda.time.DateTime,
org.joda.time.DateTime, be.fgov.ehealth.ehbox.core.v3.BoxIdType[])
public InsertOoORequest createInsertOoORequest(BoxIdType boxId, org.joda.time.DateTime startDate, org.joda.time.DateTime endDate, BoxIdType... substitutes)
RequestBuilder
createInsertOoORequest
in interface RequestBuilder
boxId
- BoxIdType
the ehealthBox to usestartDate
- the start date of the Out Of Office.endDate
- the end date of the Out of Officesubstitutes
- one or more BoxIdType
indicating the substitutes ( ehealthBoxes to forward the mail to during the Out of
Office period )RequestBuilder.createInsertOoORequest(BoxIdType, org.joda.time.DateTime,
org.joda.time.DateTime, be.fgov.ehealth.ehbox.core.v3.BoxIdType[])
public DeleteMessageRequest createDeleteMessageRequest(String source, List<String> messageIds)
RequestBuilder
createDeleteMessageRequest
in interface RequestBuilder
source
- the source of the messages , INBOX, BININBOX, SENTBOX, BINSENTBOX ... see cookbookmessageIds
- one or more messageIds to deleteDeleteMessageRequest
RequestBuilder.createDeleteMessageRequest(java.lang.String, java.util.List)
public DeleteMessageRequest createDeleteMessageRequest(String source, BoxIdType boxId, List<String> messageIds)
RequestBuilder
createDeleteMessageRequest
in interface RequestBuilder
source
- the source of the messages , INBOX, BININBOX, SENTBOX, BINSENTBOX ... see cookbookboxId
- BoxIdType
the ehealthBox to usemessageIds
- the id(s) of the message(s) to deleteRequestBuilder.createDeleteMessageRequest(java.lang.String,
be.fgov.ehealth.ehbox.core.v3.BoxIdType, java.util.List)
public MoveMessageRequest createMoveMessageRequest(String source, String destination, List<String> messageIds)
RequestBuilder
createMoveMessageRequest
in interface RequestBuilder
source
- the source of the messages , INBOX, BININBOX, SENTBOX, BINSENTBOX ... see cookbookdestination
- the destination of the messages , INBOX, BININBOX, SENTBOX, BINSENTBOX ... see cookbookmessageIds
- the messageIds that need to be movedRequestBuilder.createMoveMessageRequest(java.lang.String, java.lang.String,
java.util.List)
public MoveMessageRequest createMoveMessageRequest(String source, String destination, BoxIdType boxId, List<String> messageIds)
RequestBuilder
createMoveMessageRequest
in interface RequestBuilder
source
- the source of the messages , INBOX, BININBOX, SENTBOX, BINSENTBOX ... see cookbookdestination
- the destination of the messages , INBOX, BININBOX, SENTBOX, BINSENTBOX ... see cookbookboxId
- BoxIdType
the ehealthBox to usemessageIds
- the messageIds that need to be movedRequestBuilder.createMoveMessageRequest(java.lang.String, java.lang.String,
be.fgov.ehealth.ehbox.core.v3.BoxIdType, java.util.List)
public InsertOoORequest createInsertOoORequest(org.joda.time.DateTime startDate, org.joda.time.DateTime endDate, List<BoxIdType> substitutes)
RequestBuilder
createInsertOoORequest
in interface RequestBuilder
startDate
- the start date of the Out Of Office.endDate
- the end date of the Out of Officesubstitutes
- zero or more BoxIdType
indicating the substitutes ( ehealthBoxes to forward the mail to during the Out of
Office period )RequestBuilder.createInsertOoORequest(org.joda.time.DateTime,
org.joda.time.DateTime, java.util.List)
public InsertOoORequest createInsertOoORequest(BoxIdType boxId, org.joda.time.DateTime startDate, org.joda.time.DateTime endDate, List<BoxIdType> substitutes)
RequestBuilder
createInsertOoORequest
in interface RequestBuilder
boxId
- BoxIdType
the ehealthBox to usestartDate
- the start date of the Out Of Office.endDate
- the end date of the Out of Officesubstitutes
- one or more BoxIdType
indicating the substitutes ( ehealthBoxes to forward the mail to during the Out of
Office period )RequestBuilder.createInsertOoORequest(be.fgov.ehealth.ehbox.core.v3.BoxIdType,
org.joda.time.DateTime, org.joda.time.DateTime, java.util.List)
Connector Packaging PERSPHYSICIAN 4.5.4 API
Copyright © {inceptionYear}-2024 eHealth. All Rights Reserved.