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

R

read(String, int) - Method in class services.gui.LogFileReader
Reads from the logs folder the given log file in reverse order and returns it as Akka Stream source.
readLogFile(Study, int) - Method in class general.common.StudyLogger
 
reassign_noOtherGroup_returnsFalse() - Method in class group.GroupAdministrationTest
 
reassign_success_movesMembershipAndChannel() - Method in class group.GroupAdministrationTest
 
reassignChannel_movesChannelAndTriggersJoinedLeft() - Method in class group.GroupDispatcherTest
 
refresh(Object) - Method in class daos.common.AbstractDao
 
refresh(ComponentResult) - Method in class daos.common.ComponentResultDao
 
refresh(GroupResult) - Method in class daos.common.GroupResultDao
 
refresh(StudyResult) - Method in class daos.common.StudyResultDao
 
refresh(User) - Method in class daos.common.UserDao
 
REGEX_ILLEGAL_IN_FILENAME - Static variable in class utils.common.IOUtils
Regular expression of illegal characters or strings in file or directory names '/', '\n', '\r', * '//', '\t', '\0', '\f', '`', '?', '*', '\\', '<', '>', '|', '\"', ':', '~', '!', 'ยง', '$', '%', '&'
REGEX_ILLEGAL_IN_PATH - Static variable in class utils.common.IOUtils
 
register_addsEntry_andReturnsPrevious_onOverwrite() - Method in class group.GroupChannelRegistryTest
 
registerAndLookupByIdAndChannel() - Method in class batch.BatchChannelRegistryTest
 
registerChannel_sendsOpenedToSelfAndOthers() - Method in class group.GroupDispatcherTest
 
registerOnExistingIdReturnsPreviousAndReplaces() - Method in class batch.BatchChannelRegistryTest
 
registerUser(NewUserProperties) - Method in class services.gui.UserService
 
registerUser_success() - Method in class services.gui.UserServiceTest
 
registerUser_userExists_throwsAuthException() - Method in class services.gui.UserServiceTest
 
RELOADABLE - Static variable in class models.gui.ComponentProperties
 
RELOADED - models.common.ComponentResult.ComponentState
 
remove(Long) - Method in class auth.gui.ApiTokens
 
remove(Object) - Method in class daos.common.AbstractDao
 
remove(ApiToken) - Method in class daos.common.ApiTokenDao
 
remove(Batch) - Method in class daos.common.BatchDao
 
remove(Batch, User) - Method in class services.gui.BatchService
Removes batch, all it's StudyResults, ComponentResults, GroupResults and Workers (if they don't belong to another batch) and persists the changes to the database.
remove(Component) - Method in class daos.common.ComponentDao
 
remove(ComponentResult) - Method in class daos.common.ComponentResultDao
 
remove(Component, User) - Method in class services.gui.ComponentService
Remove Component: Remove it from the given study, remove all its ComponentResults, and remove the component itself.
remove(GroupResult) - Method in class daos.common.GroupResultDao
 
remove(LoginAttempt) - Method in class daos.common.LoginAttemptDao
 
remove(Study) - Method in class daos.common.StudyDao
 
remove(StudyLink) - Method in class daos.common.StudyLinkDao
 
remove(StudyResult) - Method in class daos.common.StudyResultDao
 
remove(User) - Method in class daos.common.UserDao
 
remove(Worker) - Method in class daos.common.worker.WorkerDao
 
remove(Http.Request) - Method in class controllers.gui.ComponentResults
POST request that removes all ComponentResults specified in the parameter.
remove(Http.Request) - Method in class controllers.gui.StudyResults
POST request that removes all StudyResults specified in the parameter.
remove(Http.Request) - Method in class controllers.gui.Users
POST request to delete a user.
remove(Http.Request, Long, Long) - Method in class controllers.gui.Components
DELETE request to remove a component.
remove(IdCookieModel) - Method in class services.publix.idcookie.IdCookieCollection
 
remove_deletesResultsLinksGroups_andUpdatesOrRemovesWorkers() - Method in class services.gui.BatchServiceTest
 
