A B C D E F G I L M N P Q R S T U V W 
All Classes All Packages

A

addAttendee(String) - Method in class model.camp.Camp
Adds an attendee to the camp and decreases the total available slots.
addCommittee(String) - Method in class model.camp.Camp
Adds a committee member to the camp and decreases both total available slots and camp committee slots.
ADM - enums.Schools
School of Art, Design and Media
AllCampDetailsView - Class in view
The AllCampDetailsView class extends CampAvailableView and implements ICampView and provide method for displaying all the camp details
AllCampDetailsView() - Constructor for class view.AllCampDetailsView
Construct an instance of AllCampDetailsView
allSchools() - Static method in class util.SchoolEnumUtil
Return a list of schools
Approved - enums.SuggestionStatus
Suggestion is Approved
approveSuggestion(ISuggestionView) - Method in class controllers.StaffController
Staff can approve or reject a selected suggestion and provides a response.
approveSuggestion(String, String, boolean) - Method in class model.camp.Suggestion
Approves or rejects the suggestion and sets the reply and status accordingly.
approveSuggestion(Suggestion, String, boolean) - Method in interface interfaces.ISuggestionStaffService
Approves or rejects the specified suggestion with an reply.
approveSuggestion(Suggestion, String, boolean) - Method in class services.SuggestionStaffService
 
ASE - enums.Schools
Asian School of the Environment
AuthCommitteeService - Class in services
AuthCommitteeService extends AuthStudentService and provides authentication functions for Committee.
AuthCommitteeService() - Constructor for class services.AuthCommitteeService
Construct an instance of AuthCommitteeService
AuthController - Class in controllers
The AuthController class provides utility methods for managing user authentication within the CAMS application.
AuthController() - Constructor for class controllers.AuthController
Private constructor to prevent instantiation as it is not meant to be instantiated.
authenticate(User, String) - Method in class services.AuthService
Authenticates the given user with the given password.
authService - Static variable in class controllers.AuthController
IAuthService object to authenticate user
AuthService - Class in services
AuthService is an abstract class that implements the IAuthService interface.
AuthService() - Constructor for class services.AuthService
Constructs an instance of the AuthService class.
AuthStaffService - Class in services
AuthStaffService extends AuthService and provides authentication functions for Staff.
AuthStaffService() - Constructor for class services.AuthStaffService
Construct an instance of AuthStaffService
AuthStore - Class in stores
The AuthStore class provides utility methods for managing the current authenticated user within the application.
AuthStore() - Constructor for class stores.AuthStore
Private constructor to prevent instantiation of the class.
AuthStudentService - Class in services
AuthStudentService extends AuthService and provides authentication functions for Students.
AuthStudentService() - Constructor for class services.AuthStudentService
Construct an instance of AuthStudentService
available - Variable in class model.camp.Camp
list of available schools

B

BOLD - Static variable in class util.TextDecoratorUtil
TextDecoratorUtil.BOLD constant ANSI escape code for bold text
boldText(String) - Static method in class util.TextDecoratorUtil
Formats string to be bold
BooleanConverterUtil - Class in util
The BooleanConverterUtil provides a function that allows conversion of given input to a boolean variable for visibility or first login checking
BooleanConverterUtil() - Constructor for class util.BooleanConverterUtil
Construct an instance of BooleanConverterUtil

C

camp - Variable in class controllers.CommitteeController
This class has-a Camp which the committee member are incharge of
Camp - Class in model.camp
Represents a camp declared within the system Each camp has various attributes such as a unique identifier, name, closing date, available schools, location, time slots, camp committee slots, camp description, staff in charge, list of attendees and committee members, and withdrawn participants.
Camp(int, String, List<LocalDate>, LocalDate, List<Schools>, String, int, String, String, boolean) - Constructor for class model.camp.Camp
Constructor of class Camp
Camp(int, String, List<LocalDate>, LocalDate, List<Schools>, String, int, String, String, boolean, List<String>, int, List<String>, List<String>) - Constructor for class model.camp.Camp
Constructor of class Camp
camp_management_and_application_system - module camp_management_and_application_system
This project is a Java-based application for managing camps for students in tertiary institutions (NTU as the main example)
CampAvailableView - Class in view
The CampAvailableView class implements ICampView and provide method to show the available camps
CampAvailableView() - Constructor for class view.CampAvailableView
Construct an instance of CampAvailableView
campCommittee - Variable in class model.camp.Camp
List of camp committee
campCommitteeSlots - Variable in class model.camp.Camp
number of camp committee slots
campCsvHeaders - Static variable in class services.CsvDataService
List of headers for the CSV file that stores camp data.
campData - Static variable in class stores.DataStore
A Map containing a numerical Camp ID as the key and Camp objects as the value
CampFilter - Class in util
The CampFilter provides a filter methods for user interface
CampFilter() - Constructor for class util.CampFilter
Construct an instance of CampFilter
campID - Variable in class model.camp.Camp
camp's campID
campID - Variable in class model.camp.Enquiry
Identifier of the camp associated with the inquiry.
campID - Variable in class model.camp.Suggestion
Identifier of the camp associated with the suggestion.
campID - Variable in class model.user.Committee
Identifier of the camp where the committee member is associated.
CampRegisteredView - Class in view
The CampRegisteredView implements ICampView and provide a method to display registered camps
CampRegisteredView() - Constructor for class view.CampRegisteredView
Construct an instance of CampRegisteredView
campsCreated - Variable in class model.user.Staff
list of camps created by staff
campSelector(ArrayList<Camp>) - Static method in class util.SelectorUtil
Selects a camp from a list of camps by getting user input.
campStaffService - Static variable in class controllers.StaffController
This class has-a ICampStaffService object deal with Services regading the camp
CampStaffService - Class in services
CampStaffService implements ICampStaffService interface and provide camp functions in the role permission of a staff
CampStaffService() - Constructor for class services.CampStaffService
Construct an instance of CampStaffService
campStudentService - Static variable in class controllers.StudentController
This class has-a ICampStudentService object which the StudentController object is able to access all the services given.
CampStudentService - Class in services
CampStudentService implements ICampStudentService interface and provide camp functions in the role permission of a student
CampStudentService() - Constructor for class services.CampStudentService
Construct an instance of CampStudentService
CAMS - Class in main
The CAMS class serves as the entry point for the CAMS (Campus Activities Management System) application.
CAMS() - Constructor for class main.CAMS
Private constructor to prevent instantiation of the class
CCEB - enums.Schools
School of Chemistry, Chemical Engineering and Biotechnology
CEE - enums.Schools
School of Civil and Environmental Engineering
changePassword() - Method in class controllers.UserController
Changes the user's password after verifying the old password and ensuring the new password meets certain criteria.
changePassword(String) - Method in interface interfaces.IUserService
Changes the password of user if provided old password matches current password
changePassword(String) - Method in class services.UserService
 
