class AdministratorRoutes extends AnyRef
This class contains the implementation of all the routes that the administrator can call up to insert or update elements in the db.
- Alphabetic
- By Inheritance
- AdministratorRoutes
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Instance Constructors
-
new
AdministratorRoutes(administratorController: ActorRef[CQRSAction])(implicit system: ActorSystem[_])
- administratorController
administrator controller
- system
represent the actor system
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
- val administratorRoutes: Route
-
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()
-
def
insertAnesthetist(anesthetist: Anesthetist): Future[Confirmation]
Method to insert an anesthetist in the db
Method to insert an anesthetist in the db
- anesthetist
anesthetist to insert
- returns
confirmation
-
def
insertCardiologist(cardiologist: Cardiologist): Future[Confirmation]
Method to insert a cardiologist in the db
Method to insert a cardiologist in the db
- cardiologist
cardiologist to insert
- returns
confirmation
-
def
insertGeneralPractitioner(generalPractitioner: GeneralPractitioner): Future[Confirmation]
Method to insert a general practitioner in the db
Method to insert a general practitioner in the db
- generalPractitioner
general practitioner to insert
- returns
confirmation
-
def
insertInstrumentalist(instrumentalist: Instrumentalist): Future[Confirmation]
Method to insert an instrumentalist in the db
Method to insert an instrumentalist in the db
- instrumentalist
instrumentalist to insert
- returns
confirmation
-
def
insertPatient(patient: Patient): Future[Confirmation]
Method to insert a patient in the db
Method to insert a patient in the db
- patient
patient to insert
- returns
confirmation
-
def
insertRescuer(rescuer: Rescuer): Future[Confirmation]
Method to insert a rescuer in the db
Method to insert a rescuer in the db
- rescuer
rescuer to insert
- returns
confirmation
-
def
insertSurgeon(surgeon: Surgeon): Future[Confirmation]
Method to insert a surgeon in the db
Method to insert a surgeon in the db
- surgeon
surgeon to insert
- returns
confirmation
-
def
insertWardNurse(wardNurse: WardNurse): Future[Confirmation]
Method to insert a ward nurse in the db
Method to insert a ward nurse in the db
- wardNurse
ward nurse to insert
- returns
confirmation
-
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
- implicit val system: ActorSystem[_]
-
def
toString(): String
- Definition Classes
- AnyRef → Any
-
def
updateAnesthetist(id: String, anesthetist: Anesthetist): Future[Confirmation]
Method to update an existing anesthetist in the db
Method to update an existing anesthetist in the db
- id
anesthetist's id
- anesthetist
anesthetist updated
- returns
confirmation
-
def
updateCardiologist(id: String, cardiologist: Cardiologist): Future[Confirmation]
Method to update an existing cardiologist in the db
Method to update an existing cardiologist in the db
- id
cardiologist's id
- cardiologist
cardiologist updated
- returns
confirmation
-
def
updateGeneralPractitioner(id: String, generalPractitioner: GeneralPractitioner): Future[Confirmation]
Method to update an existing general practitioner in the db
Method to update an existing general practitioner in the db
- id
general practitioner's id
- generalPractitioner
general practitioner updated
- returns
confirmation
-
def
updateInstrumentalist(id: String, instrumentalist: Instrumentalist): Future[Confirmation]
Method to update an existing instrumentalist in the db
Method to update an existing instrumentalist in the db
- id
instrumentalist's id
- instrumentalist
instrumentalist updated
- returns
confirmation
-
def
updatePatient(id: String, patient: Patient): Future[Confirmation]
Method to update an existing patient in the db
Method to update an existing patient in the db
- id
patient's id
- patient
patient updated
- returns
confirmation
-
def
updateRescuer(id: String, rescuer: Rescuer): Future[Confirmation]
Method to update an existing rescuer in the db
Method to update an existing rescuer in the db
- id
rescuer's id
- rescuer
rescuer updated
- returns
confirmation
-
def
updateSurgeon(id: String, surgeon: Surgeon): Future[Confirmation]
Method to update an existing surgeon in the db
Method to update an existing surgeon in the db
- id
surgeon's id
- surgeon
surgeon updated
- returns
confirmation
-
def
updateWardNurse(id: String, wardNurse: WardNurse): Future[Confirmation]
Method to update an existing ward nurse in the db
Method to update an existing ward nurse in the db
- id
ward nurse's id
- wardNurse
ward nurse updated
- returns
confirmation
-
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