ProtocolService class abstract

Application service which allows managing (multiple versions of) StudyProtocols.

Constructors

ProtocolService()

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

add(StudyProtocol protocol, [String? versionTag]) Future<void>
Add the specified study protocol.
addVersion(StudyProtocol protocol, [String? versionTag]) Future<void>
Add a new version for the specified study protocol, of which a previous version with the same owner and name is already stored.
getAllFor(String ownerId) Future<List<StudyProtocol>>
Find all StudyProtocol's owned by the owner with ownerId.
getBy(StudyProtocolId protocolId, [String? versionTag]) Future<StudyProtocol>
Return the StudyProtocol with the specified protocolId,
getVersionHistoryFor(StudyProtocolId protocolId) Future<List<ProtocolVersion>>
Returns all stored versions for the protocol with the specified protocolId.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited
updateParticipantDataConfiguration(StudyProtocolId protocolId, String versionTag, List<ParticipantAttribute> expectedParticipantData) Future<StudyProtocol>
Replace the expected participant data for the study protocol with the specified protocolId and versionTag with expectedParticipantData.

Operators

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