Class ResearchStudyParticipantFileService
java.lang.Object
org.diabetestechnology.drh.service.http.pg.service.ResearchStudyParticipantFileService
-
Constructor Summary
ConstructorsConstructorDescriptionResearchStudyParticipantFileService
(S3FileUploadService s3FileUploadService, ParticipantService participantService, MasterService masterService, InteractionService interactionService) -
Method Summary
Modifier and TypeMethodDescriptionbyte[]
byte[]
org.jooq.JSONB
uploadAndSaveParticipantFile
(org.springframework.web.multipart.MultipartFile file, ParticipantFileDataRequest request)
-
Constructor Details
-
ResearchStudyParticipantFileService
public ResearchStudyParticipantFileService(S3FileUploadService s3FileUploadService, ParticipantService participantService, MasterService masterService, InteractionService interactionService)
-
-
Method Details
-
uploadAndSaveParticipantFile
public org.jooq.JSONB uploadAndSaveParticipantFile(org.springframework.web.multipart.MultipartFile file, ParticipantFileDataRequest request) throws com.fasterxml.jackson.core.JsonProcessingException - Throws:
com.fasterxml.jackson.core.JsonProcessingException
-
generateParticipantMealsCsvTemplate
public byte[] generateParticipantMealsCsvTemplate() -
generateParticipantFitnessCsvTemplate
public byte[] generateParticipantFitnessCsvTemplate()
-