changeToCommittee() - Static method in class controllers.AuthController
Switch logged in user from student to committee
changeToStudent() - Static method in class controllers.AuthController
Switch logged in user from committee to student
closing - Variable in class model.camp.Camp
closing date of camp
CoE - Static variable in class util.SchoolEnumUtil
Schools under College of Engineering
CoHASS - Static variable in class util.SchoolEnumUtil
Schools under College of Humanities and Social Sciences
commiteeID - Variable in class model.camp.Suggestion
Identifier of the committee member who made the suggestion.
Committee - Class in model.user
This class Committee represents committee member of a camp, extending the properties of the class Student.
Committee - enums.UserRole
user is a Committee
Committee(String, String, String, String, Schools, boolean, int) - Constructor for class model.user.Committee
Constructor of class Committee
Committee(String, String, String, String, Schools, boolean, int, int) - Constructor for class model.user.Committee
Create an object of the Committee class
CommitteeController - Class in controllers
The CommitteeController class for managing activities related to the camp.
CommitteeController() - Constructor for class controllers.CommitteeController
Default constructor for CommitteeController class
committeeCsvHeaders - Static variable in class services.CsvDataService
List of headers for the CSV file that stores camp committee member data.
committeeData - Static variable in class stores.DataStore
A Map containing comittee ID as the key and Committee objects as the value.
CommonView - Class in view
The CommonView class provides utility methods for displaying UI interfaces in console.
CommonView() - Constructor for class view.CommonView
Private constructor to prevent instantiation of the class
controllers - package controllers
This subpackage contains classes for user authentication controllers
convertToBoolean(String) - Static method in class util.BooleanConverterUtil
Converts a string input to a boolean variable
convertToEnum(String) - Static method in class util.EnquiryStatusUtil
The function that converts string to enum of enquiry status
convertToEnum(String) - Static method in class util.SchoolEnumUtil
Get a string input which can be converted to School enum variable
convertToEnum(String) - Static method in class util.SuggestionStatusUtil
Convert from string input to suggestion enum variable
convertToEnum(String) - Static method in class util.UserRoleUtil
Convert from string input to UserRole enum variable
CoS - Static variable in class util.SchoolEnumUtil
Schools under College of Science
createCamp(Camp) - Method in interface interfaces.ICampStaffService
Creates camps based on the provided list.
createCamp(Camp) - Method in class services.CampStaffService
 
createCamps() - Method in class controllers.StaffController
Allows staff to create multiple camps by providing information: camp name, dates, registration due date, schools, location, total slots, description and visibility
CsvDataService - Class in services
The CsvDataService class implements the IFileDataService interface and provides methods for reading and writing data from/to CSV files.
CsvDataService() - Constructor for class services.CsvDataService
Constructs an instance of the CsvDataService class.
csvFilePaths() - Static method in class util.FilePathsUtil
Returns a mapping of CSV file paths for various data types used in the application.
currentUser - Static variable in class stores.AuthStore
The currently authenticated user.

D

DataStore - Class in stores
The DataStore class provides utility methods for managing data storage within the application.
DataStore() - Constructor for class stores.DataStore
Private constructor to prevent instantiation of the class
dates - Variable in class model.camp.Camp
list of the dates the camp is held
deleteCamp() - Method in class controllers.StaffController
Deletes a specific camp, including all associated data (enquiries, suggestions).
deleteCamp(Camp) - Method in interface interfaces.ICampStaffService
Deletes a camp.
deleteCamp(Camp) - Method in class services.CampStaffService
 
deleteEnquiry() - Method in class controllers.StudentController
Allows the student to delete an existing enquiry.
deleteEnquiry(Enquiry) - Method in interface interfaces.IEnquiryStudentService
Deletes a specific enquiry.
deleteEnquiry(Enquiry) - Method in class services.EnquiryStudentService
 
deleteSuggestion() - Method in class controllers.CommitteeController
Method to delete suggestion
deleteSuggestion(Suggestion) - Method in interface interfaces.ISuggestionCommitteeService
Deletes the specified suggestion.
deleteSuggestion(Suggestion) - Method in class services.SuggestionCommitteeService
 
description - Variable in class model.camp.Camp
camp description
displayCamp(Camp) - Method in interface interfaces.ICampView
Displays information about a specific camp.
displayCamp(Camp) - Method in class view.AllCampDetailsView
 
displayCamp(Camp) - Method in class view.CampAvailableView
 
displayCamp(Camp) - Method in class view.CampRegisteredView
 
displayEnquiries(Enquiry) - Method in interface interfaces.IEnquiryView
Displays the details of an Enquiry.
displayEnquiries(Enquiry) - Method in class view.EnquiryView
 
displaySuggestions(Suggestion) - Method in interface interfaces.ISuggestionView
Displays information about the specified suggestion.
displaySuggestions(Suggestion) - Method in class view.SuggestionView
 

E

editCamp() - Method in class controllers.StaffController
Edits the details of a specific camp, allowing staff to modify various attributes such as name, dates, closing date, schools, location, total slots, and description.
editCamp(Camp, int, Object) - Method in interface interfaces.ICampStaffService
Edits a specific field (such as date, description ...) of a camp.
editCamp(Camp, int, Object) - Method in class services.CampStaffService
 
editEnquiry() - Method in class controllers.StudentController
Allows the student to edit an existing enquiry.
editEnquiry(Enquiry, String) - Method in interface interfaces.IEnquiryStudentService
Edits the content of an existing enquiry.
editEnquiry(Enquiry, String) - Method in class services.EnquiryStudentService
 
