uk.ac.cisban.rod.data
Class InoculationManager
java.lang.Object
uk.ac.cisban.rod.data.AbstractDataTypeManager
uk.ac.cisban.rod.data.InoculationManager
public class InoculationManager
- extends AbstractDataTypeManager
Manages the parsing and saving of Inoculation
s.
- Since:
- 26-Nov-2008 1:18:09 PM
- Author:
- Morgan Taschuk
Method Summary |
void |
attemptToLoadInoculation(java.lang.Long actionAppId)
Check if there are inoculation results for the current experiment. |
java.util.Collection<LogEventMapping> |
getInoculations(java.lang.Long actionAppId)
Get the pertinent information about loaded Inoculation logs, if it exists. |
javax.swing.SwingWorker |
loadInoculation(java.io.File file,
java.lang.Long actionApplicationId)
Loads an inoculation log into the current screen |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
InoculationManager
public InoculationManager()
getInoculations
public java.util.Collection<LogEventMapping> getInoculations(java.lang.Long actionAppId)
- Get the pertinent information about loaded Inoculation logs, if it exists.
- Returns:
- a list of the InoculationMappings defining an inoculation log, null if none
loadInoculation
public javax.swing.SwingWorker loadInoculation(java.io.File file,
java.lang.Long actionApplicationId)
- Loads an inoculation log into the current screen
- Parameters:
file
- the file with the inoculation data
- Returns:
- a thread that will load the inoc log upon execution
attemptToLoadInoculation
public void attemptToLoadInoculation(java.lang.Long actionAppId)
- Check if there are inoculation results for the current experiment. If there are, load them.
Fires a ChangeEvent in DataManager if loading is successful.
Copyright © 2010. All Rights Reserved.