0% found this document useful (0 votes)
7 views

JavaPBL

The document outlines the requirements for a user management application that includes functionalities for user registration, updating, deleting, and selecting users, as well as managing reservations and bookings. It specifies the input attributes for user profiles, reservations, and complaints, along with the necessary acknowledgment messages for each operation. Additionally, it details the admin functionalities for managing bookings, viewing complaints, and generating invoices, ensuring a comprehensive user experience with navigation options.

Uploaded by

jaideep10801
Copyright
© © All Rights Reserved
Available Formats
Download as TXT, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
7 views

JavaPBL

The document outlines the requirements for a user management application that includes functionalities for user registration, updating, deleting, and selecting users, as well as managing reservations and bookings. It specifies the input attributes for user profiles, reservations, and complaints, along with the necessary acknowledgment messages for each operation. Additionally, it details the admin functionalities for managing bookings, viewing complaints, and generating invoices, ensuring a comprehensive user experience with navigation options.

Uploaded by

jaideep10801
Copyright
© © All Rights Reserved
Available Formats
Download as TXT, PDF, TXT or read online on Scribd
You are on page 1/ 4

here is a list of features that i want you to incorporate in this application;

1.
Developer needs to input the following information from the console using
programming.
Display the menu to:
To register new user - if option 1 is entered, then get the UserProfile attributes
as mentioned below, create an object and add to array -UserID: an integer or string
data type.
- FullName: a string data type with a maximum length of 50 characters.
- Email: a string data type with a maximum length of 100 characters.
-MobileNumber: a string or long data type.
-Password: a string data type with a maximum length of 30 characters.
Once all fields are taken as input, create an object and insert it to an array.
After successful registration, a registration acknowledgment message need to be
displayed on the console as "User Registration is successful".
to Update the User details - if option entered is 2,then get the email address and
user id attribute and update the email address for the specific user id. Once the
user object is updated with new value, then an acknowledgment message need to be
displayed on the console as "User details are updated successfully"
To Delete the user - if option entered is 3, user id is fetched and related user is
removed from the array.
Once the user object is identified and removed from the collection, then an
acknowledgment message need to be displayed on the console as "User details are
deleted"
To Select users--if option entered is 4,fetch all the users from the array and
print it on the console
For all the above operations create seperate methods with necessary parameters.

2.
As a user I should be able to register/login to the application
User needs to input the following information from the console using programming.
User Management -if option entered is 1, it should prompt with details for user
management (refer point 1)
Log in - if option entered is 2, it should prompt with details for login (refer
point 3)

3.
User needs to insert the Userld and Password
-If Userld and Password matches with any customer UserProfile, it should display
the menu:
a. Reservation (refer point 4)
b. Booking History - (refer point 5)
c. Room status - (refer point 8)
d. Check-out billing - (refer point 9)
e. Complaint - (refer point 6)
f. Contact - (refer poiny 7)

-If Userld and password matches with Admin, it should display the menu:
a. Booking Hotel services - (refer point 11)
b. Booking History - (refer point 13)
c. Booking History by ID - (refer point 14)
d. Room Status - (refer point 8)
e. Check-out billing invoice - (refer point 15)
f. View complaint-(refer point 12)

4.
Developer needs to input the following information from the console using
programming.
Display the menu to:
To add new Reservation- if option 1 is entered, then get the reservation attributes
as mentioned below, create an object and add to array
-reservationld - interger type (auto generate)
-check-in and check-out dates- String type
-Room preferences (Single/Double)-String type
-Name- String type
-Contact-Long type
-Once all fields are taken as input, reservation details need to be inserted in
array. After successful reservation, a reservation acknowledgment message need to
be displayed on the console as "Reservation Succes

To Update the reservation details - if option entered is 2,then get reservationld


attribute and update the Name for the specific user id.
Once the user object is updated with new value, then an acknowledgment message need
to be displayed on the console as "User details are updated successfully"

To Delete the reservation - if option entered is 3, reservationld attribute is


fetched and related user is removed from the array.
Once the user object is identified and removed from the collection, then an
acknowledgment message need to be displayed on the console as "User details are
deleted"

5.

As a Customer, I want to view my previous bookings to


track my stay history.
As a Customer, when I press the number corresponding the option for booking history
option in customer menu, I expect to see a list of my previous bookings.
The output should include the reservation ID, check-in date, check-out date, room
number and bill amount for each entry.

