|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface CommonBuilder
Interface for all Common Builders for MyCarenet requests provide methods to convert mycarenet objects to Jaxb object used in request
there is an implementation provided by default by the RequestBuilderFactory in this case, the used values come from properties file (see
provided empties properties files)
Default impl : GenericCommonBuilderImpl
Field Summary | |
---|---|
static String |
PROJECT_NAME_KEY
key to identify project name. |
Method Summary | |
---|---|
CommonInput |
createCommonInput(PackageInfo packageInfo,
boolean isTest,
String inputReference)
Creates CommonInputType part with given parameters |
Origin |
createOrigin(PackageInfo packageInfo)
Create Origin part with package informations |
Routing |
createRouting(Patient patientInfo,
org.joda.time.DateTime refDate)
Creates Routing object with given parameters. |
Routing |
createRoutingToMutuality(String mutuality,
org.joda.time.DateTime refDate)
creates a 'dummy' careReceiver to send to a mutuality. |
Methods inherited from interface be.ehealth.technicalconnector.utils.ConfigurableImplementation |
---|
initialize |
Field Detail |
---|
static final String PROJECT_NAME_KEY
Method Detail |
---|
Routing createRouting(Patient patientInfo, org.joda.time.DateTime refDate)
patientInfo
- all the available informations about the concerned patientrefDate
- the reference date
CommonInput createCommonInput(PackageInfo packageInfo, boolean isTest, String inputReference) throws TechnicalConnectorException
packageInfo
- the packageInfo: provides info about the software package creating the messageisTest
- true if you're running a test, false otherwiseinputReference
- the inputReference : unique reference created by the careprovider
TechnicalConnectorException
Origin createOrigin(PackageInfo packageInfo) throws TechnicalConnectorException
packageInfo
- the packageInfo: provides info about the software package creating the message
TechnicalConnectorException
Routing createRoutingToMutuality(String mutuality, org.joda.time.DateTime refDate)
mutuality
- the mutuality identifier (X00).refDate
- the reference date.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |