Uses of Class
app.coronawarn.server.common.persistence.domain.DiagnosisKey
-
-
Uses of DiagnosisKey in app.coronawarn.server.common.persistence.domain
Methods in app.coronawarn.server.common.persistence.domain that return DiagnosisKey Modifier and Type Method Description DiagnosisKey
DiagnosisKeyBuilder. build()
Methods in app.coronawarn.server.common.persistence.domain that return types with arguments of type DiagnosisKey Modifier and Type Method Description Set<javax.validation.ConstraintViolation<DiagnosisKey>>
DiagnosisKey. validate()
Gets any constraint violations that this key might incorporate. -
Uses of DiagnosisKey in app.coronawarn.server.common.persistence.service
Methods in app.coronawarn.server.common.persistence.service that return types with arguments of type DiagnosisKey Modifier and Type Method Description List<DiagnosisKey>
DiagnosisKeyService. getDiagnosisKeys()
Returns all valid persisted diagnosis keys, sorted by their submission timestamp.Method parameters in app.coronawarn.server.common.persistence.service with type arguments of type DiagnosisKey Modifier and Type Method Description void
DiagnosisKeyService. saveDiagnosisKeys(Collection<DiagnosisKey> diagnosisKeys)
Persists the specified collection ofDiagnosisKey
instances. -
Uses of DiagnosisKey in app.coronawarn.server.services.distribution.assembly.diagnosiskeys
Fields in app.coronawarn.server.services.distribution.assembly.diagnosiskeys with type parameters of type DiagnosisKey Modifier and Type Field Description protected Map<LocalDateTime,List<DiagnosisKey>>
DiagnosisKeyBundler. distributableDiagnosisKeys
Methods in app.coronawarn.server.services.distribution.assembly.diagnosiskeys that return types with arguments of type DiagnosisKey Modifier and Type Method Description List<DiagnosisKey>
DiagnosisKeyBundler. getAllDiagnosisKeys()
Returns allDiagnosisKeys
contained by thisDiagnosisKeyBundler
.List<DiagnosisKey>
DiagnosisKeyBundler. getDiagnosisKeysForDate(LocalDate date)
Returns all diagnosis keys that should be distributed on a specific date.List<DiagnosisKey>
DiagnosisKeyBundler. getDiagnosisKeysForHour(LocalDateTime hour)
Returns all diagnosis keys that should be distributed in a specific hour.Methods in app.coronawarn.server.services.distribution.assembly.diagnosiskeys with parameters of type DiagnosisKey Modifier and Type Method Description protected LocalDateTime
DiagnosisKeyBundler. getSubmissionDateTime(DiagnosisKey diagnosisKey)
Returns the submission timestamp of aDiagnosisKey
as aLocalDateTime
.Method parameters in app.coronawarn.server.services.distribution.assembly.diagnosiskeys with type arguments of type DiagnosisKey Modifier and Type Method Description protected void
DemoDiagnosisKeyBundler. createDiagnosisKeyDistributionMap(Collection<DiagnosisKey> diagnosisKeys)
Initializes the internaldistributableDiagnosisKeys
map, grouping the diagnosis keys by the submission timestamp, thus ignoring the expiry and shifting policies.protected abstract void
DiagnosisKeyBundler. createDiagnosisKeyDistributionMap(Collection<DiagnosisKey> diagnosisKeys)
Initializes the internaldistributableDiagnosisKeys
map, which should contain all diagnosis keys, grouped by the LocalDateTime on which they may be distributed.protected void
ProdDiagnosisKeyBundler. createDiagnosisKeyDistributionMap(Collection<DiagnosisKey> diagnosisKeys)
Initializes the internaldistributableDiagnosisKeys
map, grouping the diagnosis keys by the date on which they may be distributed, while respecting the expiry and shifting policies.void
DiagnosisKeyBundler. setDiagnosisKeys(Collection<DiagnosisKey> diagnosisKeys, LocalDateTime distributionTime)
Sets theDiagnosisKeys
contained by thisDiagnosisKeyBundler
and the time at which the distribution runs and callsDiagnosisKeyBundler.createDiagnosisKeyDistributionMap(java.util.Collection<app.coronawarn.server.common.persistence.domain.DiagnosisKey>)
. -
Uses of DiagnosisKey in app.coronawarn.server.services.distribution.assembly.diagnosiskeys.structure.file
Method parameters in app.coronawarn.server.services.distribution.assembly.diagnosiskeys.structure.file with type arguments of type DiagnosisKey Modifier and Type Method Description static TemporaryExposureKeyExportFile
TemporaryExposureKeyExportFile. fromDiagnosisKeys(Collection<DiagnosisKey> diagnosisKeys, String region, long startTimestamp, long endTimestamp, DistributionServiceConfig distributionServiceConfig)
Constructs aTemporaryExposureKeyExportFile
fromDiagnosisKeys
.
-