Skip to content
Snippets Groups Projects
Commit e11468d0 authored by quark's avatar quark
Browse files

changed ResearchReport Interface

parent 18eccbb0
No related branches found
No related tags found
No related merge requests found
......@@ -9,46 +9,175 @@ package unipotsdam.gf.interfaces;
public interface ResearchReport {
/**
* Add a File / Upload or Create
* Create a File
*
* @param filename Name of the File
* @param filePath Path of the File
* @param userId The id of the uploader of the File
* @param reportId Name of the Report
* @param userId The id of creator
*/
File addFile(String filename, String filePath, String userId);
File addReport(String reportId, String userId);
/**
* Return a File / Download
* Change a File
*
* @param filename Name of the File
* @param filePath Path of the File
* @return Returns the File to download
* @param reportId Name of the Report
* @param userId The id of creator
* @return Returns the Changed File
*/
File getFile(String filename, String filePath);
File changeReport(String reportId, String userId, String title + "\n" + question + "\n" + goals + "\n" + method + "\n" + research + "\n" + source[] + "\n" + result + "\n" + evaluation);
/**
* Delete a File
*
* @param filename Name of the File
* @param filePath Path of the File
* @param reportId Name of the Report
*/
void deleteFile(String filename, String filePath);
void deleteReport(String reportId);
/**
* Shows the Name of a File
* @return Returns the Name of a File
* Shows the Id of a File
* @return Returns the Id of a File
*/
String getFileName();
String getreportId();
/**
/* /**
* Shows the Path of a File
*
* @param filename Name of the File
* @param reportId Id of the File
* @return Returns the Path of a FIle
* /
String getFilePath(String reportId);
*/
//Add / Change(Override)------------------------------------------------------------------------------------
/**
* Add a title to the Report
*
* @param reportId Name of the Report
* @param title title of the Report
*/
String addTitle(String reportId, String title );
/**
* Add a Researchquestion to the Report
*
* @param reportId Name of the Report
* @param question Research question of the Report
*/
String addResearchQuestion(String reportId, String question);
/**
* Add a learning goal to the Report
*
* @param reportId Name of the Report
* @param goals LearningGoals of the Report
*/
String addLearningGoal(String reportId, String goals );
/**
* Add a research method to the Report
*
* @param reportId Name of the Report
* @param method Methods of the Report
*/
String addMethod(String reportId, String method);
/**
* Add a research to the Report
*
* @param reportId Name of the Report
* @param research Research of the Report
*/
String addResearch(String reportId, String research);
/**
* Add a source to the Report
*
* @param reportId Name of the Report
* @param source Sources of the Report
*/
String addLiteratur(String reportId,String[] source[int i] ); //Kann auch als Text statt Liste gemacht werden (?)
/**
* Add a research result to the Report
*
* @param reportId Name of the Report
* @param result research Results of the Report
*/
String addResearchResult(String reportId, String result);
/**
* Add a evaluation to the Report
*
* @param reportId Name of the Report
* @param evaluation Evaluation of the Report
*/
String addEvaluation(String reportId, String evaluation );
//Get--------------------------------------------------------
/**
* Get a title to the Report
*
* @param reportId Name of the Report
* @returns returns The title of the Report
*/
String getTitle(String reportId);
/**
* Get a Researchquestion to the Report
*
* @param reportId Name of the Report
* @return Returns The Research question of the Report
*/
String getResearchQuestion(String reportId);
/**
* Get a learning goal to the Report
*
* @param reportId Name of the Report
* @return Returns The Learning Goals of the Report
*/
String getLearningGoal(String reportId);
/**
* Get a research method to the Report
*
* @param reportId Name of the Report
* @return Returns The Methods of the Report
*/
String getMethod(String reportId);
/**
* Get a research to the Report
*
* @param reportId Name of the Report
* @return Returns the Research of the Report
*/
String getResearch(String reportId);
/**
* Get a source to the Report
*
* @param reportId Name of the Report
* @return Returns all the Sources of the Report
*/
String getFilePath(String filename);
String[] getLiteratur(String reportId);
/**
* Get a research result to the Report
*
* @param reportId Name of the Report
* @return Returns the research Results of the Report
*/
String getResearchResult(String reportId);
/**
* Get a evaluation to the Report
*
* @param reportId Name of the Report
* @return Returns the Evaluation of the Report
*/
String getEvaluation(String reportId);
}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment