be.ehealth.businessconnector.chapterIV.builders
Interface ConsultationBuilder

All Known Implementing Classes:
ConsultationBuilderImpl

public interface ConsultationBuilder

interface for builder of consultation request objects. Default impl : ConsultationBuilderImpl Factory : BuilderFactory


Method Summary
 ChapterIVBuilderResponse build(FolderType folder, boolean isTest, ChapterIVReferences references, org.joda.time.DateTime agreementStartDate)
           
 ConsultChap4MedicalAdvisorAgreementRequest buildRequest(FolderType folder, boolean isTest, ChapterIVReferences references, org.joda.time.DateTime agreementStartDate)
           
 ConsultChap4MedicalAdvisorAgreementRequest buildRequest(FolderType folder, boolean isTest, String commonReference, String commonNIPReference, org.joda.time.DateTime agreementStartDate)
          Deprecated. , use ConsultationBuilder.buildRequest(FolderType folder, boolean isTest, ChapterIVReferences references, DateTime agreementStartDate).
 

Method Detail

buildRequest

@Deprecated
ConsultChap4MedicalAdvisorAgreementRequest buildRequest(FolderType folder,
                                                                   boolean isTest,
                                                                   String commonReference,
                                                                   String commonNIPReference,
                                                                   org.joda.time.DateTime agreementStartDate)
                                                        throws ChapterIVBusinessConnectorException,
                                                               TechnicalConnectorException
Deprecated. , use ConsultationBuilder.buildRequest(FolderType folder, boolean isTest, ChapterIVReferences references, DateTime agreementStartDate).

builds the ConsultChap4MedicalAdvisorAgreementRequest the folder should contain at least the following elements for the connector to work :

buildRequest

ConsultChap4MedicalAdvisorAgreementRequest buildRequest(FolderType folder,
                                                        boolean isTest,
                                                        ChapterIVReferences references,
                                                        org.joda.time.DateTime agreementStartDate)
                                                        throws ChapterIVBusinessConnectorException,
                                                               TechnicalConnectorException
Parameters:
folder - FolderType contains the information to retrieve/send
isTest - boolean indicating if this message is a test or not
references - contains all the references needed by ChapterIV
agreementStartDate - not nullable : the agreementStartDate to be used in the request for the webservice : value : see documentation chapterIV
Returns:
filled out ConsultChap4MedicalAdvisorAgreementRequest
Throws:
ChapterIVBusinessConnectorException
TechnicalConnectorException

build

ChapterIVBuilderResponse build(FolderType folder,
                               boolean isTest,
                               ChapterIVReferences references,
                               org.joda.time.DateTime agreementStartDate)
                               throws ChapterIVBusinessConnectorException,
                                      TechnicalConnectorException
Parameters:
folder - FolderType contains the information to retrieve/send
isTest - boolean indicating if this message is a test or not
references - contains all the references needed by ChapterIV
agreementStartDate - not nullable : the agreementStartDate to be used in the request for the webservice : value : see documentation chapterIV
Returns:
filled out ConsultChap4MedicalAdvisorAgreementRequest
Throws:
ChapterIVBusinessConnectorException
TechnicalConnectorException



Connector Business ORGPHARMACY 3.11.1 API
Copyright © {inceptionYear}-2016 eHealth. All Rights Reserved.