editSuggestion() - Method in class controllers.CommitteeController
Edits a selected suggestion's question.
editSuggestion(Suggestion, String) - Method in interface interfaces.ISuggestionCommitteeService
Edits the specified suggestion with a new question.
editSuggestion(Suggestion, String) - Method in class services.SuggestionCommitteeService
 
EEE - enums.Schools
School of Electrical and Electronic Engineering
email - Variable in class model.user.User
Variable to check for first login
endSession() - Static method in class controllers.AuthController
Ends the current user session by logging the user out
Enquiry - Class in model.camp
This Enquiry Class represent inquiry related to a camp.
Enquiry(int, int, String, String) - Constructor for class model.camp.Enquiry
Constuctor of class Enquiry
Enquiry(int, int, String, String, List<String>, List<String>, EnquiryStatus) - Constructor for class model.camp.Enquiry
Constuctor of class Enquiry
enquiryCommitteeService - Static variable in class controllers.CommitteeController
This class has-a IEnquiryCommitteeService object which the member has to deal with enquiries that the participants sent
EnquiryCommitteeService - Class in services
EnquiryCommitteeService implements IEnquiryCommitteeService interface and provide enquiry related functions for a committee user for selected camp
EnquiryCommitteeService() - Constructor for class services.EnquiryCommitteeService
Construct an instance of EnquiryCommitteeService
enquiryCsvHeaders - Static variable in class services.CsvDataService
List of headers for the CSV file that stores enquiry data.
enquiryData - Static variable in class stores.DataStore
A Map containing a numerical Enquiry ID as the key and Enquiry objects as the value
enquiryID - Variable in class model.camp.Enquiry
Unique identifier for the inquiry.
enquirySelector(ArrayList<Enquiry>) - Static method in class util.SelectorUtil
Selects an enquiry from a list of enquiries by getting user input.
enquiryStaffService - Static variable in class controllers.StaffController
This class has-a IEnquiryStaffService object deal with enquiries from the student regading the camp
EnquiryStaffService - Class in services
EnquiryStaffService implemets IEnquiryStaffService interface and provide enquiry related functions for a staff user for selected camp
EnquiryStaffService() - Constructor for class services.EnquiryStaffService
Construct an instance of EnquiryStaffService
EnquiryStatus - Enum in enums
Enum representing the status of an enquiry, which can be either "Processing" or "Processed" This indicates the current processing status of an enquiry
EnquiryStatus() - Constructor for enum enums.EnquiryStatus
 
EnquiryStatusUtil - Class in util
The EnquiryStatusUtil provides utility function for converts string input to an enum for the enquiry status variable
EnquiryStatusUtil() - Constructor for class util.EnquiryStatusUtil
Construct an instance of EnquiryStatusUtil
enquiryStudentService - Static variable in class controllers.StudentController
This class has-a IEnquiryStudentService object which the StudentController object can access all the services that the enquiry class gives.
EnquiryStudentService - Class in services
EnquiryStudentService implemets IEnquiryStudentService interface and provide enquiry related functions for a student user for selected camp
EnquiryStudentService() - Constructor for class services.EnquiryStudentService
Construct an instance of EnquiryStudentService
EnquiryView - Class in view
The EnquiryView implements IEnquiryView and provide a method to display enquiries
EnquiryView() - Constructor for class view.EnquiryView
Construct an instance of EnquiryView
enums - package enums
This subpackage contains classes for enums variables
exportCampData(String, Map<Integer, Camp>) - Method in interface interfaces.IFileDataService
Exports camp data to the specified file.
exportCampData(String, Map<Integer, Camp>) - Method in class services.CsvDataService
 
exportCommitteeData(String, String, Map<String, Committee>) - Method in interface interfaces.IFileDataService
Exports committee data to specified files.
exportCommitteeData(String, String, Map<String, Committee>) - Method in class services.CsvDataService
 
exportEnquiryData(String, Map<Integer, Enquiry>) - Method in interface interfaces.IFileDataService
Exports enquiry data to the specified file.
exportEnquiryData(String, Map<Integer, Enquiry>) - Method in class services.CsvDataService
 
exportStaffData(String, String, Map<String, Staff>) - Method in interface interfaces.IFileDataService
Exports staff data to specified files.
exportStaffData(String, String, Map<String, Staff>) - Method in class services.CsvDataService
 
exportStudentData(String, String, Map<String, Student>) - Method in interface interfaces.IFileDataService
Exports student data to specified files.
exportStudentData(String, String, Map<String, Student>) - Method in class services.CsvDataService
 
exportSuggestionData(String, Map<Integer, Suggestion>) - Method in interface interfaces.IFileDataService
Exports suggestion data to the specified file.
exportSuggestionData(String, Map<Integer, Suggestion>) - Method in class services.CsvDataService
 

F

faculty - Variable in class model.user.User
Faculty information.
fileDataService - Static variable in class stores.DataStore
The IFileDataService instance used for data operations
filePathsMap - Static variable in class stores.DataStore
A Map containing file paths for various data types.
filePathsMap - Static variable in class util.FilePathsUtil
A Map object that contains the file paths for various data types used in the application.
FilePathsUtil - Class in util
The FilePathsUtil class provides utility methods for managing file paths within the application.
FilePathsUtil() - Constructor for class util.FilePathsUtil
Private constructor to prevent instantiation of the class.
filterByCommittee(ArrayList<Camp>, String) - Static method in class util.CampFilter
filter by committee member involved in camp
filterByDate(ArrayList<Camp>, LocalDate) - Static method in class util.CampFilter
filter by camp dates
filterByDescription(ArrayList<Camp>, String) - Static method in class util.CampFilter
filter by camp description
filterByLocation(ArrayList<Camp>, String) - Static method in class util.CampFilter
filter by camp location
filterByName(ArrayList<Camp>, String) - Static method in class util.CampFilter
Filter by camp names
filterByStudent(ArrayList<Camp>, String) - Static method in class util.CampFilter
filter by student participants involved in camp
findLowestAvailableCampId(Map<Integer, Camp>) - Static method in class util.IdNumberUtil
Find the lowest available Camp ID integer from a list of camps
findLowestAvailableEnquiryId(Map<Integer, Enquiry>) - Static method in class util.IdNumberUtil
Find the lowest available Enquiry ID integer from a list of enquiries
findLowestAvailableSuggestionId(Map<Integer, Suggestion>) - Static method in class util.IdNumberUtil
Find the lowest available Suggestion ID integer from a list of suggestions
firstLogin - Variable in class model.user.User
Boolean to check if it is user's first login

