Group E - HR and transpose
The code development team:
Daniel Shapira - 208895656 Gal Levi - 315479354 Chen Frydman - 208009845 Oded Atias - 311394365
Hello dear costumer, Attached are clear operating instructions to facilitate your experience and use of the system.
################################################################################################################################### command
java -cp pathToJarFile/adss2023_v03.jar (a) (b)
Where 'a' can be: "CLI" OR "GUI". Here, you choose how you would like to see the data, in Command Line Interface or Graphical User Interface.
Where 'b' can be: "StoreManager" OR "HRManager" OR "TransportManager". if you are an employee please choose HRManager and put your id and password Here, you choose the role of the employee who enters the system. For each role, a different menu will be displayed according to the user's permissions according to his role.
If you chose a HrManager role and you are the HRManager, choose HRmodule and than a Login option will open and you will need to enter your id and password:
Please login to your user, 0 for exit Please enter your ID: 1 Please enter your password: 1234
than, the following menu will open:
Welcome to the HR system! Please select the following options
- create new employee
- create new store
- add employee to store
- add role to employee
- create new schedule
- approve shifts
- update personal information
- change schedule hours
- remove role from employee
- remove employee from store
- remove employee from system
- remove store from system
- select required roles from a shift
- remove required roles from a shift
- print all employees
- print all stores
- print schedule
- create new driver
- create new logistics schedule
- log out
You must choose which actions you want. There are options in the menu that, if you select them, additional sub-menus can be opened. For each choice, the system will guide you by asking you questions, and you will have to enter your choices by the characters you will be asked. Every time you finish an action, you will return to the menu. You may return to the previous menu by selecting the exit option.
If you chose HrManager role and you are an employee choose HRmodule and than a Login option will open and you will need to enter your id and password:
Please login to your user, 0 for exit Please enter your ID: 2 Please enter your password: 1234
than, the following menu will open:
Welcome to the employee system! Please select an option
- select shifts for this week
- update personal Information
- Print your schedule
- log out
You must choose which actions you want. There are options in the menu that, if you select them, additional sub-menus can be opened. For each choice, the system will guide you by asking you questions, and you will have to enter your choices by the characters you will be asked. Every time you finish an action, you will return to the menu. You may return to the previous menu by selecting the exit option.
If you chose a TransportManager role choose Transposemodule and than the following menu will open:
Hey Boss! what would you like to do? 0. register a supplier to the System
- See all the trucks with a cold level of your choice:
- Freeze
- Cold
- Dry
- create a new transport
- send transports
- Add new truck to the system
- Display all drivers in the system
- Display all trucks in the system
- Display all transport documents in the system
- Display all site supplies documents in the system
- Display all stores in the system
- Display all suppliers in the system
- Add standby driver to existing schedule by date.
- quit
Using this menu, you can navigate between the supplier manager's menu and the StoreKeeper's menu. This way, you can access all the actions that the supplier manager and the StoreKeeper can do. You may return to the previous menu by selecting the exit option.
Important things to know:
1.A database is also provided with the system. All the actions you perform will be saved in the system even if you turn off the system.
2.To exit the system, select the exit option in the first menu that the system is activated.
Libraries we used in the system:
java.util - For the purpose of using data structures such as List, Map. java.sql - For the purpose of connecting to a DB. sqlite-jdbc-3.41.2.1.jar - For the purpose of connecting to a DB. javax.swing - For use in creating a GUI. java.awt - For the purpose of using for displaying red color for label. java.time - For the purpose of the periodic order and the dates.
We have provided you data that is loaded into the system when it is activated. Details of the existing data are shown in "The existing data in the DB" file.