Package | Description |
---|---|
tlass.project | |
tlass.project.gui | |
tlass.project.model |
Modifier and Type | Method and Description |
---|---|
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<TimeBlock> |
WebformHandler.getUnavailableTimes(java.lang.String semester,
java.lang.String user)
Gets the unavalable times for a specific assistant during the supplied semester.
|
Modifier and Type | Method and Description |
---|---|
boolean |
ModelHandler.addAssistantUnavailableTime(Assistant assistant,
TimeBlock time)
Adds a time that an assistant will not be able to work to the supplied assistant.
|
void |
ModelHandler.addTime(TimeBlock newTime)
Adds the specified time block to the model.
|
void |
ModelHandler.addUnavailableTime(Assistant assistant,
TimeBlock time)
Adds a time that an assistant will not be able to work to the supplied assistant.
|
void |
ModelHandler.removeAssistantUnavailableTime(Assistant assistant,
TimeBlock aTime)
Removes a timeblock that is unavailable from the Assistant
|
Constructor and Description |
---|
AuditDialog(javax.swing.JFrame o,
Controller c,
java.util.ArrayList<Pair<java.lang.String,TimeBlock>> times)
Constructor for Audit Dialog
|
Modifier and Type | Method and Description |
---|---|
TimeBlock |
Section.getCurrentTime()
Returns the time that the section meets.
|
Modifier and Type | Method and Description |
---|---|
java.util.ArrayList<TimeBlock> |
Section.getTime()
Gets the time for the section.
|
java.util.HashSet<TimeBlock> |
Assistant.getUnavailableTimes()
returns the unavailable times of an assistant
|
Modifier and Type | Method and Description |
---|---|
void |
Section.addTime(TimeBlock time)
Adds a time that the section
|
void |
Model.addTime(TimeBlock atime)
Adds the specified time to the model.
|
boolean |
Assistant.addUnavailableTime(TimeBlock time)
adds an unavailable time
returns false if it already exists
returns true if if does not exists, and adds in the new time
|
boolean |
Section.hasTime(TimeBlock time)
Checks to see if the section meets at the supplied time.
|
boolean |
TimeBlock.intersect(TimeBlock other)
Check if this time block has any intersections between it's times and days
|
void |
Section.removeTime(TimeBlock time)
Removes a time that the section meets.
|
void |
Assistant.removeUnavailableTime(TimeBlock aTime)
removes a time from the list of unavailable times
|
boolean |
TimeBlock.sameTime(TimeBlock time)
Check if two timeblocks are equivalent
|
boolean |
Assistant.unavailableFor(TimeBlock time)
returns true if an assistant is unavailable for a particular time, false otherwise
|
Modifier and Type | Method and Description |
---|---|
void |
Section.setTime(java.util.ArrayList<TimeBlock> time)
Sets the time for the section.
|
void |
Assistant.setUnavailableTimes(java.util.HashSet<TimeBlock> unavailableTimes)
sets the unavailablet times of an assistant
|
boolean |
Assistant.unavailableFor(java.util.ArrayList<TimeBlock> time)
returns true if the assistant is unavailable for a list of times, false otherwise
|