Package | Description |
---|---|
tlass.project |
Modifier and Type | Method and Description |
---|---|
void |
SemesterHandler.addSemester(java.lang.String name,
Model model)
Adds a semester of the supplied name to the supplied model.
|
boolean |
LoginHandler.checkUser(User user)
Checks if the User is valid
|
void |
SemesterHandler.copySemester(java.lang.String name,
java.lang.String oldSemester)
Takes the selected semester and clones it
|
void |
SemesterHandler.deleteSemester(java.lang.String name)
Delete the supplied semester from the dataStore
|
java.lang.String[] |
WebformHandler.finalizeSchedule(java.lang.String semester,
Schedule schedule)
Notifies the Assistants of their assignments and finalizes the assignments
|
java.util.ArrayList<Pair<java.lang.String,TimeBlock>> |
WebformHandler.getAllUnavailableTimes(java.lang.String semester)
Gets all of the unavailable times for all of the assistants during the supplied semester.
|
java.util.ArrayList<Pair<java.lang.String,java.lang.String>> |
WebformHandler.getAssignments(java.lang.String semester)
Retrieves the Assignments from the System for the specified semester
|
java.util.ArrayList<Pair<Position,Response>> |
WebformHandler.getNewResponses(java.lang.String semester,
Schedule schedule)
Retieves the responses from the webform and updates the published schedule accordingly.
|
java.util.ArrayList<java.lang.String> |
SemesterHandler.getSemesters()
Retrieves the names of all of the semesters from the DataStore.
|
java.util.ArrayList<java.lang.String> |
WebformHandler.getUnavailableAssistants(java.lang.String semester)
Gets all of the unavailable times for assistants for the supplied semester.
|
java.util.ArrayList<TimeBlock> |
WebformHandler.getUnavailableTimes(java.lang.String semester,
java.lang.String user)
Gets the unavalable times for a specific assistant during the supplied semester.
|
Model |
SemesterHandler.loadSemester(java.lang.String semester)
Loads the semesters from the DataStore
|
void |
DataStoreConnection.MySQLConnection(java.lang.String host,
java.lang.String db,
java.lang.String user,
java.lang.String pass)
Creates the MYSQL Connection
|
java.lang.String[] |
WebformHandler.publishSchedule(java.lang.String semester,
Schedule schedule)
Publishes the schedule to the webform.
|
void |
WebformHandler.removeUnavailableTimes(java.lang.String semester)
Removes an unavailable time
|
void |
SemesterHandler.saveSemester(java.lang.String name,
Model model)
Saves all of the data from the semester to the DataStore
|
void |
SemesterHandler.setActiveSemester(java.lang.String name,
boolean active)
Sets the selected semester as the active semester.
|
void |
WebformHandler.unpublishSchedule(java.lang.String semester)
Removes the published schedule from the webForm
|
Constructor and Description |
---|
DataStoreConnection() |
DataStoreConnection(java.lang.String testHost,
java.lang.String testUser,
java.lang.String testPass,
java.lang.String testDb)
Tests the connection
|