6.
As a Customer I want to give complaints/ feedback on rooms.
You have to provide the following details once the user chooses the
complaint/feedback button.
UserName
Contact Number
Room Number
·Type Of Complaint Poor housekeeping, Noisy guests., Uncomfortable beds.,Slow
service, Lack of amenities, Unfriendly staff)
Feedback (Rating in 5) (User choosen)
-Once all fields are taken as input, complaint details need to be inserted in
array. After successful registered, an acknowledgment message need to be displayed
on the console as "Successfully registered Complaint"

7.
As an customer, I want to be able to view the customer support details and raise
complaints if needed
Need to display following contact support details
Contact Number:
Email:
Address:

8.

As an
Customer/admin, I want to know the room status of hotels.
As a Customer, I need to see -
Avaliablity of rooms (1bhk, 2bhk, 3bhk)
Date Availability
Price Range
Place
As an Admin I want to update the room status once it becomes vacant -
Update the room status as (Vacant, Occupied)
Date Avaliablity

9.

As a Customer, I want to check out and view my bill for the stay.
As a customer, when I decide to check out, when i enter the number corresponding to
the option to access the "Checkout-Billing Page" from the
menu.
expect to see an output displaying my total bill, including room charges and any
additional services.
The output should provide a clear breakdown of the charges and a payment option and
the option to pay bill and cancel.
As a user, when i enter the number corresponding to the pay bill option on the pay
bill option on Checkout-Billing page, It should take me a page where i can make
payment. (refer point 10)

10.

Developer needs to input the following information from the console using
programming.
Need to display the service amount, and payment options debit/credit card.
Need to get the following card inputs from the customer
a)card holder name
b)card number
c)cvv
d)Expire date
Once the payment is successful a message "payment successful" need to be display
along with the invoice for the payment.

11.

Developer needs to input the following information from the console using
programming.
Display the menu to:
To add new Booking - if option 1 is entered, then get the BookingHotels attributes
as mentioned below, create an object and add to array
-BookingID: an integer data type as the primary key. (auto generate)
-RoomTypeSelection: a string data type with an appropriate length.
- BookingDetails: data types may vary based on the specific details required.
-Price: a double data type for calculating and displaying the price.
-Once all fields are taken as input, reservation details need to be inserted in
array. After successful reservation, a reservation acknowledgment message need to
be displayed on the console as "Successfully registered Booking"
Update the Booking - if option entered is 2,Booking id is fetched and update
RoomTypeSelection.
Once the user object is identified and updated from the collection, then an
acknowledgment message need to be displayed on the console as "Booking details are
updated" For all the above operations create seperate methods with necessary
parameters.
Delete the Booking - if option entered is 3,Booking id is fetched and related
Booking is removed from the array
Once the user object is identified and removed from the collection, then an
acknowledgment message need to be displayed on the console as "Booking details are
deleted" For all the above operations create seperate methods with necessary
parameters.

12.
You have to display the following details once the admin chooses the view complaint
option
UserName
Contact Number Room Number
Type Of Complaint( Poor housekeeping, Noisy guests., Uncomfortable beds., Slow
service, Lack of amenities, Unfriendly staff)
Feedback ( Rating in 5) (User choosen)

13.
Admin needs to display all the respective customer booking details of the given
customer from the console using programming from preconfigured array.
Customer ID
CustomerName
Mobile Number
Email

14.
As an admin, I want to access the booking history of a specific user identified by
their UserID.
As an admin, when I press number the corresponding option for booking history
option in admin menu, the system should prompt me to enter the UserID for the
specific user's booking history I want to review.
After entering a valid UserID, I expect to see an output displaying the booking
history of the specified user.
The interface should include reservation details such as reservation ID, check-in
date, check-out date, and room number for each entry.

15
As an admin, I want to generate an invoice for a user's stay.
As an admin, when I enter the number corresponding to the an option to access the
"Checkout-Billing Page" for generating invoices. the system should prompt me to
enter the UserID for the specific user for whom I want to generate an invoice.
After entering a valid UserID, I expect to see an output displaying the invoice
details, including reservation ID, user details, room charges, and additional
service charges.
The output should provide an option to finalize and generate the invoice for the
specified user.

Make sure I can go back and forth in the application.

You might also like