Class ReviewProcess
- java.lang.Object
-
- de.ipk_gatersleben.bit.bi.edal.primary_data.reference.review.ReviewProcess
-
public class ReviewProcess extends java.lang.ObjectClass to handle interaction between eDAL and the ReviewProcess.
-
-
Field Summary
Fields Modifier and Type Field Description static intDEFAULT_TIMEOUTthe default timeout for the review process half years in daysprotected static ReviewStatusEvaluationevaluationForDataManagerprotected static ReviewStatusEvaluationevaluationForGroups
-
Constructor Summary
Constructors Constructor Description ReviewProcess()
-
Method Summary
Modifier and Type Method Description protected static java.util.List<ReviewStatus>createNewReviewResult()Create a newReviewResultstatic ReviewResultreview(java.util.List<ReviewStatus> reviewStatusList)Checks with specific rules the review status of a publication.
-
-
-
Field Detail
-
DEFAULT_TIMEOUT
public static final int DEFAULT_TIMEOUT
the default timeout for the review process half years in days- See Also:
- Constant Field Values
-
evaluationForGroups
protected static ReviewStatusEvaluation evaluationForGroups
-
evaluationForDataManager
protected static ReviewStatusEvaluation evaluationForDataManager
-
-
Method Detail
-
createNewReviewResult
protected static java.util.List<ReviewStatus> createNewReviewResult() throws EdalApprovalException
Create a newReviewResult- Returns:
- with default initialized
ReviewResult - Throws:
EdalApprovalException- if creation failed
-
review
public static ReviewResult review(java.util.List<ReviewStatus> reviewStatusList) throws EdalApprovalException
Checks with specific rules the review status of a publication.- Parameters:
reviewStatusList- list with all reviewer they have responded- Returns:
ReviewResultas container with all review results- Throws:
EdalApprovalException- if wrong email address
-
-