G

generateCampReport() - Method in class controllers.StaffController
Staff can generate a detailed report for a specific camp, including information about attendees and camp committee members.
generateCampReport(Camp, int) - Method in interface interfaces.IReportGeneratorService
Generates a camp report based on the specified filter.
generateCampReport(Camp, int) - Method in class services.ReportGeneratorService
 
generateCommitteePerformanceReport(Camp) - Method in interface interfaces.IReportGeneratorService
Generates a committee performance report for the specified camp.
generateCommitteePerformanceReport(Camp) - Method in class services.ReportGeneratorService
 
generatePerformanceReport() - Method in class controllers.StaffController
Staff members can generate a performance report for a specific camp.
generateReport() - Method in class controllers.CommitteeController
Generates a report for the associated camp based on user-selected filters.
getAllCamps() - Method in interface interfaces.ICampStaffService
Retrieves all camps.
getAllCamps() - Method in class services.CampStaffService
 
getAvailable() - Method in class model.camp.Camp
Gets the list of available schools for the camp.
getAvailableCamps(Schools) - Method in interface interfaces.ICampStudentService
Retrieves the available camps for a specific school.
getAvailableCamps(Schools) - Method in class services.CampStudentService
 
getCampCommittee() - Method in class model.camp.Camp
Gets the list of camp committee members.
getCampCommitteeSlots() - Method in class model.camp.Camp
Gets the number of camp committee slots available for the camp.
getCampData() - Static method in class stores.DataStore
Gets the camp data map
getCampID() - Method in class model.camp.Camp
Gets the unique identifier of the camp.
getCampID() - Method in class model.camp.Enquiry
Gets the identifier of the camp associated with the inquiry.
getCampID() - Method in class model.camp.Suggestion
Gets the identifier of the camp associated with the suggestion.
getCampID() - Method in class model.user.Committee
Gets the identifier of the camp where the committee member is associated.
getClosing() - Method in class model.camp.Camp
Gets the closing date of the camp.
getCommiteeID() - Method in class model.camp.Suggestion
Gets the identifier of the committee member who made the suggestion.
getCommitteeData() - Static method in class stores.DataStore
Gets the committee data map
getCreatedCamps() - Method in interface interfaces.ICampStaffService
Retrieves camps created by the staff member.
getCreatedCamps() - Method in class services.CampStaffService
Check who the logged in staff user is and get all the camps created by this staff user
getCurrentUser() - Static method in class stores.AuthStore
Gets the current user from the AuthStore
getDates() - Method in class model.camp.Camp
Gets the list of dates associated with the camp.
getDescription() - Method in class model.camp.Camp
Gets the description of the camp.
getEmail() - Method in class model.user.User
Gets the email of the user
getEnquiryData() - Static method in class stores.DataStore
Gets the request data map
getEnquiryID() - Method in class model.camp.Enquiry
Gets the unique identifier of the inquiry.
getFaculty() - Method in class model.user.User
Gets the user's faculty info
getID() - Method in class model.user.User
Gets the user's ID
getLocation() - Method in class model.camp.Camp
Gets the location of the camp.
getName() - Method in class model.camp.Camp
Gets the name of the camp.
getName() - Method in class model.user.User
Gets the user's name
getPassword() - Method in class model.user.User
Gets the user's password
getPoint() - Method in class model.user.Committee
Gets the points accrued by the committee member.
getQuestion() - Method in class model.camp.Enquiry
Gets the question of the inquiry.
getQuestion() - Method in class model.camp.Suggestion
Gets the description of the suggestion.
getRegisteredCamps(String) - Method in interface interfaces.ICampStudentService
Retrieves the camps registered by a specific student.
getRegisteredCamps(String) - Method in class services.CampStudentService
 
getReplierID() - Method in class model.camp.Enquiry
Gets the list of replier identifiers.
getReplierID() - Method in class model.camp.Suggestion
Gets the identifier of the replier (Staff incharge).
getReply() - Method in class model.camp.Enquiry
Gets the list of replies to the inquiry.
getReply() - Method in class model.camp.Suggestion
Gets the response to the suggestion.
getStaffData() - Static method in class stores.DataStore
Gets the staff data map
getStaffIC() - Method in class model.camp.Camp
Gets the staff in charge of the camp.
getStatus() - Method in class model.camp.Enquiry
Gets the status of the inquiry.
getStatus() - Method in class model.camp.Suggestion
Gets the status of the suggestion.
getStudentData() - Static method in class stores.DataStore
Gets the student data map
getStudentID() - Method in class model.camp.Enquiry
Gets the identifier of the student who initiated the inquiry.
getStudents() - Method in class model.camp.Camp
Gets the list of students (attendees) registered for the camp.
getSuggestionData() - Static method in class stores.DataStore
Gets the suggestion data map
getSuggestionID() - Method in class model.camp.Suggestion
Gets the unique identifier of the suggestion.
getTotalSlots() - Method in class model.camp.Camp
Gets the total number of slots available for the camp.
getType() - Method in class model.user.User
Gets the user's role
getUserData() - Static method in class stores.DataStore
Get the users data map
getVisibility() - Method in class model.camp.Camp
Gets the visibility status of the camp.
getWithdrawn() - Method in class model.camp.Camp
Gets the list of withdrawn participants from the camp.

I

