data
Class CorrectionData_Upload

java.lang.Object
  extended by data.CorrectionData
      extended by data.CorrectionData_Upload
All Implemented Interfaces:
DataNode, Listable

public class CorrectionData_Upload
extends CorrectionData

Author:
Thorsten Berger TODO To change the template for this generated type comment go to Window - Preferences - Java - Code Style - Code Templates

Field Summary
 
Fields inherited from class data.CorrectionData
CORRECTED, CORRECTING, CorrectionFieldID, CorrectorFieldID, INPROGRESS, NOTSOLVED, PointsFieldID, SeriesFieldID, SolutionFieldID, SOLVED, StatusFieldID
 
Constructor Summary
CorrectionData_Upload(int serienID, Element tempelement, data.Student student)
           
 
Method Summary
 void doStudentUpload(byte[] fileDataArray)
           
 void doTutorSetPoints(float points, java.lang.String Corrector)
           
 void doTutorUpload(float points, byte[] fileDataArray, java.lang.String Corrector)
           
 java.lang.String getAnswerFile()
           
 java.lang.String getAnswerLink()
           
 java.lang.String getCorrectedAnswerFile()
           
 java.lang.String getCorrectedAnswerLink()
           
 long getDateFromAnswerFile()
           
 long getDateFromCorrFilename()
           
 
Methods inherited from class data.CorrectionData
getCorrector, getDescription, getFieldDescriptions, getFieldValue, getIcon, getIdentification, getPoints, getSeries, getSeriesID, getStatus, getStudent, getStudentLogin, getSubNodes, isFolder, RadioButtonSelectable, setStatus
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CorrectionData_Upload

public CorrectionData_Upload(int serienID,
                             Element tempelement,
                             data.Student student)
Parameters:
studentid -
serienID -
tempelement -
student -
Method Detail

getAnswerFile

public java.lang.String getAnswerFile()

getCorrectedAnswerFile

public java.lang.String getCorrectedAnswerFile()

getAnswerLink

public java.lang.String getAnswerLink()
Specified by:
getAnswerLink in class CorrectionData

getCorrectedAnswerLink

public java.lang.String getCorrectedAnswerLink()
Specified by:
getCorrectedAnswerLink in class CorrectionData

getDateFromAnswerFile

public long getDateFromAnswerFile()
Returns:

getDateFromCorrFilename

public long getDateFromCorrFilename()

doStudentUpload

public void doStudentUpload(byte[] fileDataArray)
                     throws java.lang.IllegalArgumentException,
                            java.io.IOException
Parameters:
fileDataArray -
Throws:
java.lang.IllegalArgumentException
java.io.IOException

doTutorUpload

public void doTutorUpload(float points,
                          byte[] fileDataArray,
                          java.lang.String Corrector)
                   throws java.lang.IllegalArgumentException,
                          java.io.IOException
Throws:
java.lang.IllegalArgumentException
java.io.IOException

doTutorSetPoints

public void doTutorSetPoints(float points,
                             java.lang.String Corrector)
                      throws java.lang.IllegalArgumentException
Throws:
java.lang.IllegalArgumentException