|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
This interface defines which operations all result handling classes should implement.
Method Summary | |
int |
autoImport()
Fetches results from the shared folder and imports them in the administrator program. |
void |
createReport(java.lang.String filename,
java.util.Vector results)
Creates a report file from the results of a project. |
int |
manualImport(java.io.File[] resfiles)
Fetches results from the given files and imports them in the admininstrator program. |
java.util.Vector |
openResults(java.lang.String projname,
int state)
Loads the results associated with a certain project. |
void |
saveResults(ProjectResults results)
Saves results from the client. |
Method Detail |
public java.util.Vector openResults(java.lang.String projname, int state) throws ResultOperationException
projname
- The project the results belong to.state
- In which state to look for the project.
ResultOperationException
- if there was an unhandled exception while performing the operation.public void createReport(java.lang.String filename, java.util.Vector results) throws ResultOperationException
filename
- The name of the report to create.results
- A vector containing ProjectResults objects.
ResultOperationException
- if there was an unhandled exception while performing the operation.public int manualImport(java.io.File[] resfiles) throws ResultOperationException
resfiles
- An array of files containing project results.
ResultOperationException
- if there was an unhandled exception while performing the operation.public int autoImport() throws ResultOperationException, NoSharedFolderException
ResultOperationException
- if there was an unhandled exception while performing the operation.
NoSharedFolderException
- if the shared folder could not be found.public void saveResults(ProjectResults results) throws ResultOperationException
results
- The results to save.
ResultOperationException
- if there was an unhandled exception while performing the operation.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |