Class RecipePrescriberClient
- java.lang.Object
-
- be.business.connector.recipe.AbstractRecipeClient
-
- be.business.connector.recipe.prescriber.RecipePrescriberClient
-
- All Implemented Interfaces:
be.recipe.api.prescriber.CreatePrescription.Command<be.recipe.api.Prescription.Encrypted.Specification,be.recipe.api.prescriber.CreatePrescription<be.recipe.api.Prescription.Encrypted.Specification>,be.recipe.api.Prescription.Encrypted>,be.recipe.api.prescriber.GetPrescription.Command<be.recipe.api.prescriber.GetPrescription,be.recipe.api.Prescription.Encrypted>,be.recipe.api.prescriber.GetPrescriptionStatus.Command<be.recipe.api.prescriber.GetPrescriptionStatus,be.recipe.api.GetPrescriptionStatusResponse>,be.recipe.api.prescriber.ListPrescriptions.Command<be.recipe.api.prescriber.ListPrescriptions,be.recipe.api.prescriber.ListPrescriptions.Response.Encrypted>,be.recipe.api.prescriber.PrescriptionService<be.recipe.api.Prescription.Encrypted,be.recipe.api.GetPrescriptionStatusResponse,be.recipe.api.prescriber.ListPrescriptions,be.recipe.api.prescriber.ListPrescriptions.Response.Encrypted,be.recipe.api.prescriber.GetPrescription,be.recipe.api.prescriber.GetPrescriptionStatus,be.recipe.api.Prescription.Encrypted.Specification,be.recipe.api.prescriber.CreatePrescription<be.recipe.api.Prescription.Encrypted.Specification>,be.recipe.api.prescriber.PutVisionOtherPrescribers,be.recipe.api.prescriber.RevokePrescription>,be.recipe.api.prescriber.PrescriptionService.Simplified,be.recipe.api.prescriber.PutVisionOtherPrescribers.Command<be.recipe.api.prescriber.PutVisionOtherPrescribers>,be.recipe.api.prescriber.RevokePrescription.Command<be.recipe.api.prescriber.RevokePrescription>
public class RecipePrescriberClient extends AbstractRecipeClient implements be.recipe.api.prescriber.PrescriptionService.Simplified
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classRecipePrescriberClient.PrescriptionWithGetResult-
Nested classes/interfaces inherited from interface be.recipe.api.prescriber.PrescriptionService
be.recipe.api.prescriber.PrescriptionService.Ciphering<ListPrescriptions extends be.recipe.api.prescriber.ListPrescriptions,GetPrescription extends be.recipe.api.prescriber.GetPrescription,CreatePrescription extends be.recipe.api.prescriber.CreatePrescription<be.recipe.api.Prescription.PlainText.Specification>>, be.recipe.api.prescriber.PrescriptionService.Simplified
-
-
Field Summary
-
Fields inherited from class be.business.connector.recipe.AbstractRecipeClient
address, captureTraceId, cipher, properties, responseKey, symmKey, systemKey, traceId
-
-
Constructor Summary
Constructors Constructor Description RecipePrescriberClient()RecipePrescriberClient(PropertyHandler properties)RecipePrescriberClient(be.recipe.api.crypto.Message.Cipher.Key.DB<be.recipe.api.Prescription.OnContent> keyRegistry, be.recipe.api.crypto.Message.Cipher cipher, PropertyHandler properties)RecipePrescriberClient(be.recipe.api.crypto.Message.Cipher.Key.DB<be.recipe.api.Prescription.OnContent> keyRegistry, be.recipe.api.crypto.Message.Cipher cipher, java8.util.function.Supplier<String> traceId)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description be.recipe.api.Prescription.Encryptedadd(be.recipe.api.prescriber.CreatePrescription<be.recipe.api.Prescription.Encrypted.Specification> request)be.recipe.api.Prescription.Encryptedget(be.recipe.api.prescriber.GetPrescription request)be.recipe.api.GetPrescriptionStatusResponseget(be.recipe.api.prescriber.GetPrescriptionStatus request)be.recipe.api.prescriber.ListPrescriptions.PartialResult<be.recipe.api.prescriber.ListPrescriptions.Response.Encrypted>list(be.recipe.api.prescriber.ListPrescriptions filters)be.recipe.api.prescriber.ListPrescriptions.PartialResult<be.recipe.api.prescriber.ListPrescriptions.Response.Encrypted>list(ListPrescriptionsParam params)static VisionOtherPrescriberstoJAXB(be.recipe.api.prescriber.VisionOtherPrescribers it)voidupdate(be.recipe.api.prescriber.PutVisionOtherPrescribers request)voidupdate(be.recipe.api.prescriber.RevokePrescription request)-
Methods inherited from class be.business.connector.recipe.AbstractRecipeClient
content, decrypt, encrypt, initEncryption, metadata, programId, programId, raise, refresh, rejected, toLocalDate, toLocalDateTime, toLowerCase, toName, toText, withExceptionHandling
-
-
-
-
Constructor Detail
-
RecipePrescriberClient
public RecipePrescriberClient() throws DatatypeConfigurationException- Throws:
DatatypeConfigurationException
-
RecipePrescriberClient
public RecipePrescriberClient(be.recipe.api.crypto.Message.Cipher.Key.DB<be.recipe.api.Prescription.OnContent> keyRegistry, be.recipe.api.crypto.Message.Cipher cipher, java8.util.function.Supplier<String> traceId) throws DatatypeConfigurationException- Throws:
DatatypeConfigurationException
-
RecipePrescriberClient
public RecipePrescriberClient(PropertyHandler properties) throws DatatypeConfigurationException
- Throws:
DatatypeConfigurationException
-
RecipePrescriberClient
public RecipePrescriberClient(be.recipe.api.crypto.Message.Cipher.Key.DB<be.recipe.api.Prescription.OnContent> keyRegistry, be.recipe.api.crypto.Message.Cipher cipher, PropertyHandler properties) throws DatatypeConfigurationException- Throws:
DatatypeConfigurationException
-
-
Method Detail
-
list
public be.recipe.api.prescriber.ListPrescriptions.PartialResult<be.recipe.api.prescriber.ListPrescriptions.Response.Encrypted> list(be.recipe.api.prescriber.ListPrescriptions filters)
- Specified by:
listin interfacebe.recipe.api.prescriber.ListPrescriptions.Command<be.recipe.api.prescriber.ListPrescriptions,be.recipe.api.prescriber.ListPrescriptions.Response.Encrypted>
-
list
public be.recipe.api.prescriber.ListPrescriptions.PartialResult<be.recipe.api.prescriber.ListPrescriptions.Response.Encrypted> list(ListPrescriptionsParam params)
-
get
public be.recipe.api.Prescription.Encrypted get(be.recipe.api.prescriber.GetPrescription request)
- Specified by:
getin interfacebe.recipe.api.prescriber.GetPrescription.Command<be.recipe.api.prescriber.GetPrescription,be.recipe.api.Prescription.Encrypted>
-
get
public be.recipe.api.GetPrescriptionStatusResponse get(be.recipe.api.prescriber.GetPrescriptionStatus request)
- Specified by:
getin interfacebe.recipe.api.prescriber.GetPrescriptionStatus.Command<be.recipe.api.prescriber.GetPrescriptionStatus,be.recipe.api.GetPrescriptionStatusResponse>
-
add
public be.recipe.api.Prescription.Encrypted add(be.recipe.api.prescriber.CreatePrescription<be.recipe.api.Prescription.Encrypted.Specification> request)
- Specified by:
addin interfacebe.recipe.api.prescriber.CreatePrescription.Command<be.recipe.api.Prescription.Encrypted.Specification,be.recipe.api.prescriber.CreatePrescription<be.recipe.api.Prescription.Encrypted.Specification>,be.recipe.api.Prescription.Encrypted>
-
toJAXB
public static VisionOtherPrescribers toJAXB(be.recipe.api.prescriber.VisionOtherPrescribers it)
-
update
public void update(be.recipe.api.prescriber.PutVisionOtherPrescribers request)
- Specified by:
updatein interfacebe.recipe.api.prescriber.PutVisionOtherPrescribers.Command<be.recipe.api.prescriber.PutVisionOtherPrescribers>
-
update
public void update(be.recipe.api.prescriber.RevokePrescription request)
- Specified by:
updatein interfacebe.recipe.api.prescriber.RevokePrescription.Command<be.recipe.api.prescriber.RevokePrescription>
-
-