@Singleton
public class StudyLinkService
extends java.lang.Object
Modifier and Type | Method and Description |
---|---|
java.util.List<java.lang.String> |
createAndPersistStudyLinks(java.lang.String comment,
int amount,
Batch batch,
java.lang.String workerType) |
com.fasterxml.jackson.databind.JsonNode |
getStudyCodes(java.lang.String id,
scala.Option<java.lang.Long> batchId,
java.lang.String workerType,
java.lang.String comment,
java.lang.Integer amount) |
public java.util.List<java.lang.String> createAndPersistStudyLinks(java.lang.String comment, int amount, Batch batch, java.lang.String workerType) throws BadRequestException
BadRequestException
public com.fasterxml.jackson.databind.JsonNode getStudyCodes(java.lang.String id, scala.Option<java.lang.Long> batchId, java.lang.String workerType, java.lang.String comment, java.lang.Integer amount) throws ForbiddenException, NotFoundException, BadRequestException