Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
F
fltrail
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
fides
fltrail
Commits
e11468d0
Commit
e11468d0
authored
6 years ago
by
quark
Browse files
Options
Downloads
Patches
Plain Diff
changed ResearchReport Interface
parent
18eccbb0
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
gemeinsamforschen/src/main/java/unipotsdam/gf/interfaces/ResearchReport.java
+148
-19
148 additions, 19 deletions
...rc/main/java/unipotsdam/gf/interfaces/ResearchReport.java
with
148 additions
and
19 deletions
gemeinsamforschen/src/main/java/unipotsdam/gf/interfaces/ResearchReport.java
+
148
−
19
View file @
e11468d0
...
...
@@ -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
delete
File
(
String
filename
,
String
filePath
);
void
delete
Report
(
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
get
FileName
();
String
get
reportId
();
/**
/*
/**
* 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
get
FilePath
(
String
filename
);
String
[]
get
Literatur
(
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
);
}
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment