Index
A B C D E F G H I L M P R S T U V _
All Classes All Packages
All Classes All Packages
All Classes All Packages
A
- add(Book) - Method in class my.edu.tarc.dco.bookrentalpos.BookManager
-
Add new book entry to the database
- add(Member) - Method in class my.edu.tarc.dco.bookrentalpos.MemberManager
-
Register a new member to database
- add(Staff) - Method in class my.edu.tarc.dco.bookrentalpos.StaffManager
-
Register a new staff into database
- add(Transaction) - Method in class my.edu.tarc.dco.bookrentalpos.TransactionManager
-
this function accepts transaction object where there is no id and date`
- add(T) - Method in class my.edu.tarc.dco.bookrentalpos.Manager
- addButtonOnPressed(Event) - Method in class bookrentalpos.StaffManagerController
- addReservationOnPressed(Event) - Method in class bookrentalpos.ReserveTransactionController
- addTransactionOnPressed(Event) - Method in class bookrentalpos.RentTransactionController
- alertBox(String) - Static method in class bookrentalpos.Dialog
-
Alert Box.
Recommended Usage:Dialog.alertBox("message"); - applyDiscountOnPressed(Event) - Method in class bookrentalpos.RentTransactionController
B
- backToMain(MouseEvent) - Method in class bookrentalpos.BookManagerController
- backToMain(MouseEvent) - Method in class bookrentalpos.MemberManagerController
- backToMain(MouseEvent) - Method in class bookrentalpos.ReportController
- backToMain(MouseEvent) - Method in class bookrentalpos.StaffManagerController
- backToMain(MouseEvent) - Method in class bookrentalpos.TransactionManagerController
- backToTransChoose(MouseEvent) - Method in class bookrentalpos.RentTransactionController
- backToTransChoose(MouseEvent) - Method in class bookrentalpos.ReserveTransactionController
- bm - Static variable in class bookrentalpos.Main
- Book - Class in my.edu.tarc.dco.bookrentalpos
-
Class used to store Book data for POS system
- Book() - Constructor for class my.edu.tarc.dco.bookrentalpos.Book
-
Blank
- Book(int, String, String, String, double, Member, Member, boolean, boolean) - Constructor for class my.edu.tarc.dco.bookrentalpos.Book
-
Constructor used to import Book data from Database
- Book(String, String, double) - Constructor for class my.edu.tarc.dco.bookrentalpos.Book
-
Constructor used to create a new Book entry
- bookFieldOnKeyPressed(Event) - Method in class bookrentalpos.ReserveTransactionController
- bookIDOnKeyPressed(Event) - Method in class bookrentalpos.RentTransactionController
- bookIDOnKeyPressed(Event) - Method in class bookrentalpos.ReturnTransactionController
- bookIDOnKeyReleased(Event) - Method in class bookrentalpos.RentTransactionController
- bookIDOnKeyReleased(Event) - Method in class bookrentalpos.ReturnTransactionController
- BookManager - Class in my.edu.tarc.dco.bookrentalpos
-
Class used to load all the Book data from the database
- BookManager(DBManager) - Constructor for class my.edu.tarc.dco.bookrentalpos.BookManager
- BookManagerController - Class in bookrentalpos
- BookManagerController() - Constructor for class bookrentalpos.BookManagerController
- bookrentalpos - package bookrentalpos
C
- cancelButton(Event) - Method in class bookrentalpos.BookManagerController
- cancelButton(Event) - Method in class bookrentalpos.MemberManagerController
- cancelEdit(Event) - Method in class bookrentalpos.EditProfileController
- cancelLogOut(MouseEvent) - Method in class bookrentalpos.MainMenuController
- cancelPopupOnPressed(Event) - Method in class bookrentalpos.StaffManagerController
- checkEmail(String) - Static method in class my.edu.tarc.dco.bookrentalpos.CustomUtil
-
Check if email is valid
- checkIC(String) - Static method in class my.edu.tarc.dco.bookrentalpos.CustomUtil
-
Checks if NRIC fits the Malaysia's IC Standard
Note that icNo given must not contain '-' - checkPassword(String) - Static method in class my.edu.tarc.dco.bookrentalpos.CustomUtil
-
Method to check if the password have at least 8 char long, have a number and have a capital letter
- checkPhoneNo(String) - Static method in class my.edu.tarc.dco.bookrentalpos.CustomUtil
-
Checks if phone number is valid.
- checkReservationOnPressed(Event) - Method in class bookrentalpos.ReserveTransactionController
- clearButtonClicked(MouseEvent) - Method in class bookrentalpos.MemberManagerController
- clearButtonOnAction(Event) - Method in class bookrentalpos.ReserveTransactionController
- clearInputFields() - Method in class bookrentalpos.RentTransactionController
- clearInputFields() - Method in class bookrentalpos.ReturnTransactionController
- clearOnPressed(Event) - Method in class bookrentalpos.BookManagerController
- clearOnPressed(Event) - Method in class bookrentalpos.StaffManagerController
- clearTransactionButtonOnPressed(Event) - Method in class bookrentalpos.RentTransactionController
- Clock - Class in bookrentalpos
- Clock() - Constructor for class bookrentalpos.Clock
- closeReturn(MouseEvent) - Method in class bookrentalpos.ReturnTransactionController
- confirmAddButton(Event) - Method in class bookrentalpos.BookManagerController
- confirmAddButton(Event) - Method in class bookrentalpos.MemberManagerController
- confirmAddOnPressed(Event) - Method in class bookrentalpos.StaffManagerController
- confirmBookDelete(MouseEvent) - Method in class bookrentalpos.BookManagerController
- confirmBox(String) - Static method in class bookrentalpos.Dialog
-
Confirmation Box
Recommended Usage:choice = Dialog.confirmBox("message"); - confirmEdit(Event) - Method in class bookrentalpos.EditProfileController
- confirmEditButton(Event) - Method in class bookrentalpos.BookManagerController
- confirmEditButton(Event) - Method in class bookrentalpos.MemberManagerController
- confirmLogOut(MouseEvent) - Method in class bookrentalpos.MainMenuController
- CustomUtil - Class in my.edu.tarc.dco.bookrentalpos
-
Contains all the custom utilities function
- CustomUtil() - Constructor for class my.edu.tarc.dco.bookrentalpos.CustomUtil
D
- daysDifference(Date, Date) - Static method in class my.edu.tarc.dco.bookrentalpos.CustomUtil
-
Calculate the date difference between 2 java date object
- daysIncrement(LocalDate, int) - Static method in class my.edu.tarc.dco.bookrentalpos.CustomUtil
-
This method will increment the provided localdate object by specified days
- db - Static variable in class bookrentalpos.Main
- DBManager - Class in my.edu.tarc.dco.bookrentalpos
-
Class used to execute queries for database
- DBManager() - Constructor for class my.edu.tarc.dco.bookrentalpos.DBManager
-
Only call once throughout the project and pass the reference around thanks
- DEPOSIT_RATES - Variable in class my.edu.tarc.dco.bookrentalpos.TransactionManager
-
Contains the rates for the deposit to pay for customer HashMap keys: rentalWeeks HashMap values: rates in % If more than 4 weeks, max % applies
- Dialog - Class in bookrentalpos
- Dialog() - Constructor for class bookrentalpos.Dialog
- disableBookIDTextField() - Method in class bookrentalpos.BookManagerController
-
Referring to Edit Pop Up Text Field
- disableNameTextField() - Method in class bookrentalpos.EditProfileController
-
Used when i dont want staff to change name
- disconnectDB() - Method in class my.edu.tarc.dco.bookrentalpos.DBManager
-
Used to disconnect current database connection
- DISCOUNT - my.edu.tarc.dco.bookrentalpos.TransactionType
- DiscountTransaction - Class in my.edu.tarc.dco.bookrentalpos
-
Class used to store DiscountTransaction
- DiscountTransaction() - Constructor for class my.edu.tarc.dco.bookrentalpos.DiscountTransaction
-
Blank
- DiscountTransaction(int, String, TransactionType, Staff, Member, Book, double) - Constructor for class my.edu.tarc.dco.bookrentalpos.DiscountTransaction
-
Constructor used for importing data from database
DO NOT use this to create new Transaction - DiscountTransaction(Member, double) - Constructor for class my.edu.tarc.dco.bookrentalpos.DiscountTransaction
-
Constructor used to create a Transaction for discount deduction
- display(Label) - Static method in class bookrentalpos.Clock
E
- editButtonOnPressed(Event) - Method in class bookrentalpos.StaffManagerController
- EditProfileController - Class in bookrentalpos
- EditProfileController() - Constructor for class bookrentalpos.EditProfileController
- Entity - Class in my.edu.tarc.dco.bookrentalpos
-
Parent class of all entity in POS system
- Entity() - Constructor for class my.edu.tarc.dco.bookrentalpos.Entity
-
Blank
- Entity(int, String, String) - Constructor for class my.edu.tarc.dco.bookrentalpos.Entity
-
Constructor to initialise Entity
- equals(Object) - Method in class my.edu.tarc.dco.bookrentalpos.Entity
-
Overridden equals() method to check against id of the entity
- execQuery(String) - Method in class my.edu.tarc.dco.bookrentalpos.DBManager
-
Execute query
F
- forgetPassword(MouseEvent) - Method in class bookrentalpos.LoginController
G
- GenerateReportController - Class in bookrentalpos
- GenerateReportController() - Constructor for class bookrentalpos.GenerateReportController
- getAmountInStore() - Method in class bookrentalpos._StockLevelReportTableData
- getAmountInSystem() - Method in class bookrentalpos._StockLevelReportTableData
- getAuthor() - Method in class bookrentalpos._ReserveTransactionBookTableData
- getAuthor() - Method in class bookrentalpos._StockLevelReportTableData
- getAuthor() - Method in class my.edu.tarc.dco.bookrentalpos.Book
- getBookAuthor() - Method in class bookrentalpos._RentTransactionTableData
- getBookAuthor() - Method in class bookrentalpos._ReserveTransactionMemberTableData
- getBookCount() - Method in class my.edu.tarc.dco.bookrentalpos.BookManager
- getBookCountInSystem() - Method in class my.edu.tarc.dco.bookrentalpos.BookManager
-
This function returns an arraylist of stockLevelReportTableData
The idea of this method: I abused the fact that COUNT() only returns the count of not null values.
So, to actually count the number of rented books, all i have to do is temporary set those not rented books(marked as 0) to null and then execute the query
After the function ends, the query will update null values back to 0 - getBookId() - Method in class bookrentalpos._RentTransactionTableData
- getBookID() - Method in class bookrentalpos._ReserveTransactionMemberTableData
- getBookInvolved() - Method in class my.edu.tarc.dco.bookrentalpos.Transaction
- getBookLastRentTransaction(Book) - Method in class my.edu.tarc.dco.bookrentalpos.TransactionManager
-
This function returns transaction of the last renting record of a specific book
- getBookLastReservedTransaction(Book) - Method in class my.edu.tarc.dco.bookrentalpos.TransactionManager
-
This function returns Transaction of the last reserve record of a specific book
- getBooksRentedByMember(Member) - Method in class my.edu.tarc.dco.bookrentalpos.BookManager
-
This function returns an array list of reference to the books record where it is currently rented by specifed member
- getBookTitle() - Method in class bookrentalpos._MemberTransactionTableData
- getBookTitle() - Method in class bookrentalpos._MonthlyReportTableData
- getBookTitle() - Method in class bookrentalpos._RentTransactionTableData
- getBookTitle() - Method in class bookrentalpos._ReserveTransactionMemberTableData
- getBookTitle() - Method in class bookrentalpos._StaffTransactionReportTableData
- getBookTitle() - Method in class bookrentalpos._StockLevelReportTableData
- getById(int) - Method in class my.edu.tarc.dco.bookrentalpos.BookManager
-
Get the reference to the book object with specified ID
- getById(int) - Method in class my.edu.tarc.dco.bookrentalpos.Manager
- getById(int) - Method in class my.edu.tarc.dco.bookrentalpos.MemberManager
-
Get reference to member object with specified ID
- getById(int) - Method in class my.edu.tarc.dco.bookrentalpos.StaffManager
-
Get staff object reference by id
- getById(int) - Method in class my.edu.tarc.dco.bookrentalpos.TransactionManager
-
get Transaction by ID
- getByName(String) - Method in class my.edu.tarc.dco.bookrentalpos.BookManager
-
Get the reference to the book object with specified Name
- getByName(String) - Method in class my.edu.tarc.dco.bookrentalpos.Manager
- getByName(String) - Method in class my.edu.tarc.dco.bookrentalpos.MemberManager
-
Get reference to member object with specified Name
- getByName(String) - Method in class my.edu.tarc.dco.bookrentalpos.StaffManager
-
Get staff object reference by name
- getByName(String) - Method in class my.edu.tarc.dco.bookrentalpos.TransactionManager
-
Not implemented
Reason: Transaction do not use the name field - getCache() - Method in class my.edu.tarc.dco.bookrentalpos.BookManager
-
Get a copy of the booklist array
For now, you should use BookManager.getBookCount() to get the array size - getCache() - Method in class my.edu.tarc.dco.bookrentalpos.Manager
- getCache() - Method in class my.edu.tarc.dco.bookrentalpos.MemberManager
-
Get a copy of the Member List cache located in this instance For now, you could obtain the length of the array through getMemberCount()
- getCache() - Method in class my.edu.tarc.dco.bookrentalpos.StaffManager
-
This function return a copy of the staff list loaded from the database
- getCache() - Method in class my.edu.tarc.dco.bookrentalpos.TransactionManager
-
Get a cache of the transaction list
Note: for the count of data you should get it from TransactionManager.getTransactionCount() - getCashFlow() - Method in class my.edu.tarc.dco.bookrentalpos.Transaction
- getCharges() - Method in class bookrentalpos._RentTransactionTableData
- getCustomerName() - Method in class bookrentalpos._StaffTransactionReportTableData
- getDate() - Method in class bookrentalpos._MemberPointReportTableData
- getDate() - Method in class bookrentalpos._MemberTransactionTableData
- getDate() - Method in class bookrentalpos._MonthlyReportTableData
- getDate() - Method in class bookrentalpos._StaffTransactionReportTableData
- getDateCreated() - Method in class my.edu.tarc.dco.bookrentalpos.Entity
- getDateReserved() - Method in class bookrentalpos._ReserveTransactionMemberTableData
- getDeposit() - Method in class bookrentalpos._RentTransactionTableData
- getEmail() - Method in class my.edu.tarc.dco.bookrentalpos.Member
- getErDate() - Method in class bookrentalpos._ReserveTransactionBookTableData
- getFinalAmount() - Method in class bookrentalpos._MemberTransactionTableData
- getFinalAmount() - Method in class bookrentalpos._MonthlyReportTableData
- getFinalAmount() - Method in class bookrentalpos._StaffTransactionReportTableData
- getFinalAmount() - Method in class bookrentalpos._StockLevelReportTableData
- getIcNo() - Method in class my.edu.tarc.dco.bookrentalpos.Member
- getId() - Method in class bookrentalpos._ReserveTransactionBookTableData
- getId() - Method in class my.edu.tarc.dco.bookrentalpos.Entity
- getLastErrorMsg() - Method in class my.edu.tarc.dco.bookrentalpos.DBManager
- getLastRentedBy() - Method in class my.edu.tarc.dco.bookrentalpos.Book
- getLastReservedBy() - Method in class my.edu.tarc.dco.bookrentalpos.Book
- getLogOnStaff() - Method in class my.edu.tarc.dco.bookrentalpos.StaffManager
- getMemberActiveReservations(Member) - Method in class my.edu.tarc.dco.bookrentalpos.TransactionManager
-
This function return an array list of books currently reserved by this member
- getMemberCount() - Method in class my.edu.tarc.dco.bookrentalpos.MemberManager
- getMemberInvolved() - Method in class my.edu.tarc.dco.bookrentalpos.Transaction
- getMemberName() - Method in class bookrentalpos._MonthlyReportTableData
- getMemberPoints() - Method in class my.edu.tarc.dco.bookrentalpos.Member
- getName() - Method in class my.edu.tarc.dco.bookrentalpos.Entity
- getPhoneNo() - Method in class my.edu.tarc.dco.bookrentalpos.Member
- getPoint() - Method in class bookrentalpos._MemberPointReportTableData
- getPW() - Method in class my.edu.tarc.dco.bookrentalpos.Staff
- getRentDuration() - Method in class bookrentalpos._RentTransactionTableData
- getRentDurationInDays() - Method in class my.edu.tarc.dco.bookrentalpos.RentTransaction
- getRentedText() - Method in class my.edu.tarc.dco.bookrentalpos.Book
-
FXML use
- getReservedText() - Method in class my.edu.tarc.dco.bookrentalpos.Book
-
FXML use
- getRetailPrice() - Method in class my.edu.tarc.dco.bookrentalpos.Book
- getStaffCount() - Method in class my.edu.tarc.dco.bookrentalpos.StaffManager
- getStaffHandled() - Method in class my.edu.tarc.dco.bookrentalpos.Transaction
- getTitle() - Method in class bookrentalpos._ReserveTransactionBookTableData
- getTotalPrice() - Method in class bookrentalpos._RentTransactionTableData
- getTransactionByDate(Date, Date) - Method in class my.edu.tarc.dco.bookrentalpos.TransactionManager
-
This function returns an array list of transactions between specified date range
- getTransactionByStaff(Staff, Date, Date) - Method in class my.edu.tarc.dco.bookrentalpos.TransactionManager
-
This function returns an array list of transactions for specific staff ID
- getTransactionCount() - Method in class my.edu.tarc.dco.bookrentalpos.TransactionManager
- getTransactionID() - Method in class bookrentalpos._MemberPointReportTableData
- getTransactionID() - Method in class bookrentalpos._MemberTransactionTableData
- getTransactionID() - Method in class bookrentalpos._StaffTransactionReportTableData
- getTransactionsByMember(Member) - Method in class my.edu.tarc.dco.bookrentalpos.TransactionManager
-
This function returns an array list of transactions for specific member id
- getTransactionsByMember(Member, Date, Date) - Method in class my.edu.tarc.dco.bookrentalpos.TransactionManager
-
This function have the same behavior as getTransactionsByMemberID(int) except it accepts startDate and endDate filter
- getTransactionType() - Method in class bookrentalpos._MemberTransactionTableData
- getTransactionType() - Method in class bookrentalpos._StaffTransactionReportTableData
- getType() - Method in class bookrentalpos._MonthlyReportTableData
- getType() - Method in class my.edu.tarc.dco.bookrentalpos.Transaction
- getWindow - Static variable in class bookrentalpos.BookManagerController
- getWindow - Static variable in class bookrentalpos.MemberManagerController
H
- hasAdminPrivillage() - Method in class my.edu.tarc.dco.bookrentalpos.Staff
-
This function does not work yet.
I
- initialize() - Method in class bookrentalpos.RentTransactionController
- initialize() - Method in class bookrentalpos.ReportController
- initialize() - Method in class bookrentalpos.ReturnTransactionController
- initialize() - Method in class bookrentalpos.StaffManagerController
- initialize(URL, ResourceBundle) - Method in class bookrentalpos.BookManagerController
- initialize(URL, ResourceBundle) - Method in class bookrentalpos.MainMenuController
- initialize(URL, ResourceBundle) - Method in class bookrentalpos.MemberManagerController
- initialize(URL, ResourceBundle) - Method in class bookrentalpos.ReserveTransactionController
- isAdmin() - Method in class my.edu.tarc.dco.bookrentalpos.Staff
- isRented() - Method in class my.edu.tarc.dco.bookrentalpos.Book
-
Check whether the book is currently rented
- isReserved() - Method in class my.edu.tarc.dco.bookrentalpos.Book
-
Check whether the book is currently reserved.
L
- Launcher - Class in bookrentalpos
- Launcher() - Constructor for class bookrentalpos.Launcher
- loadDataIntoReport(String, String, String, String) - Method in class bookrentalpos.GenerateReportController
- loadDataToEdit(Book) - Method in class bookrentalpos.BookManagerController
-
Referring to the fields in the Edit Pop up
- loadDataToEdit(Member) - Method in class bookrentalpos.MemberManagerController
-
Referring to member pop up edit
- loadDataToEdit(Staff) - Method in class bookrentalpos.EditProfileController
-
Referring to Staff ID and staff name
- loadDB() - Static method in class bookrentalpos.Main
- loadMemberPointsReportData() - Method in class bookrentalpos.GenerateReportController
- loadMemberTransactionReport() - Method in class bookrentalpos.GenerateReportController
- loadMonthlyReport(String, String) - Method in class bookrentalpos.GenerateReportController
- loadStaffTransactionReport() - Method in class bookrentalpos.GenerateReportController
- loadStockLevelReport() - Method in class bookrentalpos.GenerateReportController
- login(String, String) - Method in class my.edu.tarc.dco.bookrentalpos.StaffManager
-
Used to check if the provided username and password matches database
- LoginController - Class in bookrentalpos
- LoginController() - Constructor for class bookrentalpos.LoginController
- logOut() - Method in class my.edu.tarc.dco.bookrentalpos.StaffManager
-
Set logOnStaff to null
M
- main(String[]) - Static method in class bookrentalpos.Launcher
- Main - Class in bookrentalpos
- Main() - Constructor for class bookrentalpos.Main
- MainMenuController - Class in bookrentalpos
- MainMenuController() - Constructor for class bookrentalpos.MainMenuController
- mainWindow - Static variable in class bookrentalpos.MainMenuController
- Manager<T> - Class in my.edu.tarc.dco.bookrentalpos
-
Genric abstract class for all Managers
- Manager() - Constructor for class my.edu.tarc.dco.bookrentalpos.Manager
- MAXIMUM_RENT_PER_MEMBER - Variable in class my.edu.tarc.dco.bookrentalpos.TransactionManager
- md5Hash(String) - Static method in class my.edu.tarc.dco.bookrentalpos.CustomUtil
-
Convert String to its md5 hash using MessageDigest
- Member - Class in my.edu.tarc.dco.bookrentalpos
-
Class to hold member data
- Member() - Constructor for class my.edu.tarc.dco.bookrentalpos.Member
-
Blank
- Member(int, String, String, String, String, String, int) - Constructor for class my.edu.tarc.dco.bookrentalpos.Member
-
Constructor used to import data from database, DO NOT use it to create new member
- Member(String, String) - Constructor for class my.edu.tarc.dco.bookrentalpos.Member
-
Constructor to create a new member without contacts
- Member(String, String, String, String) - Constructor for class my.edu.tarc.dco.bookrentalpos.Member
-
Constructor to create a new member with contacts
- MEMBER_POINTS_NEEDED_TO_CLAIM_DISCOUNT - Variable in class my.edu.tarc.dco.bookrentalpos.TransactionManager
-
This variable is storing the members points needed to apply discount
- memberIDFieldOnPressed(Event) - Method in class bookrentalpos.ReserveTransactionController
- memberIDFieldOnReleased(Event) - Method in class bookrentalpos.ReserveTransactionController
- memberIDOnKeyPressed(Event) - Method in class bookrentalpos.RentTransactionController
- memberIDOnKeyReleased(Event) - Method in class bookrentalpos.RentTransactionController
- MemberManager - Class in my.edu.tarc.dco.bookrentalpos
-
Class to load Member data for the POS system
- MemberManager(DBManager) - Constructor for class my.edu.tarc.dco.bookrentalpos.MemberManager
- MemberManagerController - Class in bookrentalpos
- MemberManagerController() - Constructor for class bookrentalpos.MemberManagerController
- memberTableView - Variable in class bookrentalpos.MemberManagerController
- mm - Static variable in class bookrentalpos.Main
- my.edu.tarc.dco.bookrentalpos - package my.edu.tarc.dco.bookrentalpos
P
- PENALTY_RATES - Variable in class my.edu.tarc.dco.bookrentalpos.TransactionManager
-
Deposit deduction for each day the customer is late in returning the book
- popAddBook() - Method in class bookrentalpos.BookManagerController
- popAddMember() - Method in class bookrentalpos.MemberManagerController
- popDeleteBook(Event) - Method in class bookrentalpos.BookManagerController
- popDeleteMember(Event) - Method in class bookrentalpos.MemberManagerController
- popEditBook() - Method in class bookrentalpos.BookManagerController
- popEditMember() - Method in class bookrentalpos.MemberManagerController
- popEditProfile() - Method in class bookrentalpos.MainMenuController
- popLogOut(MouseEvent) - Method in class bookrentalpos.MainMenuController
R
- reload() - Method in class my.edu.tarc.dco.bookrentalpos.BookManager
-
Reload all the data from database
- reload() - Method in class my.edu.tarc.dco.bookrentalpos.Manager
- reload() - Method in class my.edu.tarc.dco.bookrentalpos.MemberManager
-
Reload all the data from database
- reload() - Method in class my.edu.tarc.dco.bookrentalpos.StaffManager
-
Reload the staff database
- reload() - Method in class my.edu.tarc.dco.bookrentalpos.TransactionManager
-
Reload all the data from database
- reloadBookDetailsField() - Method in class bookrentalpos.RentTransactionController
- reloadBookTable() - Method in class bookrentalpos.ReserveTransactionController
- reloadMemberDetailsField() - Method in class bookrentalpos.RentTransactionController
- reloadMemberDetailTextArea() - Method in class bookrentalpos.ReserveTransactionController
- reloadMemberTable() - Method in class bookrentalpos.ReserveTransactionController
- reloadRecordsCountLabel() - Method in class bookrentalpos.BookManagerController
- reloadRecordsCountLabel() - Method in class bookrentalpos.MemberManagerController
- reloadRecordsCountLabel() - Method in class bookrentalpos.StaffManagerController
- reloadTableView() - Method in class bookrentalpos.BookManagerController
- reloadTableView() - Method in class bookrentalpos.GenerateReportController
- reloadTableView() - Method in class bookrentalpos.MemberManagerController
- reloadTableView() - Method in class bookrentalpos.RentTransactionController
- reloadTableView() - Method in class bookrentalpos.ReserveTransactionController
- reloadTableView() - Method in class bookrentalpos.StaffManagerController
- reloadTableView() - Method in interface bookrentalpos.TableInterface
- reloadTotalPriceLabel() - Method in class bookrentalpos.RentTransactionController
- remove(Book) - Method in class my.edu.tarc.dco.bookrentalpos.BookManager
-
Remove the book from the database
NOTE: All the related table will have this book removed as well - remove(Member) - Method in class my.edu.tarc.dco.bookrentalpos.MemberManager
-
Remove a member from database
NOTE: The removed member's data will be removed from other related table as well - remove(Staff) - Method in class my.edu.tarc.dco.bookrentalpos.StaffManager
-
Remove staff from the database
NOTE: The removed staff will not appear in other table as well - remove(Transaction) - Method in class my.edu.tarc.dco.bookrentalpos.TransactionManager
-
Remove transaction of specific trans from database
- remove(T) - Method in class my.edu.tarc.dco.bookrentalpos.Manager
- removeButtonOnPressed(Event) - Method in class bookrentalpos.StaffManagerController
- RENT - my.edu.tarc.dco.bookrentalpos.TransactionType
- rentButtonOnPressed(Event) - Method in class bookrentalpos.RentTransactionController
- RentTransaction - Class in my.edu.tarc.dco.bookrentalpos
-
Class used to store Rent Transaction
- RentTransaction() - Constructor for class my.edu.tarc.dco.bookrentalpos.RentTransaction
-
Blank
- RentTransaction(int, String, TransactionType, Staff, Member, Book, double, int) - Constructor for class my.edu.tarc.dco.bookrentalpos.RentTransaction
-
Constructor used to import from database
DO NOT use it to create new RentTransaction - RentTransaction(Staff, Member, Book, int, double) - Constructor for class my.edu.tarc.dco.bookrentalpos.RentTransaction
-
Constructor used to create a new RentTransaction
- RentTransactionController - Class in bookrentalpos
- RentTransactionController() - Constructor for class bookrentalpos.RentTransactionController
- reportChosen(Number) - Method in class bookrentalpos.ReportController
- ReportController - Class in bookrentalpos
- ReportController() - Constructor for class bookrentalpos.ReportController
- RESERVE - my.edu.tarc.dco.bookrentalpos.TransactionType
- ReserveTransaction - Class in my.edu.tarc.dco.bookrentalpos
-
Class used to store reserve Transaction
- ReserveTransaction() - Constructor for class my.edu.tarc.dco.bookrentalpos.ReserveTransaction
-
Blank
- ReserveTransaction(int, String, TransactionType, Staff, Member, Book, double) - Constructor for class my.edu.tarc.dco.bookrentalpos.ReserveTransaction
-
Constructor used for importing data from database
DO NOT use this to create new Transaction - ReserveTransaction(Staff, Member, Book) - Constructor for class my.edu.tarc.dco.bookrentalpos.ReserveTransaction
-
Constructor for Reserve Transaction
- ReserveTransactionController - Class in bookrentalpos
- ReserveTransactionController() - Constructor for class bookrentalpos.ReserveTransactionController
- resetPriceLabels() - Method in class bookrentalpos.ReturnTransactionController
- resultQuery(String) - Method in class my.edu.tarc.dco.bookrentalpos.DBManager
-
Execute query that returns rows of data
- RETURN - my.edu.tarc.dco.bookrentalpos.TransactionType
- returnButtonOnPressed(Event) - Method in class bookrentalpos.ReturnTransactionController
- ReturnTransaction - Class in my.edu.tarc.dco.bookrentalpos
-
Class used to store RentTransaction
- ReturnTransaction() - Constructor for class my.edu.tarc.dco.bookrentalpos.ReturnTransaction
-
Blank
- ReturnTransaction(int, String, TransactionType, Staff, Member, Book, double) - Constructor for class my.edu.tarc.dco.bookrentalpos.ReturnTransaction
-
Constructor used for importing data from database
DO NOT use this to create new Transaction - ReturnTransaction(Staff, Member, Book, double) - Constructor for class my.edu.tarc.dco.bookrentalpos.ReturnTransaction
-
Constructor used for Returntransaction
- ReturnTransactionController - Class in bookrentalpos
- ReturnTransactionController() - Constructor for class bookrentalpos.ReturnTransactionController
S
- searchButtonClicked(Event) - Method in class bookrentalpos.MemberManagerController
- searchButtonOnAction(Event) - Method in class bookrentalpos.ReserveTransactionController
- searchOnPressed(Event) - Method in class bookrentalpos.BookManagerController
- searchOnPressed(Event) - Method in class bookrentalpos.StaffManagerController
- searchQueryOnKeyPressed(Event) - Method in class bookrentalpos.BookManagerController
- searchQueryOnKeyPressed(Event) - Method in class bookrentalpos.MemberManagerController
- searchQueryOnKeyPressed(Event) - Method in class bookrentalpos.StaffManagerController
- setAdminStatus(boolean) - Method in class my.edu.tarc.dco.bookrentalpos.Staff
- setAmountInStore(String) - Method in class bookrentalpos._StockLevelReportTableData
- setAmountInSystem(String) - Method in class bookrentalpos._StockLevelReportTableData
- setAuthor(String) - Method in class bookrentalpos._ReserveTransactionBookTableData
- setAuthor(String) - Method in class bookrentalpos._StockLevelReportTableData
- setAuthor(String) - Method in class my.edu.tarc.dco.bookrentalpos.Book
- setBookAuthor(String) - Method in class bookrentalpos._RentTransactionTableData
- setBookAuthor(String) - Method in class bookrentalpos._ReserveTransactionMemberTableData
- setBookId(int) - Method in class bookrentalpos._RentTransactionTableData
- setBookID(String) - Method in class bookrentalpos._ReserveTransactionMemberTableData
- setBookInvovled(Book) - Method in class my.edu.tarc.dco.bookrentalpos.Transaction
- setBookTitle(String) - Method in class bookrentalpos._MemberTransactionTableData
- setBookTitle(String) - Method in class bookrentalpos._MonthlyReportTableData
- setBookTitle(String) - Method in class bookrentalpos._RentTransactionTableData
- setBookTitle(String) - Method in class bookrentalpos._ReserveTransactionMemberTableData
- setBookTitle(String) - Method in class bookrentalpos._StaffTransactionReportTableData
- setBookTitle(String) - Method in class bookrentalpos._StockLevelReportTableData
- setCashFlow(double) - Method in class my.edu.tarc.dco.bookrentalpos.Transaction
- setCharges(String) - Method in class bookrentalpos._RentTransactionTableData
- setCustomerName(String) - Method in class bookrentalpos._StaffTransactionReportTableData
- setDate(String) - Method in class bookrentalpos._MemberPointReportTableData
- setDate(String) - Method in class bookrentalpos._MemberTransactionTableData
- setDate(String) - Method in class bookrentalpos._MonthlyReportTableData
- setDate(String) - Method in class bookrentalpos._StaffTransactionReportTableData
- setDateCreated(String) - Method in class my.edu.tarc.dco.bookrentalpos.Entity
-
This function shouldn't be used except for initialization purpose
- setDateReserved(String) - Method in class bookrentalpos._ReserveTransactionMemberTableData
- setDeposit(String) - Method in class bookrentalpos._RentTransactionTableData
- setEmail(String) - Method in class my.edu.tarc.dco.bookrentalpos.Member
- setErDate(String) - Method in class bookrentalpos._ReserveTransactionBookTableData
- setFinalAmount(String) - Method in class bookrentalpos._MemberTransactionTableData
- setFinalAmount(String) - Method in class bookrentalpos._MonthlyReportTableData
- setFinalAmount(String) - Method in class bookrentalpos._StaffTransactionReportTableData
- setFinalAmount(String) - Method in class bookrentalpos._StockLevelReportTableData
- setIcNo(String) - Method in class my.edu.tarc.dco.bookrentalpos.Member
- setId(String) - Method in class bookrentalpos._ReserveTransactionBookTableData
- setID(int) - Method in class my.edu.tarc.dco.bookrentalpos.Entity
-
This function shouldn't be used except for initialization purpose
- setLastRentedBy(Member) - Method in class my.edu.tarc.dco.bookrentalpos.Book
- setLastReservedBy(Member) - Method in class my.edu.tarc.dco.bookrentalpos.Book
- setMemberIDFieldEnabled(boolean) - Method in class bookrentalpos.RentTransactionController
- setMemberInvolved(Member) - Method in class my.edu.tarc.dco.bookrentalpos.Transaction
- setMemberName(String) - Method in class bookrentalpos._MonthlyReportTableData
- setMemberPoints(int) - Method in class my.edu.tarc.dco.bookrentalpos.Member
- setName(String) - Method in class my.edu.tarc.dco.bookrentalpos.Entity
- setPassword(String) - Method in class my.edu.tarc.dco.bookrentalpos.Staff
- setPhoneNo(String) - Method in class my.edu.tarc.dco.bookrentalpos.Member
- setPoint(String) - Method in class bookrentalpos._MemberPointReportTableData
- setRentDuration(String) - Method in class bookrentalpos._RentTransactionTableData
- setRentDurationInDays(int) - Method in class my.edu.tarc.dco.bookrentalpos.RentTransaction
- setRented(boolean) - Method in class my.edu.tarc.dco.bookrentalpos.Book
- setRentedText(String) - Method in class my.edu.tarc.dco.bookrentalpos.Book
-
FXML use
- setReportType(ReportType) - Method in class bookrentalpos.GenerateReportController
- setReserved(boolean) - Method in class my.edu.tarc.dco.bookrentalpos.Book
- setReservedText(String) - Method in class my.edu.tarc.dco.bookrentalpos.Book
-
FXML use
- setRetailPrice(double) - Method in class my.edu.tarc.dco.bookrentalpos.Book
- setStaffHandled(Staff) - Method in class my.edu.tarc.dco.bookrentalpos.Transaction
- setStaffVisible() - Method in class bookrentalpos.MainMenuController
- setTitle(String) - Method in class bookrentalpos._ReserveTransactionBookTableData
- setTotalPrice(String) - Method in class bookrentalpos._RentTransactionTableData
- setTransactionID(String) - Method in class bookrentalpos._MemberPointReportTableData
- setTransactionID(String) - Method in class bookrentalpos._MemberTransactionTableData
- setTransactionID(String) - Method in class bookrentalpos._StaffTransactionReportTableData
- setTransactionType(String) - Method in class bookrentalpos._MemberTransactionTableData
- setTransactionType(String) - Method in class bookrentalpos._StaffTransactionReportTableData
- setType(String) - Method in class bookrentalpos._MonthlyReportTableData
- setType(TransactionType) - Method in class my.edu.tarc.dco.bookrentalpos.Transaction
- showReport() - Method in class bookrentalpos.ReportController
- sm - Static variable in class bookrentalpos.Main
- Staff - Class in my.edu.tarc.dco.bookrentalpos
-
Class used to store Staff data
- Staff() - Constructor for class my.edu.tarc.dco.bookrentalpos.Staff
-
Blank
- Staff(int, String, String, String) - Constructor for class my.edu.tarc.dco.bookrentalpos.Staff
-
Constructor used to import data from database.
- Staff(String, String) - Constructor for class my.edu.tarc.dco.bookrentalpos.Staff
-
Constructor used to create new Staff
- StaffManager - Class in my.edu.tarc.dco.bookrentalpos
-
Class to load Staff data for the POS system
- StaffManager(DBManager) - Constructor for class my.edu.tarc.dco.bookrentalpos.StaffManager
- StaffManagerController - Class in bookrentalpos
- StaffManagerController() - Constructor for class bookrentalpos.StaffManagerController
- start(Stage) - Method in class bookrentalpos.Main
- stringToDate(String) - Static method in class my.edu.tarc.dco.bookrentalpos.CustomUtil
-
Convert date time generated in sqlite database to java date object
T
- TableInterface - Interface in bookrentalpos
- tableOnClick(Event) - Method in class bookrentalpos.BookManagerController
- tableOnClick(Event) - Method in class bookrentalpos.GenerateReportController
- tableOnClick(Event) - Method in class bookrentalpos.MemberManagerController
- tableOnClick(Event) - Method in class bookrentalpos.RentTransactionController
- tableOnClick(Event) - Method in class bookrentalpos.ReserveTransactionController
- tableOnClick(Event) - Method in class bookrentalpos.StaffManagerController
- tableOnClick(Event) - Method in interface bookrentalpos.TableInterface
- tableOnKeyPressed(Event) - Method in class bookrentalpos.BookManagerController
- tableOnKeyPressed(Event) - Method in class bookrentalpos.GenerateReportController
- tableOnKeyPressed(Event) - Method in class bookrentalpos.MemberManagerController
- tableOnKeyPressed(Event) - Method in class bookrentalpos.RentTransactionController
- tableOnKeyPressed(Event) - Method in class bookrentalpos.ReserveTransactionController
- tableOnKeyPressed(Event) - Method in class bookrentalpos.StaffManagerController
- tableOnKeyPressed(Event) - Method in interface bookrentalpos.TableInterface
- textFieldOnKeyPressed(Event) - Method in class bookrentalpos.BookManagerController
- textFieldOnKeyPressed(Event) - Method in class bookrentalpos.EditProfileController
- textFieldOnKeyPressed(Event) - Method in class bookrentalpos.StaffManagerController
- textFieldOnKeyPressed(KeyEvent) - Method in class bookrentalpos.MemberManagerController
- tm - Static variable in class bookrentalpos.Main
- toGenerateReport(MouseEvent) - Method in class bookrentalpos.MainMenuController
- toManageBook(MouseEvent) - Method in class bookrentalpos.MainMenuController
- toManageMember(MouseEvent) - Method in class bookrentalpos.MainMenuController
- toManageStaff(MouseEvent) - Method in class bookrentalpos.MainMenuController
- toManageTransaction(MouseEvent) - Method in class bookrentalpos.MainMenuController
- toRentTransaction(MouseEvent) - Method in class bookrentalpos.TransactionManagerController
- toReserveTransaction(MouseEvent) - Method in class bookrentalpos.TransactionManagerController
- toReturnTransaction(MouseEvent) - Method in class bookrentalpos.TransactionManagerController
- toString() - Method in class my.edu.tarc.dco.bookrentalpos.Book
- toString() - Method in class my.edu.tarc.dco.bookrentalpos.Member
- Transaction - Class in my.edu.tarc.dco.bookrentalpos
-
Class used to store transaction of the POS system
- Transaction() - Constructor for class my.edu.tarc.dco.bookrentalpos.Transaction
-
Blank
- Transaction(int, String, TransactionType, Staff, Member, Book, double) - Constructor for class my.edu.tarc.dco.bookrentalpos.Transaction
-
Constructor used for importing data from database
DO NOT use this to create new Transaction - Transaction(Staff, Member, Book) - Constructor for class my.edu.tarc.dco.bookrentalpos.Transaction
-
Constructor for every Transaction
- TransactionManager - Class in my.edu.tarc.dco.bookrentalpos
-
Used to load all transactions from the database
- TransactionManager(DBManager, BookManager, MemberManager) - Constructor for class my.edu.tarc.dco.bookrentalpos.TransactionManager
- TransactionManagerController - Class in bookrentalpos
- TransactionManagerController() - Constructor for class bookrentalpos.TransactionManagerController
- TransactionType - Enum in my.edu.tarc.dco.bookrentalpos
U
- update(Book) - Method in class my.edu.tarc.dco.bookrentalpos.BookManager
-
Update the book entry into database
- update(Member) - Method in class my.edu.tarc.dco.bookrentalpos.MemberManager
-
Update data of existing member to database
- update(Staff) - Method in class my.edu.tarc.dco.bookrentalpos.StaffManager
-
Update staff information to database
- update(Transaction) - Method in class my.edu.tarc.dco.bookrentalpos.TransactionManager
-
Update transaction table in database
- update(T) - Method in class my.edu.tarc.dco.bookrentalpos.Manager
- updateBookReservationStatus() - Method in class my.edu.tarc.dco.bookrentalpos.TransactionManager
-
This function is suppose to update the reservation status of all the books
Criteria as stated below:
- If the book is not reserved, dont touch it
- If the book is reserved, check if the book is being rented at the moment
- If the book is rented, dont touch it
- If the book is not rented, or in other words it was returned, check if (return date - current date) > 7 days
- If > 7 days, set reserved status as false
- If !(> 7 days), dont touch it - updateQuery(String) - Method in class my.edu.tarc.dco.bookrentalpos.DBManager
-
Execute update Query
V
- validateAccount(Event) - Method in class bookrentalpos.LoginController
- valueOf(String) - Static method in enum my.edu.tarc.dco.bookrentalpos.TransactionType
-
Returns the enum constant of this type with the specified name.
- values() - Static method in enum my.edu.tarc.dco.bookrentalpos.TransactionType
-
Returns an array containing the constants of this enum type, in the order they are declared.
_
- _MemberPointReportTableData - Class in bookrentalpos
- _MemberPointReportTableData(String, String, String) - Constructor for class bookrentalpos._MemberPointReportTableData
- _MemberTransactionTableData - Class in bookrentalpos
- _MemberTransactionTableData(String, String, String, String, String) - Constructor for class bookrentalpos._MemberTransactionTableData
- _MonthlyReportTableData - Class in bookrentalpos
- _MonthlyReportTableData(String, String, String, String, String) - Constructor for class bookrentalpos._MonthlyReportTableData
- _RentTransactionTableData - Class in bookrentalpos
- _RentTransactionTableData() - Constructor for class bookrentalpos._RentTransactionTableData
- _RentTransactionTableData(int, String, String, String, String, String, String) - Constructor for class bookrentalpos._RentTransactionTableData
- _ReserveTransactionBookTableData - Class in bookrentalpos
- _ReserveTransactionBookTableData(String, String, String, String) - Constructor for class bookrentalpos._ReserveTransactionBookTableData
- _ReserveTransactionMemberTableData - Class in bookrentalpos
- _ReserveTransactionMemberTableData() - Constructor for class bookrentalpos._ReserveTransactionMemberTableData
- _ReserveTransactionMemberTableData(String, String, String, String) - Constructor for class bookrentalpos._ReserveTransactionMemberTableData
- _StaffTransactionReportTableData - Class in bookrentalpos
- _StaffTransactionReportTableData(String, String, String, String, String, String) - Constructor for class bookrentalpos._StaffTransactionReportTableData
- _StockLevelReportTableData - Class in bookrentalpos
- _StockLevelReportTableData(String, String, String, String, String) - Constructor for class bookrentalpos._StockLevelReportTableData
All Classes All Packages