public abstract class StudyAuthorisation
extends java.lang.Object
| Constructor and Description | 
|---|
StudyAuthorisation()  | 
| Modifier and Type | Method and Description | 
|---|---|
void | 
checkMaxTotalWorkers(Batch batch,
                    Worker worker)
Check if the max total worker number is reached for this batch. 
 | 
abstract 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. 
 | 
abstract 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. 
 | 
public abstract void checkWorkerAllowedToStartStudy(play.mvc.Http.Session session,
                                                    Worker worker,
                                                    Study study,
                                                    Batch batch)
                                             throws ForbiddenPublixException
ForbiddenPublixExceptionpublic abstract void checkWorkerAllowedToDoStudy(play.mvc.Http.Session session,
                                                 Worker worker,
                                                 Study study,
                                                 Batch batch)
                                          throws ForbiddenPublixException
ForbiddenPublixExceptionpublic void checkMaxTotalWorkers(Batch batch, Worker worker) throws ForbiddenPublixException
ForbiddenPublixException