IAuthService - Interface in interfaces
The IAuthService interface defines the methods for managing authentication services i.e.
ICampStaffService - Interface in interfaces
The ICampStaffService interface defines a contract for classes that provide services related to camp management for staff members.
ICampStudentService - Interface in interfaces
The ICampStudentService interface defines a contract for classes that provide services related to camp management for students.
ICampView - Interface in interfaces
The ICampView interface defines a contract for classes that provide methods to display information about camps.
IdNumberUtil - Class in util
The IdNumberUtil class provide utility functions that find the lowest available ID integer for Camp, Enquiry, and Suggestion so that the new object created will take the lowest available ID
IdNumberUtil() - Constructor for class util.IdNumberUtil
Construct an instance of IdNumberUtil
IEnquiryCommitteeService - Interface in interfaces
The IEnquiryCommitteeService interface defines the contract for services related to camp enquiries for committee members.
IEnquiryStaffService - Interface in interfaces
The IEnquiryStaffService interface defines the contract for services related to handling enquiries for camp staff.
IEnquiryStudentService - Interface in interfaces
The IEnquiryStudentService interface provides methods for interacting with student enquiries related to camps.
IEnquiryView - Interface in interfaces
The IEnquiryView interface defines a contract for classes that handle the display of Enquiry objects.
IFileDataService - Interface in interfaces
The IFileDataService interface defines a contract for classes that handle the import and export of data related to users, camps, enquiries, and suggestions.
importCampData(String) - Method in interface interfaces.IFileDataService
Imports camp data from the specified file.
importCampData(String) - Method in class services.CsvDataService
 
importCommitteeData(String, String) - Method in interface interfaces.IFileDataService
Imports committee data from specified files.
importCommitteeData(String, String) - Method in class services.CsvDataService
 
importEnquiryData(String) - Method in interface interfaces.IFileDataService
Imports enquiry data from the specified file.
importEnquiryData(String) - Method in class services.CsvDataService
 
importStaffData(String, String) - Method in interface interfaces.IFileDataService
Imports staff data from specified files.
importStaffData(String, String) - Method in class services.CsvDataService
 
importStudentData(String, String) - Method in interface interfaces.IFileDataService
Imports student data from specified files.
importStudentData(String, String) - Method in class services.CsvDataService
 
importSuggestionData(String) - Method in interface interfaces.IFileDataService
Imports suggestion data from the specified file.
importSuggestionData(String) - Method in class services.CsvDataService
 
initDataStore(IFileDataService, Map<String, String>) - Static method in class stores.DataStore
Initializes the DataStore by setting up the file data service, file paths map, and importing data from the file system
interfaces - package interfaces
This subpackage contains the user interface classes
IReportGeneratorService - Interface in interfaces
The IReportGeneratorService interface defines a contract for classes that provide methods to generate reports related to camps and committee performance.
isFirstLogin() - Method in class model.user.User
Check's if it's user's first login
isLoggedIn() - Static method in class stores.AuthStore
Checks if the user is logged in.
ISuggestionCommitteeService - Interface in interfaces
The ISuggestionCommitteeService interface defines a contract for classes that provide methods to manage suggestions submitted by students related to camps.
ISuggestionStaffService - Interface in interfaces
The ISuggestionStaffService interface defines a contract for classes that provide methods to manage suggestions submitted by students, specifically for staff members.
ISuggestionView - Interface in interfaces
The ISuggestionView interface defines a contract for classes that provide methods to display suggestions, particularly for user interfaces.
ITALIC - Static variable in class util.TextDecoratorUtil
TextDecoratorUtil.ITALIC constant ANSI escape code for italic text
italicText(String) - Static method in class util.TextDecoratorUtil
Formats string to be italicized
IUserService - Interface in interfaces
The IUserService interface defines a contract for user services

L

LKCMedicine - enums.Schools
Lee Kong Chian School of Medicine
location - Variable in class model.camp.Camp
location of camp
login(String) - Method in interface interfaces.IAuthService
Logs in a user with userID
login(String) - Method in class services.AuthCommitteeService
 
login(String, String) - Method in interface interfaces.IAuthService
Logs in a user with userID and password (for student and staff)
login(String, String) - Method in class services.AuthService
 
login(String, String) - Method in class services.AuthStaffService
 
login(String, String) - Method in class services.AuthStudentService
 
logout() - Method in interface interfaces.IAuthService
Logs out the currently logged in user.
logout() - Method in class services.AuthService
 
logout(String) - Method in class services.AuthCommitteeService
Log out of committee member user

M

MAE - enums.Schools
School of Mechanical and Aerospace Engineering
main - package main
This subpackage contains the application class
main(String[]) - Static method in class main.CAMS
Entry point for CAMS application.
model.camp - package model.camp
This subpackage contains classes for camps
model.user - package model.user
This subpackage contains classes for different users
MSE - enums.Schools
School of Materials Science and Engineering

N

name - Variable in class model.camp.Camp
name of camp
name - Variable in class model.user.User
Name of user.
NBS - enums.Schools
Nanyang Business School
NIE - enums.Schools
National Institute of Education

P

parseUserRow(String[]) - Method in class services.CsvDataService
parse string into a map for code
password - Variable in class model.user.User
Password of the user.
point - Variable in class model.user.Committee
Points accrued by the committee member.
pressEnterToContinue() - Static method in class view.CommonView
Prompts the user to press the "Enter" key to continue with the application.
printLine() - Static method in class view.CommonView
Prints a line of '=' to separate text
printNavbar(String) - Static method in class view.CommonView
Prints the navigation bar with the given path.
printStartUpScreen() - Static method in class view.CommonView
Prints the start up screen for Camp Application and Management System (CAMS)
Processed - enums.EnquiryStatus
enquiry is processed
Processing - enums.EnquiryStatus
enquiry is processing
Processing - enums.SuggestionStatus
Suggestion is Processing

Q

question - Variable in class model.camp.Enquiry
Question or description of the inquiry.
question - Variable in class model.camp.Suggestion
Question or description of the suggestion.

R

readCsvFile(String, List<String>) - Method in class services.CsvDataService
Reads data from the CSV file located at the given file path and returns it as a list of string arrays.
register() - Method in class controllers.StudentController
Allows the current student to register for a camp, choosing between attendee and camp committee member roles.
registeredCamps - Variable in class model.user.Student
List of registered camps
registerForCamp(String, int, boolean) - Method in interface interfaces.ICampStudentService
Registers a student for a specific camp.
registerForCamp(String, int, boolean) - Method in class services.CampStudentService
 
