Uses of Class
com.ntu.fdae.group1.bto.models.user.User
Packages that use User
Package
Description
-
Uses of User in com.ntu.fdae.group1.bto.controllers.enquiry
Methods in com.ntu.fdae.group1.bto.controllers.enquiry with parameters of type UserModifier and TypeMethodDescriptionEnquiryController.createEnquiry
(User user, String projectId, String content) Creates a new enquiry in the system.boolean
EnquiryController.deleteEnquiry
(String enquiryId, User user) Deletes an existing enquiry from the system.boolean
EnquiryController.editEnquiry
(String enquiryId, String newContent, User user) Edits an existing enquiry's content.EnquiryController.viewMyEnquiries
(User user) Retrieves all enquiries submitted by a specific user. -
Uses of User in com.ntu.fdae.group1.bto.controllers.project
Methods in com.ntu.fdae.group1.bto.controllers.project with parameters of type UserModifier and TypeMethodDescriptionProjectController.getAllProjects
(User user, Map<String, Object> filter) Retrieves all projects in the system, with optional filtering.ApplicationController.getMyApplication
(User user) Gets the application for a specific applicantProjectController.getVisibleProjectsForUser
(User user) Gets projects visible to a user (without additional filters).ProjectController.getVisibleProjectsForUser
(User user, Map<String, Object> filters) Retrieves projects that are visible to a specific user, with optional filtering.boolean
ApplicationController.requestWithdrawal
(User user) Requests withdrawal of an applicationApplicationController.submitApplication
(User user, String projectId, FlatType preferredFlatType) Submits a new application -
Uses of User in com.ntu.fdae.group1.bto.controllers.user
Methods in com.ntu.fdae.group1.bto.controllers.user that return UserModifier and TypeMethodDescriptionRetrieves a user by their NRIC.Attempts to log in a userMethods in com.ntu.fdae.group1.bto.controllers.user with parameters of type UserModifier and TypeMethodDescriptionboolean
AuthenticationController.changePassword
(User user, String newPassword) Changes a user's password -
Uses of User in com.ntu.fdae.group1.bto.models.user
Subclasses of User in com.ntu.fdae.group1.bto.models.userModifier and TypeClassDescriptionclass
Represents an Applicant in the BTO system.class
Represents an HDB Manager in the BTO system.class
Represents an HDB Officer in the BTO system.class
Abstract base class representing an HDB staff member in the BTO system. -
Uses of User in com.ntu.fdae.group1.bto.repository.user
Methods in com.ntu.fdae.group1.bto.repository.user that return UserModifier and TypeMethodDescriptionFinds and retrieves a single entity by its unique identifier.Methods in com.ntu.fdae.group1.bto.repository.user that return types with arguments of type UserModifier and TypeMethodDescriptionUserRepository.findAll()
Retrieves all entities currently managed by this repository.UserRepository.loadAll()
Loads all entities from the persistent storage into memory.Methods in com.ntu.fdae.group1.bto.repository.user with parameters of type UserModifier and TypeMethodDescriptionvoid
Saves an entity to the repository.Method parameters in com.ntu.fdae.group1.bto.repository.user with type arguments of type User -
Uses of User in com.ntu.fdae.group1.bto.services.booking
Methods in com.ntu.fdae.group1.bto.services.booking with parameters of type UserModifier and TypeMethodDescriptionboolean
EligibilityService.canApplicantApply
(User user, Project project) Checks if a user is eligible to apply for a specific project.boolean
IEligibilityService.canApplicantApply
(User user, Project project) Checks if an applicant meets the eligibility criteria for a specific project.boolean
EligibilityService.isApplicantEligibleForFlatType
(User user, FlatType flatType) Checks if a user is eligible for a specific flat type.boolean
IEligibilityService.isApplicantEligibleForFlatType
(User user, FlatType flatType) Checks if an applicant is eligible for a specific flat type. -
Uses of User in com.ntu.fdae.group1.bto.services.enquiry
Methods in com.ntu.fdae.group1.bto.services.enquiry with parameters of type UserModifier and TypeMethodDescriptionEnquiryService.createEnquiry
(User user, String projectId, String content) Creates a new enquiry with the specified details.IEnquiryService.createEnquiry
(User user, String projectId, String content) Creates a new enquiry in the system.boolean
EnquiryService.deleteEnquiry
(String enquiryId, User user) Deletes an enquiry with the specified ID.boolean
IEnquiryService.deleteEnquiry
(String enquiryId, User user) Deletes an existing enquiry from the system.boolean
EnquiryService.editEnquiry
(String enquiryId, String newContent, User user) Edits the content of an existing enquiry.boolean
IEnquiryService.editEnquiry
(String enquiryId, String newContent, User user) Edits an existing enquiry's content.EnquiryService.viewMyEnquiries
(User user) Retrieves all enquiries made by a specific user.IEnquiryService.viewMyEnquiries
(User user) Retrieves all enquiries submitted by a specific user. -
Uses of User in com.ntu.fdae.group1.bto.services.project
Methods in com.ntu.fdae.group1.bto.services.project with parameters of type UserModifier and TypeMethodDescriptionIProjectService.getAllProjects
(User user, Map<String, Object> filters) Retrieves all projects accessible to a specific user, with optional filters.ProjectService.getAllProjects
(User user, Map<String, Object> filters) Retrieves all projects visible to a specific user, with optional filters.IProjectService.getVisibleProjectsForUser
(User user) Retrieves all currently visible projects for which the user is eligible to apply.IProjectService.getVisibleProjectsForUser
(User user, Map<String, Object> filters) Retrieves all currently visible projects for which the user is eligible to apply, filtered by the provided criteria.ProjectService.getVisibleProjectsForUser
(User user) ProjectService.getVisibleProjectsForUser
(User user, Map<String, Object> filters) Gets a list of projects that are currently visible and eligible for a specific user (typically an Applicant or Officer acting as one) to potentially apply for.boolean
ApplicationService.requestWithdrawal
(User user) Requests withdrawal of an existing applicationboolean
IApplicationService.requestWithdrawal
(User user) Requests withdrawal of an existing applicationApplicationService.submitApplication
(User user, String projectId, FlatType preferredFlatType) Submits a new application for a projectIApplicationService.submitApplication
(User user, String projectId, FlatType preferredFlatType) Submits a new application for a project -
Uses of User in com.ntu.fdae.group1.bto.services.user
Methods in com.ntu.fdae.group1.bto.services.user that return UserModifier and TypeMethodDescriptionIUserService.findUserById
(String nric) Finds a user by their NRIC (National Registration Identity Card).UserService.findUserById
(String nric) Finds a user by their NRIC (National Registration Identity Card).Authenticates a user with the provided credentials.Authenticates a user with the provided credentials.Methods in com.ntu.fdae.group1.bto.services.user with parameters of type UserModifier and TypeMethodDescriptionboolean
AuthenticationService.changePassword
(User user, String newPassword) Changes a user's password after validating its strength.boolean
IAuthenticationService.changePassword
(User user, String newPassword) Changes a user's password. -
Uses of User in com.ntu.fdae.group1.bto.views
Methods in com.ntu.fdae.group1.bto.views that return UserModifier and TypeMethodDescriptionLoginUI.displayLogin()
Displays the login prompt and handles the login process.MainMenuUI.displayMainMenu()
Displays the main menu and handles user input.Methods in com.ntu.fdae.group1.bto.views with parameters of type UserModifier and TypeMethodDescriptionboolean
AccountUIHelper.handlePasswordChange
(User currentUser) Handles the interactive workflow for a logged-in user to change their password, including password strength validation via the controller.void
ApplicationUIHelper.performApplicationSubmission
(User user, String projectId) Guides the user through submitting an application for a specific project, including handling flat type preferences based on eligibility and availability.void
ApplicationUIHelper.performViewAndWithdraw
(User user) Displays the details of the applicant's current or most recent application and provides an option to request withdrawal if applicable.