|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface RequestObjectBuilder
Creates the different application request objects Default impl :
GenericRequestObjectBuilder Factory : RequestObjectBuilderFactory
| Field Summary | |
|---|---|
static int |
MAXROWS_DEFAULT
MaxRows Constant : the highest possible value for maxRows parameter |
static String |
MAXROWS_PROPERTY_KEY
optional property to set the maxrows tag in the request. ( indicates the maximum number of therapeutic links to return an a answer ) |
static String |
PROP_HCP_TYPE
Deprecated. |
| Method Summary | |
|---|---|
GetTherapeuticLinkRequest |
createGetTherapeuticLinkRequest(TherapeuticLink query,
int maxRows,
Proof... prooves)
Creates a GetTherapeuticLinkRequest |
GetTherapeuticLinkRequest |
createGetTherapeuticLinkRequest(TherapeuticLink query,
Proof... prooves)
Creates a GetTherapeuticLinkRequest MaxRows will be replaced with property value of "therlink.maxrows" if it's defined, otherwise default value1000 will be used |
HasTherapeuticLinkRequest |
createHasTherapeuticLinkRequest(TherapeuticLink query)
Creates a HasTherapeuticLinkRequest |
PutTherapeuticLinkRequest |
createPutTherapeuticLinkRequest(org.joda.time.DateTime endDate,
Patient patient,
HcParty concernedHealthCareProfessionel,
String therLinkType,
String comment,
Proof... proofs)
Creates a new PutTherapeuticLinkRequest |
PutTherapeuticLinkRequest |
createPutTherapeuticLinkRequest(Patient patient,
HcParty concernedHealthCareProfessionel,
Date endDate,
String therLinkType,
String comment,
Proof... proofs)
Deprecated. |
PutTherapeuticLinkRequest |
createPutTherapeuticLinkRequest(Patient patient,
HcParty hcp,
String therLinkType,
Proof proof)
Creates a putTherapeuticLinkRequest enddate & comment are null by default |
RevokeTherapeuticLinkRequest |
createRevokeTherapeuticLinkRequest(org.joda.time.DateTime startDate,
org.joda.time.DateTime endDate,
Patient patient,
HcParty hcp,
String therLinkType,
String commentAboutRevokal,
Proof... proofs)
Creates a RevokeTherapeuticLinkRequest |
RevokeTherapeuticLinkRequest |
createRevokeTherapeuticLinkRequest(Patient patient,
HcParty hcp,
Date startDate,
Date endDate,
String therLinkType,
String commentAboutRevokal,
Proof... proofs)
Deprecated. |
RevokeTherapeuticLinkRequest |
createRevokeTherapeuticLinkRequest(TherapeuticLink therLink)
Creates a RevokeTherapeuticLinkRequest with a TherapeuticLink as input |
RevokeTherapeuticLinkRequest |
createRevokeTherapeuticLinkRequestWithProof(TherapeuticLink link,
Proof... proofs)
Creates a RevokeTherapeuticLinkRequest with a TherapeuticLink as input and a proof list |
List<HcParty> |
getAuthorHcParties()
Gets a list of HcParties that should be included in the author section of the message |
String |
getEnduserHcpType()
Deprecated. |
int |
getMaxRows()
won't always return correct value ( 0 instead of null ) in new implementations. |
| Field Detail |
|---|
static final int MAXROWS_DEFAULT
@Deprecated static final String PROP_HCP_TYPE
static final String MAXROWS_PROPERTY_KEY
| Method Detail |
|---|
@Deprecated
PutTherapeuticLinkRequest createPutTherapeuticLinkRequest(Patient patient,
HcParty concernedHealthCareProfessionel,
Date endDate,
String therLinkType,
String comment,
Proof... proofs)
throws TechnicalConnectorException,
TherLinkBusinessConnectorException,
InstantiationException
PutTherapeuticLinkRequest
patient - the patient concerned by the therapeutic linktherLinkType - the type of the therapeutic linkendDate - (optional) the end date of the therapeutic linkcomment - (optional) a comment about the therapeutic linkconcernedHealthCareProfessionel - (optional, default person in current session) the professional concerned by the therapeutic
linkproofs - (optional and possible empty) list of proofs
TechnicalConnectorException - if an error occured while creating the request
TherLinkBusinessConnectorException - if a required parameter is not provided, or if the request is not valid
InstantiationException
PutTherapeuticLinkRequest createPutTherapeuticLinkRequest(org.joda.time.DateTime endDate,
Patient patient,
HcParty concernedHealthCareProfessionel,
String therLinkType,
String comment,
Proof... proofs)
throws TechnicalConnectorException,
TherLinkBusinessConnectorException,
InstantiationException
PutTherapeuticLinkRequest
patient - the patient concerned by the therapeutic linktherLinkType - the type of the therapeutic linkendDate - (optional) the end date of the therapeutic linkcomment - (optional) a comment about the therapeutic linkconcernedHealthCareProfessionel - (optional, default person in current session) the professional concerned by the therapeutic
linkproofs - (optional and possible empty) list of proofs
TechnicalConnectorException - if an error occured while creating the request
TherLinkBusinessConnectorException - if a required parameter is not provided, or if the request is not valid
InstantiationException
@Deprecated
RevokeTherapeuticLinkRequest createRevokeTherapeuticLinkRequest(Patient patient,
HcParty hcp,
Date startDate,
Date endDate,
String therLinkType,
String commentAboutRevokal,
Proof... proofs)
throws TechnicalConnectorException,
TherLinkBusinessConnectorException,
InstantiationException
patient - the patient concerned by the therapeutic linktherLinkType - the type of the therapeutic linkhcp - the professional concerned by the therapeutic linkendDate - (optional) the end date of the therapeutic linkcommentAboutRevokal - (optional) a comment about the revokalproofs - (optional and possible empty) a list of proofs
TechnicalConnectorException - if an error occured while creating the request
TherLinkBusinessConnectorException - if a required parameter is not provided, or if the request is not valid
InstantiationException
RevokeTherapeuticLinkRequest createRevokeTherapeuticLinkRequest(org.joda.time.DateTime startDate,
org.joda.time.DateTime endDate,
Patient patient,
HcParty hcp,
String therLinkType,
String commentAboutRevokal,
Proof... proofs)
throws TechnicalConnectorException,
TherLinkBusinessConnectorException,
InstantiationException
patient - the patient concerned by the therapeutic linktherLinkType - the type of the therapeutic linkhcp - the professional concerned by the therapeutic linkendDate - (optional) the end date of the therapeutic linkcommentAboutRevokal - (optional) a comment about the revokalproofs - (optional and possible empty) a list of proofs
TechnicalConnectorException - if an error occured while creating the request
TherLinkBusinessConnectorException - if a required parameter is not provided, or if the request is not valid
InstantiationException
HasTherapeuticLinkRequest createHasTherapeuticLinkRequest(TherapeuticLink query)
throws TechnicalConnectorException,
TherLinkBusinessConnectorException,
InstantiationException
query - the therapeutic link to retrieveprooves - a list of proofs (optional and may be empty)
TechnicalConnectorException - if an error occured while creating the request
TherLinkBusinessConnectorException - if a required parameter is not provided, or if the request is not valid
InstantiationException
GetTherapeuticLinkRequest createGetTherapeuticLinkRequest(TherapeuticLink query,
int maxRows,
Proof... prooves)
throws TechnicalConnectorException,
TherLinkBusinessConnectorException,
InstantiationException
maxRows - should be smaller than 1000query - the therapeutic link to retrieveprooves - a list of proofs (optional and may be empty)
TechnicalConnectorException - if an error occured while creating the request
TherLinkBusinessConnectorException - if a required parameter is not provided, or if the request is not valid
InstantiationException
GetTherapeuticLinkRequest createGetTherapeuticLinkRequest(TherapeuticLink query,
Proof... prooves)
throws TechnicalConnectorException,
TherLinkBusinessConnectorException,
InstantiationException
query - the therapeutic link to retrieveprooves - a list of proofs (optional and may be empty)
TechnicalConnectorException - if an error occured while creating the request
TherLinkBusinessConnectorException - if a required parameter is not provided, or if the request is not valid
InstantiationException
List<HcParty> getAuthorHcParties()
throws TechnicalConnectorException,
TherLinkBusinessConnectorException,
InstantiationException
TechnicalConnectorException
TherLinkBusinessConnectorException
InstantiationException@Deprecated String getEnduserHcpType()
RevokeTherapeuticLinkRequest createRevokeTherapeuticLinkRequest(TherapeuticLink therLink)
throws TechnicalConnectorException,
TherLinkBusinessConnectorException,
InstantiationException
TechnicalConnectorException
TherLinkBusinessConnectorException
InstantiationException
RevokeTherapeuticLinkRequest createRevokeTherapeuticLinkRequestWithProof(TherapeuticLink link,
Proof... proofs)
throws TechnicalConnectorException,
TherLinkBusinessConnectorException,
InstantiationException
TechnicalConnectorException
TherLinkBusinessConnectorException
InstantiationExceptionint getMaxRows()
PutTherapeuticLinkRequest createPutTherapeuticLinkRequest(Patient patient,
HcParty hcp,
String therLinkType,
Proof proof)
throws TechnicalConnectorException,
TherLinkBusinessConnectorException,
InstantiationException
TechnicalConnectorException
TherLinkBusinessConnectorException
InstantiationException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||