object Protocol
This object contains all query and all commands that can be executed.
Linear Supertypes
Ordering
- Alphabetic
- By Inheritance
Inherited
- Protocol
- AnyRef
- Any
- Hide All
- Show All
Visibility
- Public
- All
Type Members
- final case class Accepted(description: String) extends Confirmation with Product with Serializable
-
sealed
trait
CQRSAction extends AnyRef
Basilar actions.
- sealed trait Command extends CQRSAction
- sealed trait Confirmation extends AnyRef
- sealed trait Event extends AnyRef
- final case class GetAllMedicalRecordsForDoctor(doctorID: DoctorID, replyTo: ActorRef[Set[MedicalRecord]]) extends Query with Product with Serializable
- final case class GetAllergies(replyTo: ActorRef[Set[AllergyClass]]) extends Query with Product with Serializable
- final case class GetAnesthetist(id: String, replyTo: ActorRef[Option[Anesthetist]]) extends Query with Product with Serializable
- final case class GetAnesthetists(replyTo: ActorRef[Set[Anesthetist]]) extends Query with Product with Serializable
- final case class GetBloodTypes(replyTo: ActorRef[Set[BloodType]]) extends Query with Product with Serializable
- final case class GetCardiologist(id: String, replyTo: ActorRef[Option[Patient]]) extends Command with Product with Serializable
- final case class GetCardiologyPredictions(id: DoctorID, replyTo: ActorRef[Seq[CardiologyPrediction]]) extends Query with Product with Serializable
- final case class GetCardiologyVisits(id: DoctorID, replyTo: ActorRef[Set[CardiologyVisit]]) extends Query with Product with Serializable
- final case class GetChestPainTypes(replyTo: ActorRef[Set[ChestPainType]]) extends Query with Product with Serializable
- final case class GetGenders(replyTo: ActorRef[Set[Gender]]) extends Query with Product with Serializable
- final case class GetGeneralPractitioner(id: String, replyTo: ActorRef[Option[GeneralPractitioner]]) extends Query with Product with Serializable
- final case class GetGeneralPractitionerInfo(id: DoctorID, replyTo: ActorRef[Set[GeneralPractitionerInfo]]) extends Query with Product with Serializable
- final case class GetGeneralPractitioners(replyTo: ActorRef[Set[GeneralPractitioner]]) extends Query with Product with Serializable
- final case class GetInstrumentalist(id: String, replyTo: ActorRef[Option[Instrumentalist]]) extends Query with Product with Serializable
- final case class GetInstrumentalists(replyTo: ActorRef[Set[Instrumentalist]]) extends Query with Product with Serializable
- final case class GetKinshipDegrees(replyTo: ActorRef[Set[KinshipDegree]]) extends Query with Product with Serializable
- final case class GetPatient(id: String, replyTo: ActorRef[Option[Patient]]) extends Query with Product with Serializable
- final case class GetRescuer(id: String, replyTo: ActorRef[Option[Rescuer]]) extends Query with Product with Serializable
- final case class GetRescuers(replyTo: ActorRef[Set[Rescuer]]) extends Query with Product with Serializable
- final case class GetRestingECG(replyTo: ActorRef[Set[RestingElectrocardiographic]]) extends Query with Product with Serializable
- final case class GetRh(replyTo: ActorRef[Set[Rh]]) extends Query with Product with Serializable
- final case class GetRoles(replyTo: ActorRef[Set[Role]]) extends Query with Product with Serializable
- final case class GetSlopeST(replyTo: ActorRef[Set[SlopeST]]) extends Query with Product with Serializable
- final case class GetSpecializations(replyTo: ActorRef[Set[Specialization]]) extends Query with Product with Serializable
- final case class GetSurgeon(id: String, replyTo: ActorRef[Option[Surgeon]]) extends Query with Product with Serializable
- final case class GetSurgeons(replyTo: ActorRef[Set[Surgeon]]) extends Query with Product with Serializable
- final case class GetThals(replyTo: ActorRef[Set[Thal]]) extends Query with Product with Serializable
- final case class GetWardNurse(id: String, replyTo: ActorRef[Option[WardNurse]]) extends Query with Product with Serializable
- final case class GetWardNurses(replyTo: ActorRef[Set[WardNurse]]) extends Query with Product with Serializable
- final case class InsertAnesthetist(anesthetist: Anesthetist, replyTo: ActorRef[Confirmation]) extends Command with Product with Serializable
- final case class InsertCardiologist(cardiologist: Cardiologist, replyTo: ActorRef[Confirmation]) extends Command with Product with Serializable
- final case class InsertCardiologyVisit(cardiologyVisit: CardiologyVisit, replyTo: ActorRef[Confirmation]) extends Command with Product with Serializable
- final case class InsertDrugAdministered(medicalRecordID: MedicalRecordsID, drugAdministered: DrugsAdministered, replyTo: ActorRef[Confirmation]) extends Command with Product with Serializable
- final case class InsertGeneralInfo(generalInfo: GeneralInfo, replyTo: ActorRef[Confirmation]) extends Command with Product with Serializable
- final case class InsertGeneralPractitioner(generalPractitioner: GeneralPractitioner, replyTo: ActorRef[Confirmation]) extends Command with Product with Serializable
- final case class InsertGeneralPractitionerInfo(generalPractitionerInfo: GeneralPractitionerInfo, replyTo: ActorRef[Confirmation]) extends Command with Product with Serializable
- final case class InsertInstrumentalist(instrumentalist: Instrumentalist, replyTo: ActorRef[Confirmation]) extends Command with Product with Serializable
- final case class InsertMedicalRecord(medicalRecord: MedicalRecord, replyTo: ActorRef[Confirmation]) extends Command with Product with Serializable
- final case class InsertPatient(patient: Patient, replyTo: ActorRef[Confirmation]) extends Command with Product with Serializable
- final case class InsertRescuer(rescuer: Rescuer, replyTo: ActorRef[Confirmation]) extends Command with Product with Serializable
- final case class InsertSurgeon(surgeon: Surgeon, replyTo: ActorRef[Confirmation]) extends Command with Product with Serializable
- final case class InsertVisit(patientId: String, visit: Visit, replyTo: ActorRef[Confirmation]) extends Command with Product with Serializable
- final case class InsertWardNurse(wardNurse: WardNurse, replyTo: ActorRef[Confirmation]) extends Command with Product with Serializable
- final case class Login(user: User, replyTo: ActorRef[Confirmation]) extends Command with Product with Serializable
- final case class LoginAccepted(role: Role, description: String, token: String) extends Confirmation with Product with Serializable
- final case class Logout(token: String, replyTo: ActorRef[Confirmation]) extends Command with Product with Serializable
- sealed trait Query extends CQRSAction
- final case class Rejected(reason: String) extends Confirmation with Product with Serializable
- final case class RemoveSurgeon(surgeon: Surgeon, replyTo: ActorRef[Confirmation]) extends Command with Product with Serializable
- final case class SurgeonAdded(surgeon: Surgeon) extends Event with Product with Serializable
- final case class SurgeonRemoved(surgeon: Surgeon) extends Event with Product with Serializable
- final case class SurgeonUpdated(id: DoctorID, surgeon: Surgeon) extends Event with Product with Serializable
- final case class UpdateAnesthetist(id: String, anesthetist: Anesthetist, replyTo: ActorRef[Confirmation]) extends Command with Product with Serializable
- final case class UpdateCardiologist(id: String, cardiologist: Cardiologist, replyTo: ActorRef[Confirmation]) extends Command with Product with Serializable
- final case class UpdateCardiologyPredictions(id: DoctorID, replyTo: ActorRef[Confirmation]) extends Command with Product with Serializable
- final case class UpdateClinicalDiary(medicalRecordID: MedicalRecordsID, clinicalDiary: ClinicalDiary, replyTo: ActorRef[Confirmation]) extends Command with Product with Serializable
- final case class UpdateDrugAdministered(medicalRecordID: MedicalRecordsID, drugsAdministered: DrugsAdministered, replyTo: ActorRef[Confirmation]) extends Command with Product with Serializable
- final case class UpdateGeneralInfo(patientID: PatientID, generalInfo: GeneralInfo, replyTo: ActorRef[Confirmation]) extends Command with Product with Serializable
- final case class UpdateGeneralPractitioner(id: String, generalPractitioner: GeneralPractitioner, replyTo: ActorRef[Confirmation]) extends Command with Product with Serializable
- final case class UpdateGeneralPractitionerInfo(patientID: PatientID, generalPractitionerInfo: GeneralPractitionerInfo, replyTo: ActorRef[Confirmation]) extends Command with Product with Serializable
- final case class UpdateInstrumentalist(id: String, instrumentalist: Instrumentalist, replyTo: ActorRef[Confirmation]) extends Command with Product with Serializable
- final case class UpdateMedicalRecord(medicalRecordID: MedicalRecordsID, medicalRecord: MedicalRecord, replyTo: ActorRef[Confirmation]) extends Command with Product with Serializable
- final case class UpdatePatient(id: String, patient: Patient, replyTo: ActorRef[Confirmation]) extends Command with Product with Serializable
- final case class UpdateRescuer(id: String, rescuer: Rescuer, replyTo: ActorRef[Confirmation]) extends Command with Product with Serializable
- final case class UpdateSurgeon(id: String, surgeon: Surgeon, replyTo: ActorRef[Confirmation]) extends Command with Product with Serializable
- final case class UpdateVisit(patientId: String, visit: Visit, replyTo: ActorRef[Confirmation]) extends Command with Product with Serializable
- final case class UpdateWardNurse(id: String, wardNurse: WardNurse, replyTo: ActorRef[Confirmation]) extends Command with Product with Serializable
Value Members
-
final
def
!=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
##(): Int
- Definition Classes
- AnyRef → Any
-
final
def
==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
def
clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native() @HotSpotIntrinsicCandidate()
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
equals(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @HotSpotIntrinsicCandidate()
-
def
hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @HotSpotIntrinsicCandidate()
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @HotSpotIntrinsicCandidate()
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @HotSpotIntrinsicCandidate()
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
def
toString(): String
- Definition Classes
- AnyRef → Any
-
final
def
wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()
-
final
def
wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
Deprecated Value Members
-
def
finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] ) @Deprecated
- Deprecated