Rejected - enums.SuggestionStatus
Suggestion is Rejected
removeAttendee(String) - Method in class model.camp.Camp
Removes an attendee from the camp, increases the total available slots and add the attendee into the withdraw list
removeDefault() - Method in class model.user.User
Change firstLogin boolean to false after removing the default password
replierID - Variable in class model.camp.Enquiry
List of replier identifiers corresponding to each reply.
replierID - Variable in class model.camp.Suggestion
Identifier of the replier (usually a staff member).
reply - Variable in class model.camp.Enquiry
List of replies to the inquiry.
reply - Variable in class model.camp.Suggestion
Reply or response to the suggestion.
replyToEnquiries(IEnquiryView) - Method in class controllers.CommitteeController
Allows the committee to reply to a selected enquiry
replyToEnquiries(IEnquiryView) - Method in class controllers.StaffController
Staff to reply to a selected enquiry with response.
replyToEnquiry(String, String) - Method in class model.camp.Enquiry
Adds a reply to the inquiry and updates the status to Processed.
replyToEnquiry(Enquiry, String) - Method in interface interfaces.IEnquiryCommitteeService
Replies to a specific enquiry with the given reply text.
replyToEnquiry(Enquiry, String) - Method in interface interfaces.IEnquiryStaffService
Replies to a specific enquiry with the provided reply message.
replyToEnquiry(Enquiry, String) - Method in class services.EnquiryCommitteeService
 
replyToEnquiry(Enquiry, String) - Method in class services.EnquiryStaffService
 
reportGeneratorService - Static variable in class controllers.CommitteeController
This class has-a IReportGeneratorService object which the member can use to generate a report regarding the camp
reportGeneratorService - Static variable in class controllers.StaffController
This class has-a IReportGeneratorService object which the staff can use to generate a report regarding the camp
ReportGeneratorService - Class in services
ReportGeneratorService implements IReportGeneratorService interface and creates an user interface for camp reports
ReportGeneratorService() - Constructor for class services.ReportGeneratorService
Construct an instance of ReportGeneratorService
RESET - Static variable in class util.TextDecoratorUtil
TextDecoratorUtil.RESET constant ANSI reset code

S

saveData() - Static method in class stores.DataStore
Save the data from the DataStore to the file system.
SBS - enums.Schools
School of Biological Sciences
sc - Static variable in class controllers.AuthController
Scanner object to get input from user
sc - Static variable in class controllers.StaffController
Scanner object to get input
sc - Static variable in class controllers.StudentController
Scanner object to get input
sc - Static variable in class controllers.UserController
Scanner object to get input from user
sc - Static variable in class services.EnquiryStudentService
Scanner object to get input from user
sc - Static variable in class services.SuggestionCommitteeService
Scanner object to get input from user
sc - Static variable in class util.SelectorUtil
Scanner object to get input from the user.
sc - Static variable in class view.CommonView
Scanner object to get input from user
SchoolEnumUtil - Class in util
The SchoolEnumUtil provides utility functions for schools that camps are able to participate in
SchoolEnumUtil() - Constructor for class util.SchoolEnumUtil
Construct an instance of SchoolEnumUtil
Schools - Enum in enums
This enum represent various schools in NTU Each school is identified by its acronym
Schools() - Constructor for enum enums.Schools
 
