A B C D E F G H I J K L M N O P R S T U V W Z
All Classes All Packages
All Classes All Packages
All Classes All Packages
A
- ABANDONED_STUDY_BY_COOKIE - Static variable in class services.publix.PublixErrorMessages
- ABORTED - models.common.ComponentResult.ComponentState
- ABORTED - models.common.StudyResult.StudyState
- abortStudy(String, StudyResult) - Method in class services.publix.PublixUtils
-
Does everything to abort a study: ends the current component with state ABORTED, finishes all other Components that might still be open, deletes all result data and ends the study with state ABORTED and sets the given message.
- abortStudy(Http.Request, String, String) - Method in class controllers.publix.PublixInterceptor
- abortStudy(Http.Request, StudyResult, String) - Method in interface controllers.publix.IPublix
-
HTTP type: GET request Aborts the study run (StudyResult state will be ABORTED).
- abortStudy(Http.Request, StudyResult, String) - Method in class controllers.publix.Publix
- abortStudy(Http.Request, StudyResult, String) - Method in class controllers.publix.workers.JatosPublix
- abortStudy_ajax_ok() - Method in class controllers.publix.workers.JatosPublixTest
- abortStudy_nonAjax_redirectsToJatosUrl() - Method in class controllers.publix.workers.JatosPublixTest
- abortStudy_setsAbortedAndPurgesAndRemoves() - Method in class services.publix.PublixUtilsTest
- AbstractDao - Class in daos.common
- AbstractDao(JPAApi) - Constructor for class daos.common.AbstractDao
- ACTIVE - Static variable in class models.gui.BatchProperties
- ACTIVE - Static variable in class models.gui.ComponentProperties
- add(IdCookieModel) - Method in class services.publix.idcookie.IdCookieCollection
-
Stores the given ID cookie.
- add_put_remove_and_lookup_behaviour() - Method in class services.publix.idcookie.IdCookieCollectionTest
- add_throws_on_duplicate_key() - Method in class services.publix.idcookie.IdCookieCollectionTest
- addActiveMember(StudyResult) - Method in class models.common.GroupResult
- addAllAllowedWorkerTypes(Collection<String>) - Method in class models.common.Batch
- addAllAllowedWorkerTypes(Collection<String>) - Method in class models.gui.BatchProperties
- addAllMemberUsers(Long) - Method in class controllers.gui.Studies
-
POST request that adds all users as members to a study
- addAllowedWorker(String) - Method in class models.common.legacy.StudyV2
- addAllowedWorkerType(String) - Method in class models.common.Batch
- addAllowedWorkerType(String) - Method in class models.gui.BatchProperties
- addAllUserMembers(Study) - Method in class services.gui.StudyService
-
Adds all users as members to the given study.
- addAllUserMembers_addsUsers_andWorkersToBatches_andPersists() - Method in class services.gui.StudyServiceTest
- addAllUsers(List<User>) - Method in class models.common.Study
- addAllWorkers(Collection<Worker>) - Method in class models.common.Batch
- addBatch(Batch) - Method in class models.common.Study
-
Adds a batch to this study and the study to the batch.
- addBatch(Batch) - Method in class models.common.workers.Worker
- addBreadcrumb(String, String) - Method in class models.gui.Breadcrumbs
- addComponent(Component) - Method in class models.common.legacy.StudyV2
- addComponent(Component) - Method in class models.common.Study
- addComponentResult(ComponentResult) - Method in class models.common.StudyResult
- addDataToZip(ZipOutputStream, String, String) - Static method in class utils.common.ZipUtil
-
Writes the given data as a file to the zip stream using pathInZip as the path in the zip package
- addDefaultAllowedWorkerTypes(Batch) - Method in class services.gui.BatchService
- addDirToZip(ZipOutputStream, Path, Path) - Static method in class utils.common.ZipUtil
-
Writes a directory to the ZipOutputStream walking recursively through the file system.
- addFileToZip(ZipOutputStream, Path, Path) - Static method in class utils.common.ZipUtil
-
Writes the file using its filename into the ZipOutputStream under path zipRoot in the zip package
- addFileToZip(ZipOutputStream, Path, Path, Path) - Static method in class utils.common.ZipUtil
-
Writes the file into the ZipOutputStream under the path '/zipRoot/zipFilename'
- addHistoryMember(StudyResult) - Method in class models.common.GroupResult
- addMember(User) - Method in class models.common.legacy.StudyV2
- addMemberToStudy(String, Long) - Method in class controllers.gui.Api
- addStudy(Study) - Method in class models.common.User
- addStudy(Study, Worker, Http.Cookie) - Method in class services.publix.workers.GeneralSingleCookieService
-
If the cookie is not null it adds a new tuple (study's UUID and worker ID) to the cookie's value and returns it.
- addStudy_appendsWhenExistingCookie() - Method in class services.publix.workers.GeneralSingleCookieServiceTest
- addStudy_createsNewWhenNoExistingCookie() - Method in class services.publix.workers.GeneralSingleCookieServiceTest
- addStudyResult(StudyResult) - Method in class models.common.workers.Worker
- addToZip(ZipOutputStream, Path, Path) - Static method in class utils.common.ZipUtil
-
Add a path (can be a file or a directory) to a ZipOutputStream under path zipRoot in the zip
- addUser(User) - Method in class models.common.Study
-
Adds a user to this study and the study to the user.
- addWorker(Worker) - Method in class models.common.Batch
-
Adds a worker to this batch and the batch to the worker.
- admin - Variable in class testutils.JatosTest
- Admin - Class in controllers.gui
-
Controller class around administration (updates are handled in Updates and user manager in Users)
- ADMIN - models.common.User.Role
- ADMIN_NAME - Static variable in class services.gui.UserService
-
Default admin name; the admin user is created during the first initialization of JATOS; don't confuse admin user with the Role ADMIN
- ADMIN_NOT_ALLOWED_TO_REMOVE_HIS_OWN_ADMIN_ROLE - Static variable in class general.common.MessagesStrings
- ADMIN_PASSWORD - Static variable in class services.gui.UserService
-
Default admin password; the admin user is created during the first initialization of JATOS; don't confuse admin user with the Role ADMIN
- ADMIN_USERNAME - Static variable in class services.gui.UserService
-
Default admin username; the admin user is created during the first initialization of JATOS; don't confuse admin user with the Role ADMIN
- administration(Http.Request) - Method in class controllers.gui.Admin
-
Returns admin page
- ADMINISTRATION - Static variable in class services.gui.BreadcrumbsService
- AdminService - Class in services.gui
-
Service class mostly for Admin controller.
- AdminServiceTest - Class in services.gui
-
Unit tests for AdminService.
- AdminServiceTest() - Constructor for class services.gui.AdminServiceTest
- allApiTokenMetadataByUser(Long) - Method in class controllers.gui.Api
-
List the metadata of all tokens that belong to a user.
- allBatchesByStudyForUI(List<Batch>, List<Integer>, List<Integer>) - Method in class utils.common.JsonUtils
-
Returns a JSON string of all batches that belong to the given study.
- allComponentsForUI(List<Component>, List<Integer>) - Method in class utils.common.JsonUtils
-
Returns a JSON string of all components in the given list.
- allGroupResults(List<GroupResult>) - Method in class utils.common.JsonUtils
-
Returns all GroupResults as a JSON string intended for GUI.
- allIdsAndChannelsExposeSetsWithCorrectContents() - Method in class batch.BatchChannelRegistryTest
- allMembersOfStudy(String) - Method in class controllers.gui.Api
-
Get user IDs of all members of a study.
- ALLOW_PREVIEW - Static variable in class models.gui.StudyProperties
- ALLOWED_WORKER_LIST - Static variable in class models.common.legacy.StudyV2
- ALLOWED_WORKER_TYPES - Static variable in class models.gui.BatchProperties
- allStatesAsString() - Static method in enum models.common.ComponentResult.ComponentState
- allStatesAsString() - Static method in enum models.common.GroupResult.GroupState
- allStatesAsString() - Static method in enum models.common.StudyResult.StudyState
- allStudiesData() - Method in class controllers.gui.Admin
-
Returns table data for study manager page
- allTokenDataByUser() - Method in class auth.gui.ApiTokens
- allTokenDataByUser_returnsJsonArrayOfTokens() - Method in class auth.gui.ApiTokensTest
- allUserData() - Method in class controllers.gui.Users
-
GET request: Returns a list of all users as JSON
- allUsers() - Method in class controllers.gui.Api
-
Get information about all users.
- AMOUNT - Static variable in class models.gui.StudyCodeProperties
- Api - Class in controllers.gui
-
JATOS API Controller
- API_TOKEN - Static variable in class auth.gui.AuthApiToken
- ApiAccessLoggingAction - Class in controllers.gui.actionannotations
-
Annotation definition for Play actions: logging of each action call, e.g.
- ApiAccessLoggingAction() - Constructor for class controllers.gui.actionannotations.ApiAccessLoggingAction
- ApiAccessLoggingAction.ApiAccessLogging - Annotation Type in controllers.gui.actionannotations
- ApiEnvelope - Class in general.common
-
Envelope/wrapper for API responses.
- ApiEnvelope() - Constructor for class general.common.ApiEnvelope
- ApiEnvelope.ErrorCode - Enum in general.common
- ApiService - Class in services.gui
- apiToken - Variable in class testutils.JatosTest
- ApiToken - Class in models.common
-
DB entity of an API token (Personal Access Token, PAT).
- ApiToken() - Constructor for class models.common.ApiToken
- ApiToken(String, String, Integer, User) - Constructor for class models.common.ApiToken
- ApiTokenDao - Class in daos.common
-
DAO for ApiToken entity
- apiTokenMetadata(Long) - Method in class controllers.gui.Api
-
Get the metadata of an API token specified by its ID.
- ApiTokens - Class in auth.gui
-
All JATOS GUI endpoints concerning API tokens (personal access tokens)
- ApiTokenService - Class in services.gui
- ApiTokenServiceTest - Class in services.gui
-
Unit tests for ApiTokenService.
- ApiTokenServiceTest() - Constructor for class services.gui.ApiTokenServiceTest
- ApiTokensTest - Class in auth.gui
-
Unit tests for ApiTokens controller.
- ApiTokensTest() - Constructor for class auth.gui.ApiTokensTest
- appendData(Long, String) - Method in class daos.common.ComponentResultDao
-
Append data to 'data' field and replace data in 'dataShort' and 'dataSize'
- appendResultData(Http.Request, String, String) - Method in class controllers.publix.PublixInterceptor
- application - Variable in class testutils.JatosTest
- asApiJsonNode() - Method in exception exceptions.gui.JatosException
- asApiJsValue() - Method in exception exceptions.gui.JatosException
- asCookieValueString(IdCookieModel) - Method in class services.publix.idcookie.IdCookieSerialiser
-
Takes an IdCookieModel and put its fields into a String for an cookie value: key=value&key=value&...
- asCookieValueString_buildsInExpectedOrder() - Method in class services.publix.idcookie.IdCookieSerialiserTest
- asJson(Object) - Static method in class utils.common.JsonUtils
-
Generic JSON marshaller.
- asJsonForPublix(Object) - Method in class utils.common.JsonUtils
-
Marshalling an Object into an JSON string.
- asJsonNode() - Method in class general.common.ApiEnvelope
- asJsonNode(Object) - Static method in class utils.common.JsonUtils
-
Generic JSON marshaller.
- asJsonWithStrictViewInclusion(Object) - Method in class utils.common.JsonUtils
- asJsValue() - Method in class general.common.ApiEnvelope
- asObjectNode(Object) - Static method in class utils.common.JsonUtils
- asStringForDB(String) - Static method in class utils.common.JsonUtils
-
Formats a JSON string into a minimized form suitable for storing into a DB.
- AUTH_ERROR - general.common.ApiEnvelope.ErrorCode
- AUTH_METHOD - Static variable in class models.gui.NewUserProperties
- auth.gui - package auth.gui
- AuthAction - Class in auth.gui
-
This class defines the
AuthAction.Authannotation used in JATOS GUI and JATOS API. - AuthAction.Auth - Annotation Type in auth.gui
-
This @Auth annotation can be used on every controller action (GUI or API) where authentication and authorization are required.
- AuthAction.AuthMethod - Interface in auth.gui
-
Interface that every authentication method has to implement.
- AuthAction.AuthMethod.AuthResult - Class in auth.gui
-
Result of an authentication attempt.
- AuthAction.AuthMethod.Type - Enum in auth.gui
- AuthApiToken - Class in auth.gui
-
Authentication via personal access tokens (API tokens) that can be used with JATOS API.
- AuthApiTokenTest - Class in auth.gui
-
Unit tests for AuthApiToken.
- AuthApiTokenTest() - Constructor for class auth.gui.AuthApiTokenTest
- authenticate(String, String) - Method in class auth.gui.SigninLdap
-
Authenticates the given user via an external LDAP server.
- authenticate(String, String) - Method in class daos.common.UserDao
- authenticate(User, String) - Method in class auth.gui.AuthService
-
Authenticates the user with the given password.
- authenticate(Http.Request) - Method in class auth.gui.Signin
-
HTTP POST Endpoint for the sign-in form.
- authenticate(Http.Request, EnumSet<User.Role>) - Method in interface auth.gui.AuthAction.AuthMethod
- authenticate(Http.Request, EnumSet<User.Role>) - Method in class auth.gui.AuthApiToken
- authenticate(Http.Request, EnumSet<User.Role>) - Method in class auth.gui.AuthSessionCookie
- authenticate_authenticated_successPath_setsLastSeen_andAddsPostHook() - Method in class auth.gui.AuthSessionCookieTest
- authenticate_DB_hashesPasswordAndDelegatesToUserDao() - Method in class auth.gui.AuthServiceTest
- authenticate_denied_onBadChecksum() - Method in class auth.gui.AuthApiTokenTest
- authenticate_denied_whenApiUsageDisabled() - Method in class auth.gui.AuthApiTokenTest
- authenticate_denied_whenInactivityTimeout() - Method in class auth.gui.AuthSessionCookieTest
- authenticate_denied_whenInsufficientRoles() - Method in class auth.gui.AuthSessionCookieTest
- authenticate_denied_whenNoSignedInUserInSession() - Method in class auth.gui.AuthSessionCookieTest
- authenticate_denied_whenSessionTimeout() - Method in class auth.gui.AuthSessionCookieTest
- authenticate_denied_whenTokenExpired() - Method in class auth.gui.AuthApiTokenTest
- authenticate_denied_whenTokenInactive() - Method in class auth.gui.AuthApiTokenTest
- authenticate_denied_whenTokenNotFound() - Method in class auth.gui.AuthApiTokenTest
- authenticate_denied_whenUserDeactivated() - Method in class auth.gui.AuthSessionCookieTest
- authenticate_denied_whenUserInactive() - Method in class auth.gui.AuthApiTokenTest
- authenticate_denied_whenUserLacksRoles() - Method in class auth.gui.AuthApiTokenTest
- authenticate_internalServerError_onLdapException() - Method in class auth.gui.SigninTest
- authenticate_LDAP_delegatesToSigninLdap() - Method in class auth.gui.AuthServiceTest
- authenticate_nullArgs_returnsFalse() - Method in class auth.gui.AuthServiceTest
- authenticate_success_whenAllChecksPass() - Method in class auth.gui.AuthApiTokenTest
- authenticate_success_writesSession_setsLastSignin_removesAttempts_andReturnsJson() - Method in class auth.gui.SigninTest
- authenticate_unauthorized_onFailedAuth_thenNotRepeatedAfterCreate() - Method in class auth.gui.SigninTest
- authenticate_unauthorized_onFailedAuth_thenRepeatedAfterCreate() - Method in class auth.gui.SigninTest
- authenticate_unauthorized_onRepeatedSigninAttempt_beforeAuth() - Method in class auth.gui.SigninTest
- authenticate_unsupportedAuth_throws() - Method in class auth.gui.AuthServiceTest
- authenticate_wrongMethod_whenNotApiRequest() - Method in class auth.gui.AuthApiTokenTest
- authenticate_wrongMethod_whenNotSessionCookieRequest() - Method in class auth.gui.AuthSessionCookieTest
- AuthException - Exception in exceptions.gui
- AuthException(String) - Constructor for exception exceptions.gui.AuthException
- AuthorizationService - Class in services.gui
-
Service class that provides authorization and non-null checks for different objects
- AuthorizationService() - Constructor for class services.gui.AuthorizationService
- AuthorizationServiceTest - Class in services.gui
- AuthorizationServiceTest() - Constructor for class services.gui.AuthorizationServiceTest
- AuthService - Class in auth.gui
-
Service class around authentication and the session cookie.
- AuthServiceTest - Class in auth.gui
-
Unit tests for AuthService.
- AuthServiceTest() - Constructor for class auth.gui.AuthServiceTest
- AuthSessionCookie - Class in auth.gui
-
This class defines authentication via session cookies (which is the default authentication in the Play Framework).
- AuthSessionCookieTest - Class in auth.gui
-
Unit tests for AuthSessionCookie.
- AuthSessionCookieTest() - Constructor for class auth.gui.AuthSessionCookieTest
All Classes All Packages