- 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.
- readFile(File) - Method in class utils.common.IOUtils
-
Reads the given file and returns the content as String.
- readLogFile(Study, int) - Method in class general.common.StudyLogger
-
- 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
-
- 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', '`', '?', '*', '\\', '<', '>', '|', '\"', ':', '~', '!', 'ยง', '$', '%', '&'
- RELOADABLE - Static variable in class models.gui.ComponentProperties
-
- remove(Long) - Method in class auth.gui.ApiTokens
-
- remove(Http.Request) - Method in class controllers.gui.ComponentResults
-
POST request that removes all ComponentResults specified in the parameter.
- remove(Http.Request, Long, Long) - Method in class controllers.gui.Components
-
DELETE request to remove a component.
- remove(Http.Request) - Method in class controllers.gui.StudyResults
-
POST request that removes all StudyResults specified in the parameter.
- remove(String) - Method in class controllers.gui.Users
-
POST request to delete a user.
- 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(Component) - Method in class daos.common.ComponentDao
-
- remove(ComponentResult) - Method in class daos.common.ComponentResultDao
-
- 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(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, 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(IdCookieModel) - Method in class services.publix.idcookie.IdCookieCollection
-
- removeActiveMember(StudyResult) - Method in class models.common.GroupResult
-
- removeAllByBatch(Batch) - Method in class daos.common.StudyLinkDao
-
- 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
-
- removeAllUserMembers(Study) - Method in class services.gui.StudyService
-
Removes all member users from the given study except the signed-in user.
- 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
-
- 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.
- removeHistoryMember(StudyResult) - Method in class models.common.GroupResult
-
- removeMember(User) - Method in class models.common.legacy.StudyV2
-
- 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
-
- 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.
- 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.
- removeUser(User) - Method in class models.common.Study
-
- removeUser(String) - Method in class services.gui.UserService
-
Removes the User belonging to the given username from the database.
- removeWorker(Worker) - Method in class models.common.Batch
-
- 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.
- renameStudyAssetsDir(Study, String, boolean) - Method in class services.gui.StudyService
-
Renames the directory in the file system and persists the study's property.
- renameStudyAssetsDir(String, String) - Method in class utils.common.IOUtils
-
Renames a study assets dir.
- 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
- 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.
- 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.
- 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'.
- retrieveFirstActiveComponent(Study) - Method in class services.publix.PublixUtils
-
Returns the first component in the given study that is active.
- retrieveLastComponent(StudyResult) - Method in class services.publix.PublixUtils
-
Returns an Optional of the last ComponentResult's component (of the given StudyResult.
- retrieveLastUploadedResultFile(StudyResult, Component, String) - Method in class services.publix.PublixUtils
-
Gets an uploaded result file with the given filename.
- retrieveSignedinUser(Http.Request) - Method in class services.publix.PublixUtils
-
Retrieves the currently signed-in user or throws an ForbiddenPublixException if none is signed in.
- 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.
- retrieveStudyResultCountsPerWorker(Batch) - Method in class services.gui.WorkerService
-
Retrieves the count of StudyResults for each worker type in a map (
workerType -> count).
- retrieveUser(String) - Method in class services.gui.UserService
-
Retrieves the user with the given username from the DB.
- retrieveWorker(Long) - Method in class services.publix.PublixUtils
-
Retrieves the worker with the given worker ID from the DB.
- run(Http.Request, String) - Method in class controllers.publix.PublixInterceptor
-
- run() - Method in class migrations.common.ComponentResultMigration
-
- run() - Method in class migrations.common.StudyLinkMigration
-
- runComponent(Http.Request, Long, Long, Long) - Method in class controllers.gui.Components
-
Runs a single component (in opposite to the whole study).
- runStudy(Http.Request, Long, Long) - Method in class controllers.gui.Studies
-
Runs the whole study.