getAll();
19 | }
20 |
--------------------------------------------------------------------------------
/src/main/java/lk/ijse/library_management/util/OTPGenerator.java:
--------------------------------------------------------------------------------
1 | package lk.ijse.library_management.util;
2 |
3 | import java.util.Random;
4 |
5 | public class OTPGenerator {
6 | public static String generateOTP() {
7 | int length = 6;
8 |
9 | String numbers = "0123456789";
10 |
11 | Random rndm_method = new Random();
12 |
13 | char[] otp = new char[length];
14 |
15 | for (int i = 0; i < length; i++) {
16 | otp[i] = numbers.charAt(rndm_method.nextInt(numbers.length()));
17 | }
18 |
19 | return new String(otp);
20 | }
21 | }
22 |
--------------------------------------------------------------------------------
/src/main/java/lk/ijse/library_management/util/Regex.java:
--------------------------------------------------------------------------------
1 | package lk.ijse.library_management.util;
2 |
3 | import java.util.regex.Pattern;
4 |
5 | public class Regex {
6 | public static boolean fullName(String name) {
7 | return !Pattern.matches("([A-Za-z\\s]{3,})", name);
8 | }
9 |
10 | public static boolean genre(String genre) {
11 | return !Pattern.matches("([A-Za-z\\s]{3,})", genre);
12 | }
13 |
14 | public static boolean name(String name) {
15 | return !Pattern.matches("([A-Za-z]{3,})", name);
16 | }
17 |
18 | public static boolean mobile(String mobile) {
19 | return !Pattern.matches("(0\\d{1,9})", mobile);
20 | }
21 |
22 | public static boolean email(String email) {
23 | return !Pattern.matches("([A-Za-z0-9]{3,}@[A-Za-z]{3,}\\.[A-Za-z]+)", email);
24 | }
25 |
26 | public static boolean address(String address) {
27 | return !Pattern.matches("([A-Za-z0-9/\",\\s]{3,})", address);
28 | }
29 |
30 | public static boolean userName(String user) {
31 | return !Pattern.matches("[A-Za-z]+", user);
32 | }
33 |
34 | public static boolean title(String desc) {
35 | return !Pattern.matches("[A-Z][A-Za-z\\s]{2,}", desc);
36 | }
37 |
38 | public static boolean password(String password) {
39 | return !Pattern.matches("([ -~]{6,20})", password);
40 | }
41 |
42 | public static boolean otp(String otp) {
43 | return !Pattern.matches("\\d{6}", otp);
44 | }
45 | }
46 |
--------------------------------------------------------------------------------
/src/main/java/lk/ijse/library_management/util/SessionFactoryConfig.java:
--------------------------------------------------------------------------------
1 | package lk.ijse.library_management.util;
2 |
3 | import lk.ijse.library_management.entity.*;
4 | import org.hibernate.HibernateException;
5 | import org.hibernate.Session;
6 | import org.hibernate.SessionFactory;
7 | import org.hibernate.cfg.Configuration;
8 |
9 | public class SessionFactoryConfig {
10 |
11 | private static SessionFactoryConfig factoryConfiguration;
12 | private final SessionFactory sessionFactory;
13 |
14 | private SessionFactoryConfig() {
15 | sessionFactory = new Configuration()
16 | .mergeProperties(Utility.getProperties())
17 | .addAnnotatedClass(Branch.class)
18 | .addAnnotatedClass(Admin.class)
19 | .addAnnotatedClass(Book.class)
20 | .addAnnotatedClass(Member.class)
21 | .addAnnotatedClass(Transaction.class)
22 | .addAnnotatedClass(TransactionDetails.class)
23 | .buildSessionFactory();
24 | }
25 |
26 | public static SessionFactoryConfig getInstance() {
27 | return (null == factoryConfiguration)
28 | ? factoryConfiguration = new SessionFactoryConfig()
29 | : factoryConfiguration;
30 | }
31 |
32 | public Session getSession() throws HibernateException {
33 | return sessionFactory.openSession();
34 | }
35 | }
--------------------------------------------------------------------------------
/src/main/java/lk/ijse/library_management/util/Utility.java:
--------------------------------------------------------------------------------
1 | package lk.ijse.library_management.util;
2 |
3 | import java.io.IOException;
4 | import java.util.Properties;
5 |
6 | public class Utility {
7 |
8 | public static Properties getProperties() {
9 | Properties properties = new Properties();
10 | try {
11 | properties.load(ClassLoader
12 | .getSystemClassLoader()
13 | .getResourceAsStream("hibernate.properties"));
14 | } catch (IOException e) {
15 | System.out.println("Property file not found!");
16 | e.printStackTrace();
17 | }
18 | return properties;
19 | }
20 |
21 | }
--------------------------------------------------------------------------------
/src/main/java/lk/ijse/library_management/util/navigation/AdminNavigation.java:
--------------------------------------------------------------------------------
1 | package lk.ijse.library_management.util.navigation;
2 |
3 | import javafx.event.ActionEvent;
4 | import javafx.fxml.FXMLLoader;
5 | import javafx.scene.Parent;
6 | import javafx.scene.Scene;
7 | import javafx.scene.layout.AnchorPane;
8 | import javafx.stage.Stage;
9 | import javafx.scene.Node;
10 | import javafx.stage.StageStyle;
11 | import lk.ijse.library_management.controller.admin.AdminGlobalFormController;
12 | import lk.ijse.library_management.controller.admin.AdminGlobalLoginFormController;
13 | import lk.ijse.library_management.controller.admin.SignInFormController;
14 |
15 |
16 | import java.io.IOException;
17 |
18 | public class AdminNavigation {
19 |
20 | private static Parent parent;
21 | private static Stage stage;
22 | private static Scene scene;
23 |
24 | public static void switchNavigation(String path, ActionEvent event) throws IOException {
25 | parent = FXMLLoader.load(AdminNavigation.class.getResource("/view/admin/" + path));
26 | stage = (Stage) ((Node) event.getSource()).getScene().getWindow();
27 | SignInFormController.stage = stage;
28 | scene = new Scene(parent);
29 | stage.setScene(scene);
30 | stage.centerOnScreen();
31 | stage.show();
32 | }
33 |
34 | public static void switchPaging(String path) throws IOException {
35 | AdminGlobalFormController.getInstance().pagingPane.getChildren().clear();
36 | FXMLLoader loader = new FXMLLoader(AdminNavigation.class.getResource("/view/admin/"+path));
37 | Parent root = loader.load();
38 | AdminGlobalFormController.getInstance().pagingPane.getChildren().add(root);
39 | }
40 |
41 | public static void popupPane(String path) throws IOException {
42 |
43 | AdminGlobalFormController.getInstance().popUpPane.setVisible(true);
44 | AdminGlobalFormController.getInstance().imgGreyBack.setVisible(true);
45 |
46 | AnchorPane root = FXMLLoader.load(AdminNavigation.class.getResource("/view/admin/" + path));
47 |
48 | Stage popupStage = new Stage();
49 | AdminGlobalFormController.getInstance().setPopupStage(popupStage);
50 | popupStage.setScene(new Scene(root));
51 | popupStage.centerOnScreen();
52 | popupStage.initOwner(AdminGlobalFormController.getInstance().popUpPane.getScene().getWindow());
53 | popupStage.initStyle(StageStyle.UNDECORATED);
54 | popupStage.show();
55 | }
56 |
57 | public static void switchLoginPage(String path) throws IOException {
58 | AdminGlobalLoginFormController.getInstance().loginPane.getChildren().clear();
59 | FXMLLoader loader = new FXMLLoader(AdminNavigation.class.getResource("/view/admin/"+path));
60 | Parent root = loader.load();
61 | AdminGlobalLoginFormController.getInstance().loginPane.getChildren().add(root);
62 | }
63 |
64 | public static void closePane(){
65 | AdminGlobalFormController.getInstance().popUpPane.getChildren().clear();
66 | AdminGlobalFormController.getInstance().popupStage.close();
67 | AdminGlobalFormController.getInstance().popUpPane.setVisible(false);
68 | AdminGlobalFormController.getInstance().imgGreyBack.setVisible(false);
69 | }
70 |
71 | }
--------------------------------------------------------------------------------
/src/main/java/lk/ijse/library_management/util/navigation/MemberNavigation.java:
--------------------------------------------------------------------------------
1 | package lk.ijse.library_management.util.navigation;
2 |
3 | import javafx.event.ActionEvent;
4 | import javafx.fxml.FXMLLoader;
5 | import javafx.scene.Parent;
6 | import javafx.scene.Scene;
7 | import javafx.scene.layout.AnchorPane;
8 | import javafx.stage.Stage;
9 | import javafx.scene.Node;
10 | import javafx.stage.StageStyle;
11 | import lk.ijse.library_management.controller.admin.AdminGlobalLoginFormController;
12 | import lk.ijse.library_management.controller.admin.SignInFormController;
13 | import lk.ijse.library_management.controller.member.MemberGlobalFormController;
14 | import lk.ijse.library_management.controller.member.MemberGlobalLoginFormController;
15 |
16 |
17 | import java.io.IOException;
18 |
19 | public class MemberNavigation {
20 |
21 | private static Parent parent;
22 | private static Stage stage;
23 | private static Scene scene;
24 |
25 | public static void switchNavigation(String path, ActionEvent event) throws IOException {
26 | parent = FXMLLoader.load(MemberNavigation.class.getResource("/view/member/" + path));
27 | stage = (Stage) ((Node) event.getSource()).getScene().getWindow();
28 | SignInFormController.stage = stage;
29 | scene = new Scene(parent);
30 | stage.setScene(scene);
31 | stage.centerOnScreen();
32 | stage.show();
33 | }
34 |
35 | public static void switchPaging(String path) throws IOException {
36 | MemberGlobalFormController.getInstance().pagingPane.getChildren().clear();
37 | FXMLLoader loader = new FXMLLoader(MemberNavigation.class.getResource("/view/member/"+path));
38 | Parent root = loader.load();
39 | MemberGlobalFormController.getInstance().pagingPane.getChildren().add(root);
40 | }
41 |
42 | public static void popupPane(String path) throws IOException {
43 |
44 | MemberGlobalFormController.getInstance().popUpPane.setVisible(true);
45 | MemberGlobalFormController.getInstance().imgGreyBack.setVisible(true);
46 |
47 | AnchorPane root = FXMLLoader.load(MemberNavigation.class.getResource("/view/member/" + path));
48 |
49 | Stage popupStage = new Stage();
50 | MemberGlobalFormController.getInstance().setPopupStage(popupStage);
51 | popupStage.setScene(new Scene(root));
52 | popupStage.centerOnScreen();
53 | popupStage.initOwner(MemberGlobalFormController.getInstance().popUpPane.getScene().getWindow());
54 | popupStage.initStyle(StageStyle.UNDECORATED);
55 | popupStage.show();
56 | }
57 |
58 | public static void switchLoginPage(String path) throws IOException {
59 | MemberGlobalLoginFormController.getInstance().loginPane.getChildren().clear();
60 | FXMLLoader loader = new FXMLLoader(MemberNavigation.class.getResource("/view/member/"+path));
61 | Parent root = loader.load();
62 | MemberGlobalLoginFormController.getInstance().loginPane.getChildren().add(root);
63 | }
64 |
65 | public static void closePane(){
66 | MemberGlobalFormController.getInstance().popUpPane.getChildren().clear();
67 | MemberGlobalFormController.getInstance().popupStage.close();
68 | MemberGlobalFormController.getInstance().popUpPane.setVisible(false);
69 | MemberGlobalFormController.getInstance().imgGreyBack.setVisible(false);
70 | }
71 |
72 | }
--------------------------------------------------------------------------------
/src/main/resources - Shortcut.lnk:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/jlokitha/Library-Management-System/e964fe12d0a4a58ebc25dd3353032ce1c4545bba/src/main/resources - Shortcut.lnk
--------------------------------------------------------------------------------
/src/main/resources/assests/icon/add.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/jlokitha/Library-Management-System/e964fe12d0a4a58ebc25dd3353032ce1c4545bba/src/main/resources/assests/icon/add.png
--------------------------------------------------------------------------------
/src/main/resources/assests/icon/book.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/jlokitha/Library-Management-System/e964fe12d0a4a58ebc25dd3353032ce1c4545bba/src/main/resources/assests/icon/book.png
--------------------------------------------------------------------------------
/src/main/resources/assests/icon/book_color.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/jlokitha/Library-Management-System/e964fe12d0a4a58ebc25dd3353032ce1c4545bba/src/main/resources/assests/icon/book_color.png
--------------------------------------------------------------------------------
/src/main/resources/assests/icon/book_shortcut.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/jlokitha/Library-Management-System/e964fe12d0a4a58ebc25dd3353032ce1c4545bba/src/main/resources/assests/icon/book_shortcut.png
--------------------------------------------------------------------------------
/src/main/resources/assests/icon/borrow.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/jlokitha/Library-Management-System/e964fe12d0a4a58ebc25dd3353032ce1c4545bba/src/main/resources/assests/icon/borrow.png
--------------------------------------------------------------------------------
/src/main/resources/assests/icon/borrow_book_color.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/jlokitha/Library-Management-System/e964fe12d0a4a58ebc25dd3353032ce1c4545bba/src/main/resources/assests/icon/borrow_book_color.png
--------------------------------------------------------------------------------
/src/main/resources/assests/icon/borrow_color.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/jlokitha/Library-Management-System/e964fe12d0a4a58ebc25dd3353032ce1c4545bba/src/main/resources/assests/icon/borrow_color.png
--------------------------------------------------------------------------------
/src/main/resources/assests/icon/branch.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/jlokitha/Library-Management-System/e964fe12d0a4a58ebc25dd3353032ce1c4545bba/src/main/resources/assests/icon/branch.png
--------------------------------------------------------------------------------
/src/main/resources/assests/icon/branch_color.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/jlokitha/Library-Management-System/e964fe12d0a4a58ebc25dd3353032ce1c4545bba/src/main/resources/assests/icon/branch_color.png
--------------------------------------------------------------------------------
/src/main/resources/assests/icon/branch_shortcut.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/jlokitha/Library-Management-System/e964fe12d0a4a58ebc25dd3353032ce1c4545bba/src/main/resources/assests/icon/branch_shortcut.png
--------------------------------------------------------------------------------
/src/main/resources/assests/icon/close.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/jlokitha/Library-Management-System/e964fe12d0a4a58ebc25dd3353032ce1c4545bba/src/main/resources/assests/icon/close.png
--------------------------------------------------------------------------------
/src/main/resources/assests/icon/dashboard.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/jlokitha/Library-Management-System/e964fe12d0a4a58ebc25dd3353032ce1c4545bba/src/main/resources/assests/icon/dashboard.png
--------------------------------------------------------------------------------
/src/main/resources/assests/icon/dashboard_color.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/jlokitha/Library-Management-System/e964fe12d0a4a58ebc25dd3353032ce1c4545bba/src/main/resources/assests/icon/dashboard_color.png
--------------------------------------------------------------------------------
/src/main/resources/assests/icon/delete.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/jlokitha/Library-Management-System/e964fe12d0a4a58ebc25dd3353032ce1c4545bba/src/main/resources/assests/icon/delete.png
--------------------------------------------------------------------------------
/src/main/resources/assests/icon/due_transations.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/jlokitha/Library-Management-System/e964fe12d0a4a58ebc25dd3353032ce1c4545bba/src/main/resources/assests/icon/due_transations.png
--------------------------------------------------------------------------------
/src/main/resources/assests/icon/eye_close.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/jlokitha/Library-Management-System/e964fe12d0a4a58ebc25dd3353032ce1c4545bba/src/main/resources/assests/icon/eye_close.png
--------------------------------------------------------------------------------
/src/main/resources/assests/icon/eye_open.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/jlokitha/Library-Management-System/e964fe12d0a4a58ebc25dd3353032ce1c4545bba/src/main/resources/assests/icon/eye_open.png
--------------------------------------------------------------------------------
/src/main/resources/assests/icon/logout.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/jlokitha/Library-Management-System/e964fe12d0a4a58ebc25dd3353032ce1c4545bba/src/main/resources/assests/icon/logout.png
--------------------------------------------------------------------------------
/src/main/resources/assests/icon/logout_color.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/jlokitha/Library-Management-System/e964fe12d0a4a58ebc25dd3353032ce1c4545bba/src/main/resources/assests/icon/logout_color.png
--------------------------------------------------------------------------------
/src/main/resources/assests/icon/member.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/jlokitha/Library-Management-System/e964fe12d0a4a58ebc25dd3353032ce1c4545bba/src/main/resources/assests/icon/member.png
--------------------------------------------------------------------------------
/src/main/resources/assests/icon/member_color.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/jlokitha/Library-Management-System/e964fe12d0a4a58ebc25dd3353032ce1c4545bba/src/main/resources/assests/icon/member_color.png
--------------------------------------------------------------------------------
/src/main/resources/assests/icon/profile.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/jlokitha/Library-Management-System/e964fe12d0a4a58ebc25dd3353032ce1c4545bba/src/main/resources/assests/icon/profile.png
--------------------------------------------------------------------------------
/src/main/resources/assests/icon/profile_color.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/jlokitha/Library-Management-System/e964fe12d0a4a58ebc25dd3353032ce1c4545bba/src/main/resources/assests/icon/profile_color.png
--------------------------------------------------------------------------------
/src/main/resources/assests/icon/profile_shortcut.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/jlokitha/Library-Management-System/e964fe12d0a4a58ebc25dd3353032ce1c4545bba/src/main/resources/assests/icon/profile_shortcut.png
--------------------------------------------------------------------------------
/src/main/resources/assests/icon/redo.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/jlokitha/Library-Management-System/e964fe12d0a4a58ebc25dd3353032ce1c4545bba/src/main/resources/assests/icon/redo.png
--------------------------------------------------------------------------------
/src/main/resources/assests/icon/return.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/jlokitha/Library-Management-System/e964fe12d0a4a58ebc25dd3353032ce1c4545bba/src/main/resources/assests/icon/return.png
--------------------------------------------------------------------------------
/src/main/resources/assests/icon/returned_transaction.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/jlokitha/Library-Management-System/e964fe12d0a4a58ebc25dd3353032ce1c4545bba/src/main/resources/assests/icon/returned_transaction.png
--------------------------------------------------------------------------------
/src/main/resources/assests/icon/update.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/jlokitha/Library-Management-System/e964fe12d0a4a58ebc25dd3353032ce1c4545bba/src/main/resources/assests/icon/update.png
--------------------------------------------------------------------------------
/src/main/resources/assests/icon/view.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/jlokitha/Library-Management-System/e964fe12d0a4a58ebc25dd3353032ce1c4545bba/src/main/resources/assests/icon/view.png
--------------------------------------------------------------------------------
/src/main/resources/assests/icon/waving_hand.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/jlokitha/Library-Management-System/e964fe12d0a4a58ebc25dd3353032ce1c4545bba/src/main/resources/assests/icon/waving_hand.png
--------------------------------------------------------------------------------
/src/main/resources/assests/img/dashboard_book.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/jlokitha/Library-Management-System/e964fe12d0a4a58ebc25dd3353032ce1c4545bba/src/main/resources/assests/img/dashboard_book.png
--------------------------------------------------------------------------------
/src/main/resources/assests/img/dashbord_book 1.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/jlokitha/Library-Management-System/e964fe12d0a4a58ebc25dd3353032ce1c4545bba/src/main/resources/assests/img/dashbord_book 1.png
--------------------------------------------------------------------------------
/src/main/resources/assests/img/grey_background.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/jlokitha/Library-Management-System/e964fe12d0a4a58ebc25dd3353032ce1c4545bba/src/main/resources/assests/img/grey_background.png
--------------------------------------------------------------------------------
/src/main/resources/assests/img/login_background.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/jlokitha/Library-Management-System/e964fe12d0a4a58ebc25dd3353032ce1c4545bba/src/main/resources/assests/img/login_background.png
--------------------------------------------------------------------------------
/src/main/resources/assests/img/logo.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/jlokitha/Library-Management-System/e964fe12d0a4a58ebc25dd3353032ce1c4545bba/src/main/resources/assests/img/logo.png
--------------------------------------------------------------------------------
/src/main/resources/email/ChangePasswordEmail.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 | Password Change Confirmation
8 |
9 |
10 | Dear User,
11 | Your password has been successfully changed. If you did not initiate this change, please contact our support team immediately.
12 | If you have any further questions or concerns, feel free to reach out to us.
13 | Best regards, Alokagreen Support Team
14 |
15 |
16 |
--------------------------------------------------------------------------------
/src/main/resources/email/DeleteUserEmail.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 | Account Deletion Confirmation
8 |
9 |
10 | Dear User,
11 | We regret to inform you that your account has been deleted successfully. If you did not request this action or have any concerns, please contact our support team immediately.
12 | If you have any further questions or need assistance, feel free to reach out to us.
13 | Thank you for being a part of our community.
14 | Best regards, Alokagreen Support Team
15 |
16 |
17 |
--------------------------------------------------------------------------------
/src/main/resources/email/ForgotPasswordEmail.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 | Password Reset
8 |
9 |
10 | Dear User,
11 | You have requested to reset your password. Please use the following verification code to proceed with the password reset process:
12 | Verification Code: {verificationCode}
13 | If you did not initiate this request, please disregard this email.
14 | Best regards, Alokagreen Support Team
15 |
16 |
17 |
--------------------------------------------------------------------------------
/src/main/resources/email/SignUpEmail.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 | Verify Your Email
8 |
9 |
10 | Dear User,
11 | A new account has been created.
12 | To activate your account, please use the following OTP:
13 | Verification Code: {verificationCode}
14 | If you recognize this registration, kindly proceed with the verification using the provided OTP. If you are not aware of this registration, please disregard this email.
15 | Thank you for your attention.
16 | Best regards, BookWorm Support Team
17 |
18 |
19 |
20 |
--------------------------------------------------------------------------------
/src/main/resources/hibernate.properties:
--------------------------------------------------------------------------------
1 | hibernate.dialect=org.hibernate.dialect.MySQL8Dialect
2 | hibernate.connection.driver_class=com.mysql.cj.jdbc.Driver
3 | hibernate.connection.url=jdbc:mysql://localhost:3306/BookWorm
4 | hibernate.connection.username=root
5 | hibernate.connection.password=lokitha2003
6 | hibernate.show_sql=true
7 | hibernate.hbm2ddl.auto=update
--------------------------------------------------------------------------------
/src/main/resources/view/admin/AdminGlobalLoginForm.fxml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
9 |
--------------------------------------------------------------------------------
/src/main/resources/view/admin/BookBorrowManageRowForm.fxml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
9 |
10 |
11 |
12 |
13 |
14 |
15 |
16 |
17 |
18 |
19 |
20 |
21 |
22 |
23 |
24 |
25 |
26 |
27 |
28 |
29 |
30 |
31 |
32 |
33 |
34 |
35 |
36 |
37 |
38 |
39 |
40 |
41 |
42 |
43 |
44 |
45 |
46 |
47 |
48 |
49 |
50 |
51 |
52 |
53 |
54 |
55 |
56 |
57 |
58 |
59 |
60 |
61 |
62 |
63 |
64 |
65 |
66 |
67 |
68 |
69 |
--------------------------------------------------------------------------------
/src/main/resources/view/admin/BookBorrowViewRowForm.fxml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
9 |
10 |
11 |
12 |
13 |
14 |
15 |
16 |
17 |
18 |
19 |
20 |
21 |
22 |
23 |
24 |
25 |
26 |
27 |
28 |
29 |
30 |
31 |
32 |
33 |
34 |
35 |
36 |
37 |
38 |
39 |
40 |
--------------------------------------------------------------------------------
/src/main/resources/view/admin/BookViewForm.fxml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
9 |
10 |
11 |
12 |
13 |
14 |
15 |
16 |
17 |
18 |
19 |
20 |
21 |
22 |
23 |
24 |
25 |
26 |
27 |
28 |
29 |
30 |
31 |
32 |
33 |
34 |
35 |
36 |
37 |
38 |
39 |
40 |
41 |
42 |
43 |
44 |
45 |
46 |
47 |
48 |
49 |
50 |
51 |
52 |
53 |
54 |
55 |
56 |
57 |
58 |
--------------------------------------------------------------------------------
/src/main/resources/view/admin/BranchViewForm.fxml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
9 |
10 |
11 |
12 |
13 |
14 |
15 |
16 |
17 |
18 |
19 |
20 |
21 |
22 |
23 |
24 |
25 |
26 |
27 |
28 |
29 |
30 |
31 |
32 |
33 |
34 |
35 |
36 |
37 |
38 |
39 |
40 |
41 |
42 |
43 |
44 |
45 |
46 |
47 |
48 |
49 |
50 |
51 |
52 |
53 |
54 |
55 |
56 |
57 |
58 |
--------------------------------------------------------------------------------
/src/main/resources/view/admin/DeleteAdminForm.fxml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
9 |
10 |
11 |
12 |
13 |
14 |
15 |
16 |
17 |
18 |
19 |
20 |
21 |
22 |
23 |
24 |
25 |
26 |
27 |
28 |
29 |
30 |
31 |
32 |
33 |
34 |
35 |
36 |
37 |
38 |
39 |
40 |
41 |
42 |
43 |
44 |
45 |
46 |
47 |
48 |
49 |
50 |
51 |
52 |
53 |
54 |
55 |
56 |
57 |
--------------------------------------------------------------------------------
/src/main/resources/view/admin/FrogotPasswordForm.fxml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
9 |
10 |
11 |
12 |
13 |
14 |
15 |
16 |
17 |
18 |
19 |
20 |
21 |
22 |
23 |
24 |
25 |
26 |
27 |
28 |
29 |
30 |
31 |
32 |
33 |
34 |
35 |
36 |
37 |
38 |
39 |
40 |
41 |
42 |
43 |
44 |
45 |
46 |
47 |
48 |
49 |
50 |
51 |
52 |
53 |
54 |
--------------------------------------------------------------------------------
/src/main/resources/view/admin/MemberManageRowForm.fxml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
9 |
10 |
11 |
12 |
13 |
14 |
15 |
16 |
17 |
18 |
19 |
20 |
21 |
22 |
23 |
24 |
25 |
26 |
27 |
28 |
29 |
30 |
31 |
32 |
33 |
34 |
35 |
36 |
37 |
38 |
39 |
40 |
41 |
42 |
43 |
44 |
45 |
46 |
47 |
48 |
49 |
50 |
51 |
52 |
53 |
54 |
55 |
56 |
57 |
58 |
59 |
60 |
61 |
62 |
63 |
64 |
--------------------------------------------------------------------------------
/src/main/resources/view/admin/MemberViewForm.fxml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
9 |
10 |
11 |
12 |
13 |
14 |
15 |
16 |
17 |
18 |
19 |
20 |
21 |
22 |
23 |
24 |
25 |
26 |
27 |
28 |
29 |
30 |
31 |
32 |
33 |
34 |
35 |
36 |
37 |
38 |
39 |
40 |
41 |
42 |
43 |
44 |
45 |
46 |
47 |
48 |
49 |
50 |
51 |
52 |
53 |
54 |
55 |
56 |
57 |
58 |
--------------------------------------------------------------------------------
/src/main/resources/view/admin/SignInVerifyOtpForm.fxml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
9 |
10 |
11 |
12 |
13 |
14 |
15 |
16 |
17 |
18 |
19 |
20 |
21 |
22 |
23 |
24 |
25 |
26 |
27 |
28 |
29 |
30 |
31 |
32 |
33 |
34 |
35 |
36 |
37 |
38 |
39 |
40 |
41 |
42 |
43 |
44 |
45 |
46 |
47 |
48 |
49 |
50 |
51 |
52 |
53 |
54 |
--------------------------------------------------------------------------------
/src/main/resources/view/admin/SignUpVerifyOtpForm.fxml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
9 |
10 |
11 |
12 |
13 |
14 |
15 |
16 |
17 |
18 |
19 |
20 |
21 |
22 |
23 |
24 |
25 |
26 |
27 |
28 |
29 |
30 |
31 |
32 |
33 |
34 |
35 |
36 |
37 |
38 |
39 |
40 |
41 |
42 |
43 |
44 |
45 |
46 |
47 |
48 |
49 |
50 |
51 |
52 |
53 |
54 |
--------------------------------------------------------------------------------
/src/main/resources/view/admin/TransactionShortcutRowForm.fxml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
9 |
10 |
11 |
12 |
13 |
14 |
15 |
16 |
17 |
18 |
19 |
20 |
21 |
22 |
23 |
24 |
25 |
26 |
27 |
28 |
29 |
30 |
31 |
32 |
33 |
34 |
35 |
36 |
--------------------------------------------------------------------------------
/src/main/resources/view/member/BookBorrowAddRowForm.fxml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
9 |
10 |
11 |
12 |
13 |
14 |
15 |
16 |
17 |
18 |
19 |
20 |
21 |
22 |
23 |
24 |
25 |
26 |
27 |
28 |
29 |
30 |
31 |
32 |
33 |
34 |
35 |
36 |
37 |
38 |
39 |
40 |
41 |
42 |
43 |
44 |
45 |
46 |
47 |
48 |
49 |
50 |
51 |
52 |
53 |
--------------------------------------------------------------------------------
/src/main/resources/view/member/BookBorrowManageRowForm.fxml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
9 |
10 |
11 |
12 |
13 |
14 |
15 |
16 |
17 |
18 |
19 |
20 |
21 |
22 |
23 |
24 |
25 |
26 |
27 |
28 |
29 |
30 |
31 |
32 |
33 |
34 |
35 |
36 |
37 |
38 |
39 |
40 |
41 |
42 |
43 |
44 |
45 |
46 |
47 |
48 |
49 |
50 |
51 |
52 |
53 |
54 |
55 |
56 |
57 |
58 |
59 |
60 |
61 |
--------------------------------------------------------------------------------
/src/main/resources/view/member/BookBorrowViewRowForm.fxml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
9 |
10 |
11 |
12 |
13 |
14 |
15 |
16 |
17 |
18 |
19 |
20 |
21 |
22 |
23 |
24 |
25 |
26 |
27 |
28 |
29 |
30 |
31 |
32 |
33 |
34 |
35 |
36 |
37 |
38 |
39 |
40 |
--------------------------------------------------------------------------------
/src/main/resources/view/member/BookManageRowForm.fxml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
9 |
10 |
11 |
12 |
13 |
14 |
15 |
16 |
17 |
18 |
19 |
20 |
21 |
22 |
23 |
24 |
25 |
26 |
27 |
28 |
29 |
30 |
31 |
32 |
33 |
34 |
35 |
36 |
37 |
38 |
39 |
40 |
41 |
42 |
43 |
44 |
45 |
46 |
47 |
48 |
49 |
50 |
51 |
52 |
53 |
54 |
55 |
56 |
--------------------------------------------------------------------------------
/src/main/resources/view/member/BookViewForm.fxml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
9 |
10 |
11 |
12 |
13 |
14 |
15 |
16 |
17 |
18 |
19 |
20 |
21 |
22 |
23 |
24 |
25 |
26 |
27 |
28 |
29 |
30 |
31 |
32 |
33 |
34 |
35 |
36 |
37 |
38 |
39 |
40 |
41 |
42 |
43 |
44 |
45 |
46 |
47 |
48 |
49 |
50 |
51 |
52 |
53 |
54 |
55 |
56 |
57 |
58 |
--------------------------------------------------------------------------------
/src/main/resources/view/member/BranchManageRowForm.fxml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
9 |
10 |
11 |
12 |
13 |
14 |
15 |
16 |
17 |
18 |
19 |
20 |
21 |
22 |
23 |
24 |
25 |
26 |
27 |
28 |
29 |
30 |
31 |
32 |
33 |
34 |
35 |
36 |
37 |
38 |
39 |
40 |
41 |
42 |
43 |
44 |
45 |
46 |
47 |
48 |
49 |
50 |
51 |
52 |
53 |
54 |
55 |
56 |
--------------------------------------------------------------------------------
/src/main/resources/view/member/BranchViewForm.fxml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
9 |
10 |
11 |
12 |
13 |
14 |
15 |
16 |
17 |
18 |
19 |
20 |
21 |
22 |
23 |
24 |
25 |
26 |
27 |
28 |
29 |
30 |
31 |
32 |
33 |
34 |
35 |
36 |
37 |
38 |
39 |
40 |
41 |
42 |
43 |
44 |
45 |
46 |
47 |
48 |
49 |
50 |
51 |
52 |
53 |
54 |
55 |
56 |
57 |
58 |
--------------------------------------------------------------------------------
/src/main/resources/view/member/DeleteMemberForm.fxml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
9 |
10 |
11 |
12 |
13 |
14 |
15 |
16 |
17 |
18 |
19 |
20 |
21 |
22 |
23 |
24 |
25 |
26 |
27 |
28 |
29 |
30 |
31 |
32 |
33 |
34 |
35 |
36 |
37 |
38 |
39 |
40 |
41 |
42 |
43 |
44 |
45 |
46 |
47 |
48 |
49 |
50 |
51 |
52 |
53 |
54 |
55 |
56 |
57 |
--------------------------------------------------------------------------------
/src/main/resources/view/member/FrogotPasswordForm.fxml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
9 |
10 |
11 |
12 |
13 |
14 |
15 |
16 |
17 |
18 |
19 |
20 |
21 |
22 |
23 |
24 |
25 |
26 |
27 |
28 |
29 |
30 |
31 |
32 |
33 |
34 |
35 |
36 |
37 |
38 |
39 |
40 |
41 |
42 |
43 |
44 |
45 |
46 |
47 |
48 |
49 |
50 |
51 |
52 |
53 |
54 |
--------------------------------------------------------------------------------
/src/main/resources/view/member/MemberGlobalLoginForm.fxml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
9 |
--------------------------------------------------------------------------------
/src/main/resources/view/member/SignInVerifyOtpForm.fxml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
9 |
10 |
11 |
12 |
13 |
14 |
15 |
16 |
17 |
18 |
19 |
20 |
21 |
22 |
23 |
24 |
25 |
26 |
27 |
28 |
29 |
30 |
31 |
32 |
33 |
34 |
35 |
36 |
37 |
38 |
39 |
40 |
41 |
42 |
43 |
44 |
45 |
46 |
47 |
48 |
49 |
50 |
51 |
52 |
53 |
54 |
--------------------------------------------------------------------------------
/src/main/resources/view/member/SignUpVerifyOtpForm.fxml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
9 |
10 |
11 |
12 |
13 |
14 |
15 |
16 |
17 |
18 |
19 |
20 |
21 |
22 |
23 |
24 |
25 |
26 |
27 |
28 |
29 |
30 |
31 |
32 |
33 |
34 |
35 |
36 |
37 |
38 |
39 |
40 |
41 |
42 |
43 |
44 |
45 |
46 |
47 |
48 |
49 |
50 |
51 |
52 |
53 |
54 |
--------------------------------------------------------------------------------
/src/main/resources/view/member/TransactionShortcutRowForm.fxml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
9 |
10 |
11 |
12 |
13 |
14 |
15 |
16 |
17 |
18 |
19 |
20 |
21 |
22 |
23 |
24 |
25 |
26 |
27 |
28 |
29 |
30 |
31 |
32 |
33 |
34 |
35 |
36 |
--------------------------------------------------------------------------------