|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectbe.ehealth.businessconnector.recipe.utils.RecipeCommonsUtil
@Deprecated public final class RecipeCommonsUtil
Utility class containing common service implementations (session & service packages) This class is supposed to be used in service implementations only
Method Summary | |
---|---|
static String |
createPrescription(BuilderFactory builders,
PrescriberService service,
boolean feedbackRequested,
long patientId,
byte[] prescription,
String prescriptionType)
Deprecated. Creates the prescription. |
static GetPrescriptionForPrescriberResult |
getPrescription(BuilderFactory builders,
PrescriberService service,
String rid)
Deprecated. Gets the prescription. |
static List<ListFeedbackItem> |
listFeedback(BuilderFactory builders,
PrescriberService service,
boolean readFlag)
Deprecated. List feedback. |
static List<String> |
listOpenPrescription(BuilderFactory builders,
PrescriberService service)
Deprecated. List open prescription. |
static void |
prepareCreatePrescription(long patientId,
String prescriptionType)
Deprecated. Prepare create prescription. |
static void |
revokePrescription(BuilderFactory builders,
PrescriberService service,
String rid,
String reason)
Deprecated. Revoke prescription. |
static void |
sendNotification(BuilderFactory builders,
PrescriberService service,
byte[] notificationText,
long patientId,
long executorId)
Deprecated. Send notification. |
static void |
updateFeedbackFlag(BuilderFactory builders,
PrescriberService service,
String rid,
boolean feedbackAllowed)
Deprecated. Update feedback flag. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public static void prepareCreatePrescription(long patientId, String prescriptionType) throws TechnicalConnectorException, SessionManagementException, RecipeBusinessConnectorException
patientId
- the patient idprescriptionType
- the prescription type
TechnicalConnectorException
SessionManagementException
RecipeBusinessConnectorException
public static String createPrescription(BuilderFactory builders, PrescriberService service, boolean feedbackRequested, long patientId, byte[] prescription, String prescriptionType) throws RecipeBusinessConnectorException, TechnicalConnectorException
builders
- the builder factoryservice
- the service which will create the prescriptionfeedbackRequested
- the feedback requestedpatientId
- the patient idprescription
- the prescriptionprescriptionType
- the prescription type
RecipeBusinessConnectorException
TechnicalConnectorException
public static void sendNotification(BuilderFactory builders, PrescriberService service, byte[] notificationText, long patientId, long executorId) throws TechnicalConnectorException, SessionManagementException
builders
- the builder factoryservice
- the service which will create the prescriptionnotificationText
- the notification textpatientId
- the patient idexecutorId
- the executor id
TechnicalConnectorException
SessionManagementException
public static void revokePrescription(BuilderFactory builders, PrescriberService service, String rid, String reason) throws RecipeBusinessConnectorException, TechnicalConnectorException
builders
- the builder factoryservice
- the service which will create the prescriptionrid
- the ridreason
- the reason for revoking the prescription
RecipeBusinessConnectorException
TechnicalConnectorException
public static GetPrescriptionForPrescriberResult getPrescription(BuilderFactory builders, PrescriberService service, String rid) throws TechnicalConnectorException, SessionManagementException
builders
- the builder factoryservice
- the service which will create the prescriptionrid
- the rid
TechnicalConnectorException
SessionManagementException
public static List<String> listOpenPrescription(BuilderFactory builders, PrescriberService service) throws TechnicalConnectorException, SessionManagementException
builders
- the builder factoryservice
- the service which will create the prescription
TechnicalConnectorException
SessionManagementException
public static void updateFeedbackFlag(BuilderFactory builders, PrescriberService service, String rid, boolean feedbackAllowed) throws TechnicalConnectorException, SessionManagementException
builders
- the builder factoryservice
- the service which will create the prescriptionrid
- the ridfeedbackAllowed
- the feedback allowed
TechnicalConnectorException
SessionManagementException
public static List<ListFeedbackItem> listFeedback(BuilderFactory builders, PrescriberService service, boolean readFlag) throws TechnicalConnectorException, SessionManagementException, RecipeBusinessConnectorException
builders
- the builder factoryservice
- the service which will create the prescriptionreadFlag
-
TechnicalConnectorException
SessionManagementException
RecipeBusinessConnectorException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |