Class RecipeExecutorClient

  • All Implemented Interfaces:
    be.recipe.api.executor.AcceptReservation.Command<be.recipe.api.executor.AcceptReservation>, be.recipe.api.executor.AcceptReservationCancellationRequest.Command<be.recipe.api.executor.AcceptReservationCancellationRequest>, be.recipe.api.executor.ArchivePrescription.Command<be.recipe.api.executor.ArchivePrescription>, be.recipe.api.executor.FulfillReservation.Command<be.recipe.api.executor.FulfillReservation>, be.recipe.api.executor.GetPrescription.Command<be.recipe.api.executor.GetPrescription,​be.recipe.api.Prescription.Encrypted>, be.recipe.api.executor.GetPrescriptionAndPutInProcess.Command<be.recipe.api.executor.GetPrescriptionAndPutInProcess,​be.recipe.api.Prescription.Encrypted>, be.recipe.api.executor.GetPrescriptionStatus.Command<be.recipe.api.executor.GetPrescriptionStatus,​be.recipe.api.GetPrescriptionStatusResponse>, be.recipe.api.executor.GetProfile.Command<be.recipe.api.executor.GetProfile,​be.recipe.api.executor.GetProfile.Response>, be.recipe.api.executor.ListMandatesByMandateHolder.Command<be.recipe.api.executor.ListMandatesByMandateHolder,​be.recipe.api.executor.ListMandatesByMandateHolder.Response>, be.recipe.api.executor.ListPrescriptions.Command<be.recipe.api.executor.ListPrescriptions,​be.recipe.api.executor.ListPrescriptions.Response.Encrypted>, be.recipe.api.executor.ListReservations<be.recipe.api.executor.ListReservations.Request>, be.recipe.api.executor.MandateService<be.recipe.api.executor.ListMandatesByMandateHolder,​be.recipe.api.executor.ListMandatesByMandateHolder.Response>, be.recipe.api.executor.MandateService.Simplified, be.recipe.api.executor.PrescriptionService<be.recipe.api.Prescription.Encrypted,​be.recipe.api.executor.GetPrescription,​be.recipe.api.executor.GetPrescriptionAndPutInProcess,​be.recipe.api.executor.ListPrescriptions,​be.recipe.api.executor.ListPrescriptions.Response.Encrypted,​be.recipe.api.executor.UpdateProfile,​be.recipe.api.executor.GetProfile,​be.recipe.api.executor.GetProfile.Response,​be.recipe.api.executor.ArchivePrescription,​be.recipe.api.executor.GetPrescriptionStatus,​be.recipe.api.GetPrescriptionStatusResponse>, be.recipe.api.executor.PrescriptionService.Simplified, be.recipe.api.executor.RejectReservation.Command<be.recipe.api.executor.RejectReservation>, be.recipe.api.executor.UpdateProfile.Command<be.recipe.api.executor.UpdateProfile>, be.recipe.api.reservation.executor.ReservationService<be.recipe.api.executor.ListReservations.Request,​be.recipe.api.executor.AcceptReservation,​be.recipe.api.executor.RejectReservation,​be.recipe.api.executor.AcceptReservationCancellationRequest,​be.recipe.api.executor.FulfillReservation>, be.recipe.api.reservation.executor.ReservationService.Simplified

    public class RecipeExecutorClient
    extends AbstractRecipeClient
    implements be.recipe.api.executor.PrescriptionService.Simplified, be.recipe.api.reservation.executor.ReservationService.Simplified, be.recipe.api.executor.MandateService.Simplified
    • Nested Class Summary

      • Nested classes/interfaces inherited from interface be.recipe.api.executor.ListReservations

        be.recipe.api.executor.ListReservations.Request, be.recipe.api.executor.ListReservations.Response
      • Nested classes/interfaces inherited from interface be.recipe.api.executor.MandateService

        be.recipe.api.executor.MandateService.Simplified
      • Nested classes/interfaces inherited from interface be.recipe.api.executor.PrescriptionService

        be.recipe.api.executor.PrescriptionService.Ciphering<ListPrescriptions extends be.recipe.api.executor.ListPrescriptions,​GetPrescription extends be.recipe.api.executor.GetPrescription,​GetPrescriptionAndPutInProcess extends be.recipe.api.executor.GetPrescriptionAndPutInProcess,​UpdateProfile extends be.recipe.api.executor.UpdateProfile,​GetProfile extends be.recipe.api.executor.GetProfile,​GetProfileResponse extends be.recipe.api.executor.GetProfile.Response,​ArchivePrescription extends be.recipe.api.executor.ArchivePrescription>, be.recipe.api.executor.PrescriptionService.Simplified
      • Nested classes/interfaces inherited from interface be.recipe.api.reservation.executor.ReservationService

        be.recipe.api.reservation.executor.ReservationService.Simplified
    • Field Detail

      • sessionMap

        public Map<org.apache.commons.collections.keyvalue.MultiKey,​byte[]> sessionMap
    • Method Detail

      • getAndPutInProcess

        public be.recipe.api.Prescription.Encrypted getAndPutInProcess​(be.recipe.api.executor.GetPrescriptionAndPutInProcess request)
        Specified by:
        getAndPutInProcess in interface be.recipe.api.executor.GetPrescriptionAndPutInProcess.Command<be.recipe.api.executor.GetPrescriptionAndPutInProcess,​be.recipe.api.Prescription.Encrypted>
      • get

        public be.recipe.api.Prescription.Encrypted get​(be.recipe.api.executor.GetPrescription request)
        Specified by:
        get in interface be.recipe.api.executor.GetPrescription.Command<be.recipe.api.executor.GetPrescription,​be.recipe.api.Prescription.Encrypted>
      • list

        public be.recipe.api.series.PartialResult<be.recipe.api.executor.ListPrescriptions.Response.Encrypted> list​(be.recipe.api.executor.ListPrescriptions request)
        Specified by:
        list in interface be.recipe.api.executor.ListPrescriptions.Command<be.recipe.api.executor.ListPrescriptions,​be.recipe.api.executor.ListPrescriptions.Response.Encrypted>
      • list

        public be.recipe.api.series.PartialResult<be.recipe.api.executor.ListReservations.Response> list​(be.recipe.api.executor.ListReservations.Request request)
        Specified by:
        list in interface be.recipe.api.executor.ListReservations<be.recipe.api.executor.ListReservations.Request>
      • list

        public be.recipe.api.series.PartialResult<be.recipe.api.executor.ListPrescriptions.Response.Encrypted> list​(ListOpenPrescriptionsParam params)
      • list

        public be.recipe.api.series.PartialResult<be.recipe.api.executor.ListReservations.Response> list​(ListReservationsParam params)
      • update

        public void update​(be.recipe.api.executor.AcceptReservation request)
        Specified by:
        update in interface be.recipe.api.executor.AcceptReservation.Command<be.recipe.api.executor.AcceptReservation>
      • update

        public void update​(be.recipe.api.executor.RejectReservation request)
        Specified by:
        update in interface be.recipe.api.executor.RejectReservation.Command<be.recipe.api.executor.RejectReservation>
      • update

        public void update​(be.recipe.api.executor.AcceptReservationCancellationRequest request)
        Specified by:
        update in interface be.recipe.api.executor.AcceptReservationCancellationRequest.Command<be.recipe.api.executor.AcceptReservationCancellationRequest>
      • update

        public void update​(be.recipe.api.executor.FulfillReservation request)
        Specified by:
        update in interface be.recipe.api.executor.FulfillReservation.Command<be.recipe.api.executor.FulfillReservation>
      • updateProfile

        public void updateProfile​(be.recipe.api.executor.UpdateProfile request)
        Specified by:
        updateProfile in interface be.recipe.api.executor.UpdateProfile.Command<be.recipe.api.executor.UpdateProfile>
      • getProfile

        public be.recipe.api.executor.GetProfile.Response getProfile​(be.recipe.api.executor.GetProfile request)
        Specified by:
        getProfile in interface be.recipe.api.executor.GetProfile.Command<be.recipe.api.executor.GetProfile,​be.recipe.api.executor.GetProfile.Response>
      • update

        public void update​(be.recipe.api.executor.ArchivePrescription request)
        Specified by:
        update in interface be.recipe.api.executor.ArchivePrescription.Command<be.recipe.api.executor.ArchivePrescription>
      • listMandates

        public java8.util.stream.Stream<be.recipe.api.executor.ListMandatesByMandateHolder.Response> listMandates​(be.recipe.api.executor.ListMandatesByMandateHolder request)
        Specified by:
        listMandates in interface be.recipe.api.executor.ListMandatesByMandateHolder.Command<be.recipe.api.executor.ListMandatesByMandateHolder,​be.recipe.api.executor.ListMandatesByMandateHolder.Response>
      • toSessionKey

        public static org.apache.commons.collections.keyvalue.MultiKey toSessionKey​(be.recipe.api.executor.ListMandatesByMandateHolder from)
      • get

        public be.recipe.api.GetPrescriptionStatusResponse get​(be.recipe.api.executor.GetPrescriptionStatus request)
        Specified by:
        get in interface be.recipe.api.executor.GetPrescriptionStatus.Command<be.recipe.api.executor.GetPrescriptionStatus,​be.recipe.api.GetPrescriptionStatusResponse>