schoolSelector() - Static method in class util.SelectorUtil
Selects school(s) from a list of schools by getting user input.
SCSE - enums.Schools
School of Computer Science and Engineering
SelectorUtil - Class in util
The SelectorUtil class provides utility methods to select various entities like camps, enquirie, suggestions and schools from a list by getting user input.
SelectorUtil() - Constructor for class util.SelectorUtil
Constructs an instance of the SelectorUtil class
services - package services
The subpackage contains classes for authentication and enquiry or suggestion features
setAnswers(String) - Method in class model.camp.Suggestion
Sets the response to the suggestion.
setAnswers(List<String>) - Method in class model.camp.Enquiry
Sets the list of replies to the inquiry.
setAvailable(List<Schools>) - Method in class model.camp.Camp
Sets the list of available schools for the camp.
setCampCommittee(List<String>) - Method in class model.camp.Camp
Sets the list of camp committee members.
setCampCommitteeSlots(int) - Method in class model.camp.Camp
Sets the number of camp committee slots available for the camp.
setCampData(Map<Integer, Camp>) - Static method in class stores.DataStore
Sets the camp data map and saves the data to the file system.
setCampID(int) - Method in class model.camp.Camp
Sets the unique identifier of the camp.
setCampID(int) - Method in class model.camp.Enquiry
Sets the identifier of the camp associated with the inquiry.
setCampID(int) - Method in class model.camp.Suggestion
Sets the identifier of the camp associated with the suggestion.
setCampID(int) - Method in class model.user.Committee
Sets the identifier of the camp where the committee member is associated.
setClosing(LocalDate) - Method in class model.camp.Camp
Sets the closing date of the camp.
setCommiteeID(String) - Method in class model.camp.Suggestion
Sets the identifier of the committee member who made the suggestion.
setCommitteeData(Map<String, Committee>) - Static method in class stores.DataStore
Sets the committee data map and saves the data to the file system.
setCurrentUser(User) - Static method in class stores.AuthStore
Set the current user in the AuthStore
setDates(List<LocalDate>) - Method in class model.camp.Camp
Sets the list of dates for the camp.
setDescription(String) - Method in class model.camp.Camp
Sets the description of the camp.
setEnquiryData(Map<Integer, Enquiry>) - Static method in class stores.DataStore
Sets the request data map and saves the data to the file system.
setEnquiryID(int) - Method in class model.camp.Enquiry
Sets the unique identifier of the inquiry.
setLocation(String) - Method in class model.camp.Camp
Sets the location of the camp.
setName(String) - Method in class model.camp.Camp
Sets the name of the camp.
setPassword(String) - Method in class model.user.User
Set password
setPoint(int) - Method in class model.user.Committee
Sets the points accrued by the committee member.
setQuestion(String) - Method in class model.camp.Enquiry
Sets the question or description of the inquiry.
setQuestion(String) - Method in class model.camp.Suggestion
Sets the description of the suggestion.
setReplierID(String) - Method in class model.camp.Suggestion
Sets the identifier of the replier (usually a staff member).
setReplierID(List<String>) - Method in class model.camp.Enquiry
Sets the list of replier identifiers.
setStaffData(Map<String, Staff>) - Static method in class stores.DataStore
Sets the staff data map and saves the data to the file system.
setStaffIC(String) - Method in class model.camp.Camp
Sets Unique identifier of the staff.
setStatus(EnquiryStatus) - Method in class model.camp.Enquiry
Sets the status of the inquiry.
setStatus(SuggestionStatus) - Method in class model.camp.Suggestion
Sets the status of the suggestion.
setStudentData(Map<String, Student>) - Static method in class stores.DataStore
Sets the student data map and saves the data to the file system.
setStudentID(String) - Method in class model.camp.Enquiry
Sets the identifier of the student who initiated the inquiry.
setStudents(List<String>) - Method in class model.camp.Camp
Sets the list of students (attendees) for the camp.
setSuggestionData(Map<Integer, Suggestion>) - Static method in class stores.DataStore
Sets the suggestion data map and saves the data to the file system.
setSuggestionID(int) - Method in class model.camp.Suggestion
Sets the unique identifier of the suggestion.
setTotalSlots(int) - Method in class model.camp.Camp
Sets the total number of slots available for the camp.
setType(UserRole) - Method in class model.user.User
Sets the usertype
setUserData(Map<String, User>) - Static method in class stores.DataStore
Sets the user data map and saves the data to the file system.
setVisibility(boolean) - Method in class model.camp.Camp
Sets the visibility status of the camp.
setWithdrawn(List<String>) - Method in class model.camp.Camp
Sets the list of withdrawn participants for the camp.
SOH - enums.Schools
School of Humanities
SPMS - enums.Schools
School of Physical and Mathematical Sciences
SSS - enums.Schools
School of Social Sciences
Staff - Class in model.user
This class Staff represents a staff member within the system.
Staff - enums.UserRole
user is a Staff
Staff(String, String, String, String, Schools, boolean) - Constructor for class model.user.Staff
Constructor of class Staff
StaffController - Class in controllers
The StaffController class provides methods to manage staff related functionalities in the CAMS application.
StaffController() - Constructor for class controllers.StaffController
Default constructor for the StaffContoller class
staffCsvHeaders - Static variable in class services.CsvDataService
List of headers for the CSV file that stores staff data.
staffData - Static variable in class stores.DataStore
A Map containing staff ID as the key and Staff objects as the value.
staffIC - Variable in class model.camp.Camp
staff in-charge of the camp
start() - Method in class controllers.StaffController
Starts the staff user session, providing access to various staff specific functionalities.
start() - Method in class controllers.StudentController
Starts the student controller, provides access to various functionalities based on the user's choice.
start(Committee, Camp) - Method in class controllers.CommitteeController
Starts the committee controller, allows the committee member to perform various actions related to specific camp.\
startSession() - Static method in class controllers.AuthController
Starting a session for log in
status - Variable in class model.camp.Enquiry
Status of the inquiry, indicating whether it's Processing or Processed.
status - Variable in class model.camp.Suggestion
Status of the suggestion, indicating whether it's Processing, Approved, or Rejected.
stores - package stores
This subpackage contains classes for file system and authenticated user
Student - Class in model.user
This class Student represents student in the system Students have ability to register for camps.
Student - enums.UserRole
user is a Student
Student(String, String, String, String, Schools, boolean) - Constructor for class model.user.Student
Constructor of class Student
StudentController - Class in controllers
The StudentController class is responsible for handling the student-specific user interface and user interactions.
StudentController() - Constructor for class controllers.StudentController
Default constructor for StudentController
studentCsvHeaders - Static variable in class services.CsvDataService
List of headers for the CSV file that stores student data.
studentData - Static variable in class stores.DataStore
A Map containing student ID as the key and Student objects as the value.
studentID - Variable in class model.camp.Enquiry
Identifier of the student who initiated the inquiry.
students - Variable in class model.camp.Camp
list of students participating in the camp
submitEnquiry() - Method in class controllers.StudentController
Allows the student to submit a new enquiry for a specific camp.
submitEnquiry(Camp) - Method in interface interfaces.IEnquiryStudentService
Submits a new enquiry for a specific camp.
submitEnquiry(Camp) - Method in class services.EnquiryStudentService
 
submitSuggestion() - Method in class controllers.CommitteeController
Submits a suggestion for the associated camp
submitSuggestions(Camp) - Method in interface interfaces.ISuggestionCommitteeService
Submits a suggestion for the specified camp.
submitSuggestions(Camp) - Method in class services.SuggestionCommitteeService
 
Suggestion - Class in model.camp
This class Suggestion is related to camp within the system Suggestions are made by committee member and can be approaved or reject by staff in charge for the camp.
Suggestion(int, int, String, String) - Constructor for class model.camp.Suggestion
Constructor for class Suggestion
Suggestion(int, int, String, String, String, String, SuggestionStatus) - Constructor for class model.camp.Suggestion
Constructor for class Suggestion
suggestionCommitteeService - Static variable in class controllers.CommitteeController
This class has-a ISuggestionCommitteeService object which the member has to deal with Suggestions that the participants sent
SuggestionCommitteeService - Class in services
SuggestionCommitteeService() - Constructor for class services.SuggestionCommitteeService
Construct an instance of SuggestionCommitteeService
suggestionCsvHeaders - Static variable in class services.CsvDataService
List of headers for the CSV file that stores suggestion data.
suggestionData - Static variable in class stores.DataStore
A Map containing a numerical Suggestion ID as the key and Suggestion objects as the value
suggestionID - Variable in class model.camp.Suggestion
Unique identifier for the suggestion.
suggestionSelector(ArrayList<Suggestion>) - Static method in class util.SelectorUtil
Selects an suggestion from a list of suggestions by getting user input.
suggestionStaffService - Static variable in class controllers.StaffController
This class has-a ISuggestionStaffService object deal with suggestions from the student regading the camp
SuggestionStaffService - Class in services
SuggestionStaffService implements ISuggestionStaffService interface and provide suggestions related functions for a staff user for selected camp
SuggestionStaffService() - Constructor for class services.SuggestionStaffService
Create an instance of SuggestionStaffService
SuggestionStatus - Enum in enums
This enum represent the status of a suggestion, which can be "Processing","Processed" or "Rejected" This indicates the current processing status of a suggestion
SuggestionStatus() - Constructor for enum enums.SuggestionStatus
 
