c

server.routes

AdministratorRoutes

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.

Linear Supertypes
AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. AdministratorRoutes
  2. AnyRef
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new AdministratorRoutes(administratorController: ActorRef[CQRSAction])(implicit system: ActorSystem[_])

    administratorController

    administrator controller

    system

    represent the actor system

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  4. val administratorRoutes: Route
  5. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  6. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native() @HotSpotIntrinsicCandidate()
  7. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  8. def equals(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  9. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  10. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  11. 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

  12. 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

  13. 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

  14. 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

  15. 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

  16. 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

  17. 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

  18. 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

  19. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  20. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  21. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  22. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  23. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  24. implicit val system: ActorSystem[_]
  25. def toString(): String
    Definition Classes
    AnyRef → Any
  26. 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

  27. 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

  28. 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

  29. 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

  30. 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

  31. 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

  32. 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

  33. 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

  34. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  35. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native()
  36. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Deprecated Value Members

  1. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] ) @Deprecated
    Deprecated

Inherited from AnyRef

Inherited from Any

Ungrouped