Interface CourierRequestOperation


public interface CourierRequestOperation
  • Method Details

    • insertCourierRequest

      boolean insertCourierRequest(String userName, String licencePlateNumber)
      Parameters:
      userName - of user who intends to become courier.
      licencePlateNumber - of the vehicle they intend to drive.
      Returns:
      success of operation.
    • deleteCourierRequest

      boolean deleteCourierRequest(String userName)
      Parameters:
      userName - - username
      Returns:
      success of operation.
    • changeVehicleInCourierRequest

      boolean changeVehicleInCourierRequest(String userName, String licencePlateNumber)
      Parameters:
      userName - - username
      licencePlateNumber - new license plate number.
      Returns:
      success of operation.
    • getAllCourierRequests

      List<String> getAllCourierRequests()
      Returns:
      List of all courier requests.
    • grantRequest

      boolean grantRequest(String username)
      Grants a request for user to become courier.
      Parameters:
      username - - username
      Returns:
      success of operation.