remove_notFoundWhenForeignUser() - Method in class auth.gui.ApiTokensTest
 
remove_notFoundWhenMissing() - Method in class auth.gui.ApiTokensTest
 
remove_okWhenOwned() - Method in class auth.gui.ApiTokensTest
 
remove_shouldRemoveFromStudy() - Method in class services.gui.ComponentServiceIntegrationTest
 
remove_shouldUpdateStudy_removeResults_andRemoveComponent() - Method in class services.gui.ComponentServiceTest
 
removeActiveMember(StudyResult) - Method in class models.common.GroupResult
 
removeAllByBatch(Batch) - Method in class daos.common.StudyLinkDao
 
removeAllComponentResults_shouldDetachFromStudyResult_thenRemove_andLog() - Method in class services.gui.ResultRemoverTest
 
removeAllLogs() - Method in class testutils.JatosTest
 
removeAllMemberUsers(Long) - Method in class controllers.gui.Studies
DELETE request that removes all member users from a study
removeAllowedWorker(String) - Method in class models.common.legacy.StudyV2
 
removeAllowedWorkerType(String) - Method in class models.common.Batch
 
removeAllowedWorkerType(String) - Method in class models.gui.BatchProperties
 
removeAllResultUploads() - Method in class testutils.JatosTest
 
removeAllStudyAssets() - Method in class testutils.JatosTest
 
removeAllStudyLogs() - Method in class testutils.JatosTest
 
removeAllStudyResults_shouldRemoveEach_andLog() - Method in class services.gui.ResultRemoverTest
 
removeAllUserMembers(Study) - Method in class services.gui.StudyService
Removes all member users from the given study except the signed-in user.
removeAllUserMembers_keepsSignedInUser_removesOthers_andPersists() - Method in class services.gui.StudyServiceTest
 
removeAllUsers(List<User>) - Method in class models.common.Study
 
removeAllWorkers(List<Worker>) - Method in class models.common.Batch
 
removeBatch(Long, Long) - Method in class controllers.gui.StudyLinks
DELETE request to remove a Batch
removeBatch(Batch) - Method in class models.common.Study
Removes a batch from this study and the study from the batch.
removeBatch(Batch) - Method in class models.common.workers.Worker
 
removeByUsername(String) - Method in class daos.common.LoginAttemptDao
 
removeComponent(Component) - Method in class models.common.legacy.StudyV2
 
removeComponent(Component) - Method in class models.common.Study
 
removeComponentResult(ComponentResult) - Method in class models.common.StudyResult
 
removeComponentResults(List<Long>, User, boolean) - Method in class services.gui.ResultRemover
Retrieves all ComponentResults that correspond to the IDs in the given String, checks them and if yes, removes them.
removeComponentResults_shouldPropagateForbidden() - Method in class services.gui.ResultRemoverTest
 
removeComponentResults_shouldRemoveEach_andLog_andRemoveEmptyStudyResultWhenFlagTrue() - Method in class services.gui.ResultRemoverTest
 
removeComponentResults_whenNotEmpty_shouldNotRemoveStudyResult() - Method in class services.gui.ResultRemoverTest
 
removeComponentResults_wrongUser_forbidden() - Method in class services.gui.ResultRemoverIntegrationTest
 
removeHistoryMember(StudyResult) - Method in class models.common.GroupResult
 
removeMember(User) - Method in class models.common.legacy.StudyV2
 
removeMemberFromStudy(String, Long) - Method in class controllers.gui.Api
 
removeOldAttempts() - Method in class daos.common.LoginAttemptDao
Removes all LoginAttempts that are older than 1 minute
removeResults(Http.Request) - Method in class controllers.gui.Api
Removes results from the database (ComponentResults and StudyResults) and result files from the file system.
removeResultUploadsDir(Long) - Method in class utils.common.IOUtils
 
removeResultUploadsDir(Long, Long) - Method in class utils.common.IOUtils
 
removeRole(User.Role) - Method in class models.common.User
 
