Uses of Class
com.ntu.fdae.group1.bto.models.project.Project
Packages that use Project
Package
Description
-
Uses of Project in com.ntu.fdae.group1.bto.controllers.project
Methods in com.ntu.fdae.group1.bto.controllers.project that return ProjectModifier and TypeMethodDescriptionProjectController.createProject
(HDBManager manager, String name, String neighborhood, Map<String, ProjectFlatInfo> flatInfoMap, LocalDate openDate, LocalDate closeDate, int officerSlots) Creates a new projectProjectController.findProjectById
(String projectId) Finds a project by its IDMethods in com.ntu.fdae.group1.bto.controllers.project that return types with arguments of type ProjectModifier and TypeMethodDescriptionOfficerRegistrationController.findApprovedHandlingProject
(HDBOfficer officer) Finds ALL projects an officer is currently approved to handle.ProjectController.getAllProjects
(User user, Map<String, Object> filter) Retrieves all projects in the system, with optional filtering.ProjectController.getProjectsAvailableForRegistration
(HDBOfficer officer) Gets projects potentially available for the given officer to register for handling.ProjectController.getProjectsManagedBy
(HDBManager manager) Gets projects managed by a specific HDB Manager object.ProjectController.getProjectsManagedBy
(HDBManager manager, Map<String, Object> filters) Retrieves projects managed by a specific HDB manager, with optional filtering.ProjectController.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. -
Uses of Project in com.ntu.fdae.group1.bto.repository.project
Methods in com.ntu.fdae.group1.bto.repository.project that return ProjectModifier and TypeMethodDescriptionFinds and retrieves a single entity by its unique identifier.Methods in com.ntu.fdae.group1.bto.repository.project that return types with arguments of type ProjectModifier and TypeMethodDescriptionProjectRepository.findAll()
Retrieves all entities currently managed by this repository.ProjectRepository.loadAll()
Loads all entities from the persistent storage into memory.Methods in com.ntu.fdae.group1.bto.repository.project with parameters of type ProjectModifier and TypeMethodDescriptionvoid
Saves an entity to the repository.Method parameters in com.ntu.fdae.group1.bto.repository.project with type arguments of type Project -
Uses of Project in com.ntu.fdae.group1.bto.services.booking
Methods in com.ntu.fdae.group1.bto.services.booking with parameters of type ProjectModifier 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.canOfficerRegister
(HDBOfficer officer, Project project, Collection<OfficerRegistration> allRegistrations, Collection<Application> allApplications) Determines if an HDB Officer is eligible to register for a specific project.boolean
IEligibilityService.canOfficerRegister
(HDBOfficer officer, Project project, Collection<OfficerRegistration> allRegistrations, Collection<Application> allApplications) Checks if an officer can register to work on a specific project.Method parameters in com.ntu.fdae.group1.bto.services.booking with type arguments of type ProjectModifier and TypeMethodDescriptionboolean
EligibilityService.checkManagerProjectHandlingEligibility
(HDBManager manager, LocalDate newProjectOpenDate, LocalDate newProjectCloseDate, Collection<Project> allExistingProjects) Checks if an HDB Manager is eligible to handle a new project with the specified dates.boolean
IEligibilityService.checkManagerProjectHandlingEligibility
(HDBManager manager, LocalDate newProjectOpenDate, LocalDate newProjectCloseDate, Collection<Project> allExistingProjects) Checks if an HDB Manager is eligible to create/handle a new project based on concurrency rules. -
Uses of Project in com.ntu.fdae.group1.bto.services.project
Methods in com.ntu.fdae.group1.bto.services.project that return ProjectModifier and TypeMethodDescriptionIProjectService.createProject
(HDBManager manager, String name, String neighborhood, Map<String, ProjectFlatInfo> flatInfoMap, LocalDate openDate, LocalDate closeDate, int officerSlots) Creates a new BTO project with the specified details.ProjectService.createProject
(HDBManager manager, String name, String neighborhood, Map<String, ProjectFlatInfo> flatInfoMap, LocalDate openDate, LocalDate closeDate, int officerSlots) Creates a new project with the specified details.IProjectService.findProjectById
(String projectId) Retrieves a project by its unique identifier.ProjectService.findProjectById
(String projectId) Retrieves a project by its unique identifier.Methods in com.ntu.fdae.group1.bto.services.project that return types with arguments of type ProjectModifier 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.getProjectsAvailableForOfficerRegistration
(HDBOfficer officer) Retrieves all projects available for an HDB Officer to register for.ProjectService.getProjectsAvailableForOfficerRegistration
(HDBOfficer officer) IProjectService.getProjectsManagedBy
(String managerNRIC) Retrieves all projects managed by a specific manager.IProjectService.getProjectsManagedBy
(String managerNRIC, Map<String, Object> filters) Retrieves all projects managed by a specific manager with optional filters.ProjectService.getProjectsManagedBy
(String managerNRIC) Retrieves all projects managed by a specific manager.ProjectService.getProjectsManagedBy
(String managerNRIC, Map<String, Object> 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. -
Uses of Project in com.ntu.fdae.group1.bto.views
Methods in com.ntu.fdae.group1.bto.views that return ProjectModifier and TypeMethodDescriptionProjectUIHelper.selectProjectFromList
(List<Project> projects, String listTitle) Displays a numbered list of projects with basic information and prompts the user to select one.Methods in com.ntu.fdae.group1.bto.views with parameters of type ProjectModifier and TypeMethodDescriptionvoid
ProjectUIHelper.displayApplicantProjectDetails
(Project project) Displays project details relevant to an Applicant.void
ProjectUIHelper.displayFlatAvailability
(Project project) Displays the availability of different flat types for a given project.void
ProjectUIHelper.displayStaffProjectDetails
(Project project, int pendingCount) Displays comprehensive project details relevant to HDB Staff (Officers/Managers).Method parameters in com.ntu.fdae.group1.bto.views with type arguments of type ProjectModifier and TypeMethodDescriptionProjectUIHelper.selectProjectFromList
(List<Project> projects, String listTitle) Displays a numbered list of projects with basic information and prompts the user to select one.