Packages

class BookingStoreImpl extends BookingStore

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

Instance Constructors

  1. new BookingStoreImpl(storeStrategy: EntityListStoreStrategy[Booking])

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. def addBooking(booking: Booking): Boolean

    Adds a booking to the storeEntities.

    Adds a booking to the storeEntities.

    booking

    The booking to be added to the storeEntities.

    returns

    A boolean indicating the success or the failure of this operation.

    Definition Classes
    BookingStoreImplBookingStore
  5. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  6. def clone(): AnyRef
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  7. def deleteAllBookings(): Unit

    Clears the BookingStore.

    Clears the BookingStore.

    Definition Classes
    BookingStoreImplBookingStore
  8. def deleteBooking(id: Int): Boolean

    Deletes a Booking from the store.

    Deletes a Booking from the store.

    id

    The id of the booking to be deleted.

    returns

    A boolean indicating the success or the failure of this operation.

    Definition Classes
    BookingStoreImplBookingStore
  9. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  10. def equals(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  11. def finalize(): Unit
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  12. def generateId(): Int

    Generates a unique id.

    Generates a unique id.

    returns

    A new unique generated id.

    Definition Classes
    BookingStoreImplBookingStore
  13. def getBookingById(bookingId: Int): Optional[Booking]

    Gets a Booking with the provided bookingId

    Gets a Booking with the provided bookingId

    bookingId

    Identifies the Booking's ID that must be retreived.

    returns

    Returns the Booking with the provided id, only if found.

    Definition Classes
    BookingStoreImplBookingStore
  14. def getBookingByUser(username: String, bookingStatus: String): Optional[Booking]

    Gets the Booking started by a com.wedriveu.services.shared.model.User that has status bookingStatus.

    Gets the Booking started by a com.wedriveu.services.shared.model.User that has status bookingStatus.

    username

    Identifies username to which the booking is associated.

    bookingStatus

    The status of the Booking to be retrieved

    returns

    Returns the Booking associated to the provided username, only if found.

    Definition Classes
    BookingStoreImplBookingStore
  15. def getBookings(): List[Booking]

    Fetches all Booking stored.

    Fetches all Booking stored.

    returns

    All the Bookings.

    Definition Classes
    BookingStoreImplBookingStore
  16. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
  17. def getStartedBookingByLicensePlate(licensePlate: String): Optional[Booking]

    licensePlate

    Identifies the vehicle associated to the Booking's ID that must be retreived.

    returns

    Returns the started Booking with the provided license plate, only if found.

    Definition Classes
    BookingStoreImplBookingStore
  18. def hashCode(): Int
    Definition Classes
    AnyRef → Any
  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
  22. final def notifyAll(): Unit
    Definition Classes
    AnyRef
  23. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  24. def toString(): String
    Definition Classes
    AnyRef → Any
  25. def updateBookingLicensePlate(bookingId: Int, licensePlate: String): Boolean

    Updates the status of a Booking license plate.

    Updates the status of a Booking license plate.

    bookingId

    The id of the Booking to be updated.

    licensePlate

    The new license plate of the Booking.

    returns

    A boolean indicating the success or the failure of this operation.

    Definition Classes
    BookingStoreImplBookingStore
  26. def updateBookingStatus(bookingId: Int, bookingStatus: String): Boolean

    Updates the status of a Booking status.

    Updates the status of a Booking status.

    bookingId

    The id of the Booking to be updated.

    bookingStatus

    The new status of the Booking.

    returns

    A boolean indicating the success or the failure of this operation.

    Definition Classes
    BookingStoreImplBookingStore
  27. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  28. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  29. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from BookingStore

Inherited from AnyRef

Inherited from Any

Ungrouped