removesAccents() - Method in class models.common.UserTest
 
removeStudy(Study) - Method in class models.common.User
 
removeStudyAssetsDir(String) - Method in class utils.common.IOUtils
Remove study assets' directory if exists.
removeStudyInclAssets(Study, User) - Method in class services.gui.StudyService
Removes the given study, its components, component results, study results, group results and batches and persists the changes to the database.
removeStudyInclAssets_doesNotRemoveAssets_whenDirNameNull() - Method in class services.gui.StudyServiceTest
 
removeStudyInclAssets_removesBatches_users_study_assets_andLogs() - Method in class services.gui.StudyServiceTest
 
removeStudyResult(StudyResult) - Method in class models.common.workers.Worker
 
removeStudyResults(List<Long>, User) - Method in class services.gui.ResultRemover
Retrieves all StudyResults that correspond to the IDs in the given String, checks if the given user is allowed to remove them and if yes, removes them.
removeStudyResults_shouldRemoveAll_andLog() - Method in class services.gui.ResultRemoverTest
 
removeStudyResults_shouldRemoveStudyResultsAndTheirComponents() - Method in class services.gui.ResultRemoverIntegrationTest
 
removeStudyResults_wrongUser_forbidden() - Method in class services.gui.ResultRemoverIntegrationTest
 
removeUser(String) - Method in class services.gui.UserService
 
removeUser(String) - Method in class testutils.JatosTest
 
removeUser(User) - Method in class models.common.Study
Removes a user from this study and the study from the user.
removeUser(User) - Method in class services.gui.UserService
Removes the User belonging to the given username from the database.
removeUser_admin_forbidden() - Method in class services.gui.UserServiceTest
 
removeUser_multipleMembers_updatesStudy() - Method in class services.gui.UserServiceTest
 
removeUser_removesStudiesTokensAndUser() - Method in class services.gui.UserServiceTest
 
removeWorker(Worker) - Method in class models.common.Batch
Removes a worker from this batch and the batch from the worker.
renameHtmlFile(String, String, String) - Method in class utils.common.IOUtils
Renames a component's HTML file.
renameHtmlFilePath(Component, String, boolean) - Method in class services.gui.ComponentService
Renames the path to the HTML file in the file system and persists the component's property.
renameHtmlFilePath_currentFileNotExistNewFileExist() - Method in class services.gui.ComponentServiceIntegrationTest
 
renameHtmlFilePath_currentFileNotExistNewFileNotExist() - Method in class services.gui.ComponentServiceIntegrationTest
 
renameHtmlFilePath_newHtmlFilePathExists() - Method in class services.gui.ComponentServiceIntegrationTest
 
renameHtmlFilePath_successfulRename() - Method in class services.gui.ComponentServiceIntegrationTest
 
renameHtmlFilePath_whenCurrentExists_shouldOptionallyRename_andPersistNew() - Method in class services.gui.ComponentServiceTest
 
renameHtmlFilePath_whenCurrentMissing_shouldOnlyPersistNew_andNotRenameFile() - Method in class services.gui.ComponentServiceTest
 
renameHtmlFilePath_withEmptyNew_shouldPersistEmpty_andNotTouchFS() - Method in class services.gui.ComponentServiceTest
 
renameHtmlFilePath_withEmptyString() - Method in class services.gui.ComponentServiceIntegrationTest
 
renameHtmlFilePath_withSubFolder() - Method in class services.gui.ComponentServiceIntegrationTest
 
renameStudyAssetsDir(String, String) - Method in class utils.common.IOUtils
Renames a study assets dir.
renameStudyAssetsDir(Study, String) - Method in class services.gui.StudyService
Renames the directory in the file system and persists the study's property.
renameStudyAssetsDir_renamesInFs_updatesStudy_andPersists() - Method in class services.gui.StudyServiceTest
 
replaceData(Long, String) - Method in class daos.common.ComponentResultDao
Overwrite data in 'data' fields (data, dataShort, dataSize)
RequestScope - Class in general.common
Provides something similar to a request scope in Spring or Guice.
RequestScope() - Constructor for class general.common.RequestScope
 
