Class ReviewProcess
- java.lang.Object
-
- de.ipk_gatersleben.bit.bi.edal.primary_data.reference.review.ReviewProcess
-
public class ReviewProcess extends java.lang.Object
Class to handle interaction between eDAL and the ReviewProcess.
-
-
Field Summary
Fields Modifier and Type Field Description static int
DEFAULT_TIMEOUT
the default timeout for the review process half years in daysprotected static ReviewStatusEvaluation
evaluationForDataManager
protected static ReviewStatusEvaluation
evaluationForGroups
-
Constructor Summary
Constructors Constructor Description ReviewProcess()
-
Method Summary
Modifier and Type Method Description protected static java.util.List<ReviewStatus>
createNewReviewResult()
Create a newReviewResult
static ReviewResult
review(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:
ReviewResult
as container with all review results- Throws:
EdalApprovalException
- if wrong email address
-
-