Recruitment Service Host
class RecruitmentServiceHost(participantRepository: ParticipantRepository, deploymentService: DeploymentService, eventBus: ApplicationServiceEventBus<RecruitmentService, RecruitmentService.Event>) : RecruitmentService
Content copied to clipboard
Functions
add Participant
Link copied to clipboard
open suspend override fun addParticipant(studyId: UUID, email: EmailAddress): Participant
Content copied to clipboard
Add a Participant to the study with the specified studyId, identified by the specified email address. In case the email was already added before, the same Participant is returned.
get Participant
Link copied to clipboard
open suspend override fun getParticipant(studyId: UUID, participantId: UUID): Participant
Content copied to clipboard
Returns a participant of a study with the specified studyId, identified by participantId.
get Participant Group Status List
Link copied to clipboard
open suspend override fun getParticipantGroupStatusList(studyId: UUID): List<ParticipantGroupStatus>
Content copied to clipboard
Get the status of all deployed participant groups in the study with the specified studyId.
get Participants
Link copied to clipboard
open suspend override fun getParticipants(studyId: UUID): List<Participant>
Content copied to clipboard
Get all Participants for the study with the specified studyId.
invite New Participant Group
Link copied to clipboard
open suspend override fun inviteNewParticipantGroup(studyId: UUID, group: Set<AssignParticipantDevices>): ParticipantGroupStatus
Content copied to clipboard
stop Participant Group
Link copied to clipboard
open suspend override fun stopParticipantGroup(studyId: UUID, groupId: UUID): ParticipantGroupStatus
Content copied to clipboard