Class AbstractExecutorIntegrationModuleV4
- java.lang.Object
-
- be.business.connector.common.module.AbstractIntegrationModule
-
- be.business.connector.recipe.executor.AbstractExecutorIntegrationModule
-
- be.business.connector.recipe.executor.AbstractExecutorIntegrationModuleV4
-
- All Implemented Interfaces:
ExecutorIntegrationModuleV4,be.recipe.api.executor.ListMandatesByMandateHolder.Command<be.recipe.api.executor.ListMandatesByMandateHolder,be.recipe.api.executor.ListMandatesByMandateHolder.Response>
- Direct Known Subclasses:
ExecutorIntegrationModuleDevV4Impl,ExecutorIntegrationModuleV4Impl,HospitalExecutorIntegrationModuleDevV4Impl,HospitalExecutorIntegrationModuleV4Impl
public abstract class AbstractExecutorIntegrationModuleV4 extends AbstractExecutorIntegrationModule implements ExecutorIntegrationModuleV4
The Class AbstractExecutorIntegrationModuleV4.- Author:
- Bruno Casneuf
-
-
Field Summary
Fields Modifier and Type Field Description protected static Map<org.apache.commons.collections.keyvalue.MultiKey,byte[]>sessionMap-
Fields inherited from class be.business.connector.common.module.AbstractIntegrationModule
dataUnsealer, EHEALTH_SUCCESS_CODE_100, EHEALTH_SUCCESS_CODE_200, EHEALTH_SUCCESS_CODE_300, EHEALTH_SUCCESS_CODE_400, EHEALTH_SUCCESS_CODE_500
-
-
Constructor Summary
Constructors Constructor Description AbstractExecutorIntegrationModuleV4()Instantiates a new abstract executor integration module V 4.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description GetOpenPrescriptionForExecutordecryptGetOpenPrescriptionForExecutor(GetOpenPrescriptionForExecutor gopfe)Decrypts aGetOpenPrescriptionForExecutor.ListOpenPrescriptionsResultdecryptListOpenPrescriptionsResult(ListOpenPrescriptionsResult listOpenPrescriptionsResult)Decrypts aListOpenPrescriptionsResult.ListOpenPrescriptionsResultWithExceptionsdecryptListOpenPrescriptionsResultWithExceptions(ListOpenPrescriptionsResult listOpenPrescriptionsResult)ListReservationsResultdecryptListReservationsResult(ListReservationsResult listReservationsResult)Decrypts aListReservationsResult.ListReservationsResultWithExceptionsdecryptListReservationsResultWithExceptions(ListReservationsResult listReservationsResult)java8.util.stream.Stream<be.recipe.api.executor.ListMandatesByMandateHolder.Response>listMandates(be.recipe.api.executor.ListMandatesByMandateHolder request)-
Methods inherited from class be.business.connector.recipe.executor.AbstractExecutorIntegrationModule
checkResponseStatus, checkStatus, checkStatus, createGetPrescriptionForExecutorResult, createIdentifierType, createListNotificationItems, getKmehrHelper, getPrescriptionCache, getSealedCreateFeedbackParam, getSealedData, getSealedGetPrescriptionForExecutorParam, getSealedGetPrescriptionForExecutorParam, getSealedListNotificationsParam, getSealedMarkAsArchivedParam, getSealedMarkAsDeliveredParam, getSealedMarkAsUnDeliveredParam, getSealedRevokePrescriptionParam, readLastDateToDisk, sealForRecipe, writeLastDateToDisk, writeReservationsOnDisk
-
Methods inherited from class be.business.connector.common.module.AbstractIntegrationModule
buildDefaultPage, extractExpirationDateFromKmehr, extractReferenceSourceVersionFromKmehr, getArchivedFilePath, getArchivedPrescription, getCurrentXMLGregorianCalendar, getEncryptionUtils, getEtkHelper, getId, getJaxContextCentralizer, getKeyFromKgss, getKeyFromKgss, getOldDataSealer, getOldDataUnsealer, getPropertyHandler, getSymmKey, init, initEncryption, sealRequest, setDataUnsealer, setOldDataSealer, setOldDataUnsealer, unsealForUnknown, unsealNotif, unsealNotiffeed, unsealNotifOld, unsealPrescriptionForUnknown, unsealRequest, unsealWithSymKey, unsealWithSymKey
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface be.business.connector.recipe.executor.ExecutorIntegrationModuleV4
clearSession, createFeedback, createFeedback, getAndMarkAsDelivered, getAndMarkAsDelivered, getAndMarkAsDelivered, getData, getData, getData, getData, getData, getData, getPrescription, getPrescription, getPrescription, getPrescription, listNotifications, listNotifications, listOpenPrescriptionsDecrypted, listOpenPrescriptionsWithExceptionsDecrypted, listReservationsDecrypted, listReservationsDecryptedWithExceptions, markAsArchived, markAsArchived, markAsDelivered, markAsDelivered, markAsUndelivered, markAsUndelivered, putData, revokePrescription, revokePrescription
-
-
-
-
Field Detail
-
sessionMap
protected static Map<org.apache.commons.collections.keyvalue.MultiKey,byte[]> sessionMap
-
-
Method Detail
-
decryptGetOpenPrescriptionForExecutor
public GetOpenPrescriptionForExecutor decryptGetOpenPrescriptionForExecutor(GetOpenPrescriptionForExecutor gopfe)
Decrypts aGetOpenPrescriptionForExecutor.- Specified by:
decryptGetOpenPrescriptionForExecutorin interfaceExecutorIntegrationModuleV4- Parameters:
gopfe- a theGetOpenPrescriptionForExecutor- Returns:
- a
GetOpenPrescriptionForExecutor
-
decryptListOpenPrescriptionsResult
public ListOpenPrescriptionsResult decryptListOpenPrescriptionsResult(ListOpenPrescriptionsResult listOpenPrescriptionsResult)
Decrypts aListOpenPrescriptionsResult.- Specified by:
decryptListOpenPrescriptionsResultin interfaceExecutorIntegrationModuleV4- Parameters:
listOpenPrescriptionsResult- the encryptedListOpenPrescriptionsResult- Returns:
- the decrypted
ListOpenPrescriptionsResult
-
decryptListOpenPrescriptionsResultWithExceptions
public ListOpenPrescriptionsResultWithExceptions decryptListOpenPrescriptionsResultWithExceptions(ListOpenPrescriptionsResult listOpenPrescriptionsResult)
- Specified by:
decryptListOpenPrescriptionsResultWithExceptionsin interfaceExecutorIntegrationModuleV4
-
decryptListReservationsResult
public ListReservationsResult decryptListReservationsResult(ListReservationsResult listReservationsResult)
Decrypts aListReservationsResult.- Specified by:
decryptListReservationsResultin interfaceExecutorIntegrationModuleV4- Parameters:
listReservationsResult- the encryptedListReservationsResult- Returns:
- the decrypted
ListReservationsResult
-
decryptListReservationsResultWithExceptions
public ListReservationsResultWithExceptions decryptListReservationsResultWithExceptions(ListReservationsResult listReservationsResult)
- Specified by:
decryptListReservationsResultWithExceptionsin interfaceExecutorIntegrationModuleV4
-
listMandates
public java8.util.stream.Stream<be.recipe.api.executor.ListMandatesByMandateHolder.Response> listMandates(be.recipe.api.executor.ListMandatesByMandateHolder request)
- Specified by:
listMandatesin interfacebe.recipe.api.executor.ListMandatesByMandateHolder.Command<be.recipe.api.executor.ListMandatesByMandateHolder,be.recipe.api.executor.ListMandatesByMandateHolder.Response>
-
-