RequestScopeMessaging - Class in general.gui
Passes on messages (info/warning/error/success) to the view.
RequestScopeMessaging() - Constructor for class general.gui.RequestScopeMessaging
 
ResultCreator - Class in services.publix
Service class that creates ComponentResults, StudyResults, and GroupResults
ResultCreatorTest - Class in services.publix
Unit tests for ResultCreator.
ResultCreatorTest() - Constructor for class services.publix.ResultCreatorTest
 
RESULTDATA_POSTED - models.common.ComponentResult.ComponentState
 
resultDataSize(Long) - Method in class controllers.gui.Admin
Returns the result data size of one study
resultFileSize(Long) - Method in class controllers.gui.Admin
Returns the size of all result files of one study
ResultRemover - Class in services.gui
Service class that removes ComponentResults or StudyResults.
ResultRemoverIntegrationTest - Class in services.gui
Tests for ResultRemover
ResultRemoverIntegrationTest() - Constructor for class services.gui.ResultRemoverIntegrationTest
 
ResultRemoverTest - Class in services.gui
Unit tests for ResultRemover
ResultRemoverTest() - Constructor for class services.gui.ResultRemoverTest
 
RESULTS - Static variable in class services.gui.BreadcrumbsService
 
RESULTS_COMPONENT_FILES - Static variable in class general.common.MessagesStrings
 
RESULTS_COMPONENT_MESSAGES - Static variable in class general.common.MessagesStrings
 
RESULTS_COMPONENT_RESULT_ID - Static variable in class general.common.MessagesStrings
 
RESULTS_COMPONENT_STATE - Static variable in class general.common.MessagesStrings
 
RESULTS_CONFIRMATION_CODE - Static variable in class general.common.MessagesStrings
 
RESULTS_CUSTOMIZATION - Static variable in class general.common.MessagesStrings
 
RESULTS_DATA - Static variable in class general.common.MessagesStrings
 
RESULTS_DATA_SELECTION - Static variable in class general.common.MessagesStrings
 
RESULTS_DESELECT_ALL - Static variable in class general.common.MessagesStrings
 
RESULTS_DURATION - Static variable in class general.common.MessagesStrings
 
RESULTS_DURATION_COMPONENT - Static variable in class general.common.MessagesStrings
 
RESULTS_END_TIME - Static variable in class general.common.MessagesStrings
 
RESULTS_END_TIME_COMPONENT - Static variable in class general.common.MessagesStrings
 
RESULTS_FILES - Static variable in class general.common.MessagesStrings
 
RESULTS_GROUP_ID - Static variable in class general.common.MessagesStrings
 
RESULTS_LAST_SEEN_TIME - Static variable in class general.common.MessagesStrings
 
RESULTS_SELECT_ALL - Static variable in class general.common.MessagesStrings
 
RESULTS_SELECT_FILTERED - Static variable in class general.common.MessagesStrings
 
RESULTS_SELECT_VISIBLE - Static variable in class general.common.MessagesStrings
 
RESULTS_START_TIME - Static variable in class general.common.MessagesStrings
 
RESULTS_START_TIME_COMPONENT - Static variable in class general.common.MessagesStrings
 
RESULTS_STUDY_ID - Static variable in class general.common.MessagesStrings
 
RESULTS_STUDY_MESSAGES - Static variable in class general.common.MessagesStrings
 
RESULTS_STUDY_STATE - Static variable in class general.common.MessagesStrings
 
RESULTS_WORKER_ID - Static variable in class general.common.MessagesStrings
 
RESULTS_WORKER_TYPE - Static variable in class general.common.MessagesStrings
 
ResultStreamer - Class in services.gui
Service class around ComponentResults and StudyResults.
ResultStreamer.ResultType - Enum in services.gui
 
retire(Study) - Method in class general.common.StudyLogger
 
