@Singleton public class GeneralSingleStudyAuthorisation extends StudyAuthorisation
| Constructor and Description | 
|---|
GeneralSingleStudyAuthorisation()  | 
| Modifier and Type | Method and Description | 
|---|---|
void | 
checkWorkerAllowedToDoStudy(play.mvc.Http.Session session,
                           Worker worker,
                           Study study,
                           Batch batch)
Checks whether the given worker is allowed to do this study in this
 batch. 
 | 
void | 
checkWorkerAllowedToStartStudy(play.mvc.Http.Session session,
                              Worker worker,
                              Study study,
                              Batch batch)
Checks whether the given worker is allowed to start this study in this
 batch. 
 | 
checkMaxTotalWorkerspublic void checkWorkerAllowedToStartStudy(play.mvc.Http.Session session,
                                           Worker worker,
                                           Study study,
                                           Batch batch)
                                    throws ForbiddenPublixException
StudyAuthorisationcheckWorkerAllowedToStartStudy in class StudyAuthorisationForbiddenPublixExceptionpublic void checkWorkerAllowedToDoStudy(play.mvc.Http.Session session,
                                        Worker worker,
                                        Study study,
                                        Batch batch)
                                 throws ForbiddenPublixException
StudyAuthorisationcheckWorkerAllowedToDoStudy in class StudyAuthorisationForbiddenPublixException