Package | Description |
---|---|
application | |
application.Controllers | |
database | |
server |
Modifier and Type | Method and Description |
---|---|
static java.util.List<Slot> |
Main.getBookings()
Return all the bookings done by the current user
Contains all bookings by all users if called by Admin.
|
static java.util.List<Slot> |
Main.getRequests()
Returns All the pending Requests for the Admin.
|
Modifier and Type | Method and Description |
---|---|
static java.lang.String |
Main.acceptBookings(Slot k)
Command from admin to accept a request.
|
static void |
Main.deleteBookings(Slot k)
Request the server to delete a booking.
|
Modifier and Type | Field and Description |
---|---|
private javafx.scene.control.ListView<Slot> |
ViewRoomBookings_StudentController.LV_bookings |
private javafx.scene.control.ListView<Slot> |
RespondtoRequestsController.LV_requests |
Modifier and Type | Class and Description |
---|---|
class |
ExtraSlot
Provides an extension so the users can book slots apart from the predefined ones.
|
Modifier and Type | Field and Description |
---|---|
private java.util.HashMap<java.lang.String,java.util.List<Slot>> |
TimeTable.hm |
Modifier and Type | Method and Description |
---|---|
java.util.List<Slot> |
TimeTable.getAllSlots() |
java.util.List<Slot> |
TimeTable.getSlots(java.lang.String day) |
Modifier and Type | Method and Description |
---|---|
void |
TimeTable.addSlot(java.lang.String day,
Slot t) |
boolean |
Slot.clashes(Slot b) |
int |
Slot.compareTo(Slot o) |
java.lang.String |
TimeTable.hasClash(Slot x) |
Modifier and Type | Field and Description |
---|---|
static java.util.List<Slot> |
ServerRunner.bookings |