retrieveComponent(Study, Long) - Method in class services.publix.PublixUtils
Returns the component with the given component ID that belongs to the given study.
retrieveComponent_inactive() - Method in class services.publix.PublixUtilsTest
 
retrieveComponent_notFound() - Method in class services.publix.PublixUtilsTest
 
retrieveComponent_success() - Method in class services.publix.PublixUtilsTest
 
retrieveComponent_wrongStudy() - Method in class services.publix.PublixUtilsTest
 
retrieveCurrentComponentResult(StudyResult) - Method in class services.publix.PublixUtils
Returns an Optional of the last ComponentResult of this studyResult but only if it's not 'done'.
retrieveCurrentComponentResult_returnsEmptyIfDone() - Method in class services.publix.PublixUtilsTest
 
retrieveCurrentComponentResult_returnsPresentIfNotDone() - Method in class services.publix.PublixUtilsTest
 
retrieveFirstActiveComponent(Study) - Method in class services.publix.PublixUtils
Returns the first component in the given study that is active.
retrieveFirstActiveComponent_returnsFirstActive() - Method in class services.publix.PublixUtilsTest
 
retrieveFirstActiveComponent_throwsWhenNoneActive() - Method in class services.publix.PublixUtilsTest
 
retrieveLastUploadedResultFile(StudyResult, Component, String) - Method in class services.publix.PublixUtils
Gets an uploaded result file with the given filename.
retrieveLastUploadedResultFile_returnsLastExisting() - Method in class services.publix.PublixUtilsTest
 
retrieveSignedinUser(Http.Request) - Method in class services.publix.PublixUtils
Retrieves the currently signed-in user or throws an ForbiddenPublixException if none is signed in.
retrieveSignedinUser_successAndFailures() - Method in class services.publix.PublixUtilsTest
 
retrieveStartedComponentResult(Component, StudyResult) - Method in class services.publix.PublixUtils
Gets the current ComponentResult from the storage or if it doesn't exist yet starts one for the given component.
retrieveStartedComponentResult_returnsExistingCurrent() - Method in class services.publix.PublixUtilsTest
 
retrieveStartedComponentResult_startsNewIfNone() - Method in class services.publix.PublixUtilsTest
 
retrieveStudyResultCountsPerWorker(Batch) - Method in class services.gui.WorkerService
Retrieves the count of StudyResults for each worker type in a map ( workerType -> count).
retrieveStudyResultCountsPerWorker_returnsCountsForAllTypes() - Method in class services.gui.WorkerServiceTest
 
retrieveUser(String) - Method in class services.gui.UserService
Retrieves the user with the given username from the DB.
retrieveUser_notFound_throws() - Method in class services.gui.UserServiceTest
 
retrieveUser_returnsUser() - Method in class services.gui.UserServiceTest
 
retrieveWorker(Long) - Method in class services.publix.PublixUtils
Retrieves the worker with the given worker ID from the DB.
returnsNullForNullInput() - Method in class models.common.UserTest
 
ROLE - Static variable in class models.gui.NewUserProperties
 
roles() - Method in annotation type auth.gui.AuthAction.Auth
 
roles() - Method in class models.common.ApiToken
 
run() - Method in class migrations.common.ComponentResultMigration
 
run() - Method in class migrations.common.StudyLinkMigration
 
run(Http.Request, String) - Method in class controllers.publix.PublixInterceptor
 
RUN_COMPONENT_FINISHED - controllers.publix.workers.JatosPublix.JatosRun
 
RUN_COMPONENT_START - controllers.publix.workers.JatosPublix.JatosRun
 
RUN_STUDY - controllers.publix.workers.JatosPublix.JatosRun
 
runComponent(Http.Request, Long, Long, Long, Long, Long, Long) - Method in class controllers.gui.Components
Runs a single component (in opposite to the whole study).
runStudy(Http.Request, Long, Long, Long, Long, Long) - Method in class controllers.gui.Studies
Runs the whole study.
runx(String, Long, Long, Long) - Method in class controllers.publix.PublixInterceptor
Facilitates multiple study runs in parallel each in its own iframe.
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