ParticipationService class abstract

Application service which allows inviting participants, retrieving participations for study deployments, and managing data related to participants which is input by users.

Constructors

ParticipationService()

Properties

hashCode → int
The hash code for this object.
no setterinherited
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited

Methods

addParticipation(String studyDeploymentId, Set<String> assignedMasterDeviceRoleNames, AccountIdentity identity, StudyInvitation invitation) → Future<Participation>
Let the person with the specified identity participate in the study deployment with studyDeploymentId, using the master devices with the specified assignedMasterDeviceRoleNames.
getActiveParticipationInvitations(String accountId) → Future<List<ActiveParticipationInvitation>>
Get all participations of active study deployments the account with the given accountId has been invited to.
getParticipantData(String studyDeploymentId) → Future<ParticipantData>
Get currently set data for all expected participant data in the study deployment with studyDeploymentId. Data which is not set equals null.
getParticipantDataList(List<String> studyDeploymentIds) → Future<List<ParticipantData>>
Get currently set data for all expected participant data for a set of study deployments with studyDeploymentIds. Data which is not set equals null.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
setParticipantData(String studyDeploymentId, String inputDataType, ParticipantData data) → Future<ParticipantData>
Set participant data for the given inputDataType in the study deployment with studyDeploymentId.
toString() → String
A string representation of this object.
inherited

Operators

operator ==(Object other) → bool
The equality operator.
inherited