- ID - Static variable in class models.common.legacy.StudyV2
-
- ID - Static variable in class models.gui.BatchProperties
-
- ID - Static variable in class models.gui.ComponentProperties
-
- ID_COOKIE_NAME - Static variable in class services.publix.idcookie.IdCookieModel
-
Every ID cookie name starts with this String.
- IDCOOKIE_COLLECTION_FULL - Static variable in class services.publix.PublixErrorMessages
-
- IDCOOKIE_COLLECTION_INDEX_OUT_OF_BOUND - Static variable in class services.publix.PublixErrorMessages
-
- IdCookieAccessor - Class in services.publix.idcookie
-
This class offers a simple interface to extract, log and discard JATOS ID cookies.
- IdCookieAccessor(IdCookieSerialiser) - Constructor for class services.publix.idcookie.IdCookieAccessor
-
- IdCookieAccessorTest - Class in services.publix.idcookie
-
- IdCookieAccessorTest() - Constructor for class services.publix.idcookie.IdCookieAccessorTest
-
- IdCookieAlreadyExistsException - Exception in services.publix.idcookie.exception
-
Is thrown if a second JATOS ID cookie with the same study result ID is tried to be
created.
- IdCookieAlreadyExistsException(String) - Constructor for exception services.publix.idcookie.exception.IdCookieAlreadyExistsException
-
- IdCookieCollection - Class in services.publix.idcookie
-
Wrapper around a collection of JATOS ID cookies.
- IdCookieCollection() - Constructor for class services.publix.idcookie.IdCookieCollection
-
- IdCookieCollectionFullException - Exception in services.publix.idcookie.exception
-
Is thrown if the limit of JATOS ID cookies is reached.
- IdCookieCollectionFullException(String) - Constructor for exception services.publix.idcookie.exception.IdCookieCollectionFullException
-
- IdCookieCollectionTest - Class in services.publix.idcookie
-
- IdCookieCollectionTest() - Constructor for class services.publix.idcookie.IdCookieCollectionTest
-
- idCookieExistsAlready(Long) - Static method in class services.publix.PublixErrorMessages
-
- idCookieForThisStudyResultNotExists(Long) - Static method in class services.publix.PublixErrorMessages
-
- IdCookieMalformedException - Exception in services.publix.idcookie.exception
-
- IdCookieMalformedException(String) - Constructor for exception services.publix.idcookie.exception.IdCookieMalformedException
-
- IdCookieModel - Class in services.publix.idcookie
-
Model for an ID cookie.
- IdCookieModel() - Constructor for class services.publix.idcookie.IdCookieModel
-
- IdCookieSerialiser - Class in services.publix.idcookie
-
This class offers methods to turn an JATOS ID cookie into a string that can be put
into an URL header.
- IdCookieSerialiser() - Constructor for class services.publix.idcookie.IdCookieSerialiser
-
- IdCookieSerialiserTest - Class in services.publix.idcookie
-
Unit tests for IdCookieSerialiser
- IdCookieSerialiserTest() - Constructor for class services.publix.idcookie.IdCookieSerialiserTest
-
- idCookieService - Variable in class controllers.publix.Publix
-
- IdCookieService - Class in services.publix.idcookie
-
Service class for JATOS ID cookie handling.
- IdCookieService(IdCookieAccessor) - Constructor for class services.publix.idcookie.IdCookieService
-
- IdCookieServiceTest - Class in services.publix.idcookie
-
- IdCookieServiceTest() - Constructor for class services.publix.idcookie.IdCookieServiceTest
-
- importAndGetExampleStudy() - Method in class testutils.JatosTest
-
- importedNewStudy(String, Long, String) - Static method in class general.common.MessagesStrings
-
- importExampleStudy() - Method in class testutils.JatosTest
-
- ImportExport - Class in controllers.gui
-
Controller that cares for import/export of components and studies.
- ImportExportService - Class in services.gui
-
Service class for JATOS Controllers (not Publix).
- ImportExportServiceIntegrationTest - Class in services.gui
-
Tests for ImportExportService
- ImportExportServiceIntegrationTest() - Constructor for class services.gui.ImportExportServiceIntegrationTest
-
- ImportExportServiceTest - Class in services.gui
-
Unit tests for ImportExportService (uses Mockito to isolate dependencies).
- ImportExportServiceTest() - Constructor for class services.gui.ImportExportServiceTest
-
- importNewStudy() - Method in class services.gui.ImportExportServiceIntegrationTest
-
Import a uploaded study: there are 5 possible cases:
(udir - name of uploaded study asset dir, cdir - name of current study asset dir)
Test 5) !study exists - !udir exists : new study - write both
- importStudy(Http.Request, boolean, boolean, boolean, boolean) - Method in class controllers.gui.Api
-
Imports a JATOS study archive
- importStudy(Http.Request) - Method in class controllers.gui.ImportExport
-
POST request that checks whether this is a legitimate import of a JATOS study archive, e.g.
- importStudy(User, File) - Method in class services.gui.ImportExportService
-
Import a uploaded JATOS study archive
There are 5 possible cases:
(udir - name of uploaded study asset dir, cdir - name of current study asset dir)
- importStudy_newStudy_returnsExpectedJsonAndSetsSession() - Method in class services.gui.ImportExportServiceIntegrationTest
-
- importStudy_newStudy_returnsExpectedJsonAndSetsSession() - Method in class services.gui.ImportExportServiceTest
-
- importStudy_whenStudyExistsAndUserNotMember_forbidden() - Method in class services.gui.ImportExportServiceIntegrationTest
-
- importStudy_whenStudyExistsAndUserNotMember_forbidden() - Method in class services.gui.ImportExportServiceTest
-
- importStudyApi(Http.Request, boolean, boolean, boolean, boolean) - Method in class controllers.gui.ImportExport
-
POST request that imports a JATOS study archive to JATOS.
- importStudyConfirmed(Http.Request) - Method in class controllers.gui.ImportExport
-
POST request that does the actual import of a JATOS study archive.
- importStudyConfirmed(User, boolean, boolean, boolean, boolean) - Method in class services.gui.ImportExportService
-
- importStudyConfirmed_createNewStudy_whenNotExisting_andRenameAssetsIfNeeded() - Method in class services.gui.ImportExportServiceTest
-
- importStudyConfirmed_newStudy_successful() - Method in class services.gui.ImportExportServiceIntegrationTest
-
- importStudyConfirmed_overwrite_existingStudy_forbidden() - Method in class services.gui.ImportExportServiceTest
-
- importStudyConfirmed_overwriteExistingStudy_moveAssets_andUpdateWithoutDirName_whenKeepCurrentAssetsName() - Method in class services.gui.ImportExportServiceTest
-
- importStudyConfirmed_throwsIfNoTempDirInSession() - Method in class services.gui.ImportExportServiceTest
-
- importStudyConfirmed_withoutPriorImport_throwsIOException() - Method in class services.gui.ImportExportServiceIntegrationTest
-
- importStudyKeepPropertiesOverwriteAssets() - Method in class services.gui.ImportExportServiceIntegrationTest
-
Import a uploaded study: there are 5 possible cases:
(udir - name of uploaded study asset dir, cdir - name of current study asset dir)
Test 1) study exists - udir exists - udir == cdir
User chooses to keep properties and overwrite assets dir
- importStudyOverwritePropertiesAndAssets() - Method in class services.gui.ImportExportServiceIntegrationTest
-
Import a uploaded study: there are 5 possible cases:
(udir - name of uploaded study asset dir, cdir - name of current study asset dir)
Test 1) study exists - udir exists - udir == cdir
User chooses to overwrite properties and assets dir
- importStudyOverwritePropertiesKeepAssets() - Method in class services.gui.ImportExportServiceIntegrationTest
-
Import a uploaded study: there are 5 possible cases:
(udir - name of uploaded study asset dir, cdir - name of current study asset dir)
Test 1) study exists - udir exists - udir == cdir
User chooses to overwrite properties and keep assets dir
- importStudyStudyNewButDirExists() - Method in class services.gui.ImportExportServiceIntegrationTest
-
Import a uploaded study: there are 5 possible cases:
(udir - name of uploaded study asset dir, cdir - name of current study asset dir)
Test 4) !study exists - udir exists
Should rename uploaded dir (generate new dir name)
- INFO - Static variable in class general.gui.FlashScopeMessaging
-
- info(String) - Static method in class general.gui.FlashScopeMessaging
-
- info(String) - Static method in class general.gui.RequestScopeMessaging
-
- info(String) - Method in class models.gui.Messages
-
- initCommonStatics() - Static method in class services.gui.AdminServiceTest
-
- initCommonStatics() - Static method in class services.gui.ComponentServiceTest
-
- initCommonStatics() - Static method in class services.gui.ResultRemoverTest
-
- initData(Batch, StudyResult, Study, Component) - Method in class utils.common.JsonUtils
-
Returns init data that are requested during initialisation of each
component run: Marshals the study properties and the component properties
and puts them together with the session data (stored in StudyResult) into
a new JSON object.
- initializeAndUnproxy(Object...) - Static method in class utils.common.Helpers
-
Initialize all given objects that are loaded lazily in a Hibernate object
- initializeAndUnproxy(T) - Static method in class utils.common.Helpers
-
Initialize an object that is loaded lazily in a Hibernate object
- initiallyEmpty() - Method in class batch.BatchChannelRegistryTest
-
- initStatics() - Static method in class controllers.publix.PublixTest
-
- initStatics() - Static method in class controllers.publix.workers.JatosPublixTest
-
- initStatics() - Static method in class services.gui.ImportExportServiceTest
-
- initStatics() - Static method in class services.publix.idcookie.IdCookieAccessorTest
-
- initStatics() - Static method in class services.publix.idcookie.IdCookieCollectionTest
-
- initStatics() - Static method in class services.publix.idcookie.IdCookieServiceTest
-
- initStatics() - Static method in class services.publix.PublixUtilsTest
-
- initStatics() - Static method in class services.publix.workers.GeneralSingleCookieServiceTest
-
- initStatics() - Static method in class utils.common.IOUtilsTest
-
- InternalServerErrorPublixException - Exception in exceptions.publix
-
This exception should only be thrown if something within JATOS doesn't behave
like it should (there is a bug in JATOS).
- InternalServerErrorPublixException(String) - Constructor for exception exceptions.publix.InternalServerErrorPublixException
-
- INVALID_DIR_NAME - Static variable in class general.common.MessagesStrings
-
- INVALID_DIR_NAMES - Static variable in class models.gui.StudyProperties
-
- INVALID_JSON_FORMAT - Static variable in class general.common.MessagesStrings
-
- INVALID_USER_OR_PASSWORD - Static variable in class general.common.MessagesStrings
-
- ioUtils - Variable in class controllers.publix.Publix
-
- IOUtils - Class in utils.common
-
Utility class that handles access to the system's file system.
- IOUtils() - Constructor for class utils.common.IOUtils
-
- IOUtilsTest - Class in utils.common
-
Unit tests for IOUtils
- IOUtilsTest() - Constructor for class utils.common.IOUtilsTest
-
- IPublix - Interface in controllers.publix
-
Interface to all Publix classes.
- isActive() - Method in class models.common.ApiToken
-
- isActive() - Method in class models.common.Batch
-
- isActive() - Method in class models.common.Component
-
- isActive() - Method in class models.common.Study
-
- isActive() - Method in class models.common.StudyLink
-
- isActive() - Method in class models.common.User
-
- isActive() - Method in class models.gui.BatchProperties
-
- isActive() - Method in class models.gui.ComponentProperties
-
- isAdmin() - Method in class models.common.User
-
- isAdminToken() - Method in class models.common.ApiToken
-
- isAjax() - Static method in class utils.common.Helpers
-
Check if the request was made via Ajax or not.
- isAllowedSuperuser(User) - Static method in class utils.common.Helpers
-
- isAllowPreview() - Method in class models.common.Study
-
- isAllowPreview() - Method in class models.gui.StudyProperties
-
- isApiRequest(Http.Request) - Static method in class utils.common.Helpers
-
Checks if the HTTP request has an "Authorization: Bearer" header.
- isConext() - Method in class models.common.User
-
- isConextAllowed() - Static method in class general.common.Common
-
SURFconext OpenId Connect (OIDC) allowed
- isDb() - Method in class models.common.User
-
- isDonationAllowed() - Static method in class general.common.Common
-
Should the GUI show a donations button
- isExpired() - Method in class models.common.ApiToken
-
- isFirstComponentInPreviewStudy(ComponentResult) - Method in class services.publix.PublixUtils
-
Returns true if the Study that belongs to the given ComponentResult allows previews and the component that
belongs to the given ComponentResult is the first active component in the study.
- isFirstComponentInPreviewStudy_trueOnlyOnFirstAndPre() - Method in class services.publix.PublixUtilsTest
-
- isFull() - Method in class services.publix.idcookie.IdCookieCollection
-
- isGroupsCleaningAllowed() - Static method in class general.common.Common
-
True if the group cleaning is allowed
- isGroupStudy() - Method in class models.common.Study
-
- isGroupStudy() - Method in class models.gui.StudyProperties
-
- isHtmlFileExists() - Method in class models.gui.ComponentProperties
-
- isHtmlFileRename() - Method in class models.gui.ComponentProperties
-
- isHtmlRequest(Http.Request) - Static method in class utils.common.Helpers
-
- isHtmlRequest(RequestHeader) - Static method in class utils.common.Helpers
-
- isIdCookiesSecure() - Static method in class general.common.Common
-
If true, the ID cookies' secure attribute will be set
- isIdempotent() - Method in class models.common.UserTest
-
- isInactivityTimeout(Http.Session) - Method in class auth.gui.AuthService
-
Returns true if the session inactivity time as saved in Play's session
cookie is older than allowed.
- isInactivityTimeout_trueWhenExpiredOrOnError() - Method in class auth.gui.AuthServiceTest
-
- isJatosApiAllowed() - Static method in class general.common.Common
-
If true, it is allowed to use JATOS' API
- isLdap() - Method in class models.common.User
-
- isLdapAllowed() - Static method in class general.common.Common
-
- isLinearStudy() - Method in class models.common.Study
-
- isLinearStudy() - Method in class models.gui.StudyProperties
-
- isLocked() - Method in class models.common.legacy.StudyV2
-
- isLocked() - Method in class models.common.Study
-
- isLocked() - Method in class models.gui.StudyProperties
-
- isLogsAppenderStdOut() - Static method in class general.common.Common
-
Returns true if the Logger logs to STDOUT and false otherwise.
- isMaxActiveMemberLimited() - Method in class models.gui.BatchProperties
-
- isMaxTotalMemberLimited() - Method in class models.gui.BatchProperties
-
- isMaxTotalWorkerLimited() - Method in class models.gui.BatchProperties
-
- isMultiNode() - Static method in class general.common.Common
-
True indicates that this JATOS runs with others in a cluster
- isOauthGoogle() - Method in class models.common.User
-
- isOauthGoogleAllowed() - Static method in class general.common.Common
-
- isOidc() - Method in class models.common.User
-
- isOidcAllowed() - Static method in class general.common.Common
-
OpenId Connect (OIDC) allowed
- isOrcid() - Method in class models.common.User
-
- isOrcidAllowed() - Static method in class general.common.Common
-
- isPreviewWorker(Worker) - Static method in class services.publix.PublixHelpers
-
- isPreviewWorker_trueForPersonalSingleAndGeneralSingle_falseOtherwise() - Method in class services.publix.PublixHelpersTest
-
- isQuotaReached() - Method in class models.common.ComponentResult
-
- isQuotaReached() - Method in class models.common.StudyResult
-
- isReloadable() - Method in class models.common.Component
-
- isReloadable() - Method in class models.gui.ComponentProperties
-
- isRepeatedSigninAttempt(String, String) - Method in class auth.gui.AuthService
-
Returns true if there were already 3 sign-in attempts within the last minute with this username from this
remoteAddress
- isRepeatedSigninAttempt_falseWhenLessThanThree() - Method in class auth.gui.AuthServiceTest
-
- isRepeatedSigninAttempt_trueWhenAtLeastThree() - Method in class auth.gui.AuthServiceTest
-
- isResultUploadsEnabled() - Static method in class general.common.Common
-
Are file uploads via jatos.js allowed?
- isSessionCookieRequest(Http.Request) - Static method in class utils.common.Helpers
-
Checks if the session has a field 'username'
- isSessionKeepSignedin(Http.Session) - Method in class auth.gui.AuthService
-
Returns true if the user decided to be kept signed (checkbox on the sign-in page) AND if it is allowed to be kept
signed in.
- isSessionTimeout(Http.Session) - Method in class auth.gui.AuthService
-
Returns true if the session sign-in time as saved in Play's session cookie
is older than allowed.
- isSessionTimeout_trueWhenExpiredOrOnError() - Method in class auth.gui.AuthServiceTest
-
- isSram() - Method in class models.common.User
-
- isSramAllowed() - Static method in class general.common.Common
-
SRAM's OpenId Connect (OIDC) allowed
- isStudyLogsEnabled() - Static method in class general.common.Common
-
Is study logging enabled
- isStudyMembersAllowedToAddAllUsers() - Static method in class general.common.Common
-
If true, it's allowed to add all users that exist on this JATOS server to be added at once as members of a study
- isSuperuser() - Method in class models.common.User
-
- isUserAllowedToAccessWorker(User, Worker) - Method in class services.gui.Checker
-
- isUserAllowedToAccessWorker_containsWorker_ok_elseForbidden() - Method in class services.gui.CheckerTest
-
- isUserRoleAllowSuperuser() - Static method in class general.common.Common
-
If true, it is allowed to grant users the Superuser role
- isValid(String) - Static method in class utils.common.JsonUtils
-
Checks whether the given string is a valid JSON string.