SuggestionStatusUtil - Class in util
The SuggestionStatusUtil provides utility function for converts string input to an enum for the suggestion status variable
SuggestionStatusUtil() - Constructor for class util.SuggestionStatusUtil
Construct instance of SuggestionStatusUtil
SuggestionView - Class in view
The SuggestionView class implements ISuggestionView and provide a method to display suggestions
SuggestionView() - Constructor for class view.SuggestionView
Construct an instance of SuggestionView

T

TextDecoratorUtil - Class in util
The TextDecoratorUtil class provides utility methods for providing text decoration in the console display for the whole application.
TextDecoratorUtil() - Constructor for class util.TextDecoratorUtil
Construct an instance of TextDecoratorUtil
toggleCamp() - Method in class controllers.StaffController
Toggles the visibility of selected camps.
toggleCampVisibilty(ArrayList<Camp>) - Method in interface interfaces.ICampStaffService
Toggles the visibility of the provided list of camps.
toggleCampVisibilty(ArrayList<Camp>) - Method in class services.CampStaffService
 
totalSlots - Variable in class model.camp.Camp
total number of slots for camo
type - Variable in class model.user.User
UserRole of the user.

U

UNDERLINE - Static variable in class util.TextDecoratorUtil
TextDecoratorUtil.UNDERLINE constant ANSI escape code for underline text
underlineText(String) - Static method in class util.TextDecoratorUtil
Formats string to be underlined
User - Class in model.user
Represents a user using the system
User(String, String, String, String, Schools, UserRole, boolean) - Constructor for class model.user.User
Create an object of the User class
UserController - Class in controllers
The UserController class is responsible for handling user-related actions, such as changing the user's password.
UserController() - Constructor for class controllers.UserController
Default constructor of UserController class
userCsvHeaders - Static variable in class services.CsvDataService
List of headers for the CSV file that stores user data.
userData - Static variable in class stores.DataStore
A Map containing user ID as the key and User objects as the value
userID - Variable in class model.user.User
Unique NTU ID of the user.
UserRole - Enum in enums
This enum represents the role of a user, can be "Staff","Student" or "Committee"
UserRole() - Constructor for enum enums.UserRole
 
UserRoleUtil - Class in util
The UserRoleUtil provide utility function for converting string input to an enum for the user role variable
UserRoleUtil() - Constructor for class util.UserRoleUtil
Construct an instance of UserRoleUtil
UserService - Class in services
The UserService class implements the IUserService interface and provides functions for user management
UserService() - Constructor for class services.UserService
Constructs an instance of UserService class
util - package util
This subpackage contains useful classes and enums for program

V

valueOf(String) - Static method in enum enums.EnquiryStatus
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum enums.Schools
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum enums.SuggestionStatus
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum enums.UserRole
Returns the enum constant of this type with the specified name.
values() - Static method in enum enums.EnquiryStatus
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum enums.Schools
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum enums.SuggestionStatus
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum enums.UserRole
Returns an array containing the constants of this enum type, in the order they are declared.
view - package view
This subpackage contains classes for different views for camps, enquiries and suggestions
viewAllCamps(ICampView) - Method in class controllers.StaffController
Displays all camps regardless who is the creator, providing detailed information about each camp.
viewAllEnquiries() - Method in interface interfaces.IEnquiryStudentService
Retrieves a list of all enquiries made by the student.
viewAllEnquiries() - Method in class services.EnquiryStudentService
 
viewAllSuggestions() - Method in interface interfaces.ISuggestionCommitteeService
Retrieves a list of all suggestions.
viewAllSuggestions() - Method in class services.SuggestionCommitteeService
 
viewAvailableCamps(ICampView) - Method in class controllers.StudentController
Displays available camps to the student based on their school and visibility.
viewEnquiries(IEnquiryView) - Method in class controllers.CommitteeController
Displays a list of enquiries associated with the given camp that the Committee is associated with
viewEnquiries(IEnquiryView) - Method in class controllers.StaffController
Displays enquiries from all camps created by current staff, providing details about each enquiry.
viewEnquiries(IEnquiryView) - Method in class controllers.StudentController
Allows the student to view their own enquiries.
viewEnquiries(Camp) - Method in interface interfaces.IEnquiryCommitteeService
Retrieves a list of enquiries associated with the provided camp.
viewEnquiries(Camp) - Method in interface interfaces.IEnquiryStaffService
Retrieves a list of enquiries associated with a specific camp.
viewEnquiries(Camp) - Method in interface interfaces.ISuggestionStaffService
Retrieves a list of suggestions associated with the specified camp.
viewEnquiries(Camp) - Method in class services.EnquiryCommitteeService
 
viewEnquiries(Camp) - Method in class services.EnquiryStaffService
 
viewEnquiries(Camp) - Method in class services.SuggestionStaffService
 
viewProcessingEnquiries() - Method in interface interfaces.IEnquiryStudentService
Retrieves a list of processing enquiries made by the student.
viewProcessingEnquiries() - Method in class services.EnquiryStudentService
 
viewProcessingSuggestions() - Method in interface interfaces.ISuggestionCommitteeService
Retrieves a list of processing suggestions.
viewProcessingSuggestions() - Method in class services.SuggestionCommitteeService
 
viewRegisteredCamps(ICampView) - Method in class controllers.StudentController
Displays camps that the student is registered for and allows them to view detailed information.
viewSuggestion(ISuggestionView) - Method in class controllers.StaffController
Displays suggestions from all camps created by staff, providing details about each suggestion.
viewSuggestions(ISuggestionView) - Method in class controllers.CommitteeController
Displays a list of suggestions associated with the given camp that the Committee is associated with
visibility - Variable in class model.camp.Camp
the visibility of the camp

W

withdraw() - Method in class controllers.StudentController
Allows the current student to withdraw from a camp they are registered for.
withdrawFromCamp(String, int) - Method in interface interfaces.ICampStudentService
Withdraws a student from a specific camp.
withdrawFromCamp(String, int) - Method in class services.CampStudentService
 
withdrawn - Variable in class model.camp.Camp
list of withdrawn student from the camp
WKWSCI - enums.Schools
Wee Kim Wee School of Communication and Information
writeCsvFile(String, List<String>, List<String>) - Method in class services.CsvDataService
Writes the given data to a CSV file located at the given file path.
A B C D E F G I L M N P Q R S T U V W 
All Classes All Packages