Skip to content
This repository was archived by the owner on May 5, 2021. It is now read-only.

Commit f5b3079

Browse files
author
barnabartha
committed
Merge branch 'development' into feature-3253-SendSMSToCases
# Conflicts: # sormas-backend/src/main/java/de/symeda/sormas/backend/caze/CaseFacadeEjb.java
2 parents 1c3da68 + b5bcd46 commit f5b3079

66 files changed

Lines changed: 3123 additions & 1432 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

sormas-api/src/main/java/de/symeda/sormas/api/bagexport/BAGExportCaseDto.java

Lines changed: 230 additions & 159 deletions
Large diffs are not rendered by default.

sormas-api/src/main/java/de/symeda/sormas/api/bagexport/BAGExportContactDto.java

Lines changed: 140 additions & 170 deletions
Large diffs are not rendered by default.

sormas-api/src/main/java/de/symeda/sormas/api/i18n/Captions.java

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -560,6 +560,9 @@ public interface Captions {
560560
String Country_externalId = "Country.externalId";
561561
String Country_isoCode = "Country.isoCode";
562562
String Country_unoCode = "Country.unoCode";
563+
String countryActiveCountries = "countryActiveCountries";
564+
String countryAllCountries = "countryAllCountries";
565+
String countryArchivedCountries = "countryArchivedCountries";
563566
String creationDate = "creationDate";
564567
String dashboardAlive = "dashboardAlive";
565568
String dashboardApplyCustomFilter = "dashboardApplyCustomFilter";
@@ -1376,6 +1379,7 @@ public interface Captions {
13761379
String SormasToSormasOptions_pseudonymizeSensitiveData = "SormasToSormasOptions.pseudonymizeSensitiveData";
13771380
String SormasToSormasOptions_withAssociatedContacts = "SormasToSormasOptions.withAssociatedContacts";
13781381
String SormasToSormasOptions_withSamples = "SormasToSormasOptions.withSamples";
1382+
String sormasToSormasReturn = "sormasToSormasReturn";
13791383
String sormasToSormasSentFrom = "sormasToSormasSentFrom";
13801384
String sormasToSormasShare = "sormasToSormasShare";
13811385
String sormasToSormasSharedBy = "sormasToSormasSharedBy";

sormas-api/src/main/java/de/symeda/sormas/api/i18n/Strings.java

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -417,7 +417,6 @@ public interface Strings {
417417
String headingSetOutbreakStatus = "headingSetOutbreakStatus";
418418
String headingSignsAndSymptoms = "headingSignsAndSymptoms";
419419
String headingSomeEventsNotDeleted = "headingSomeEventsNotDeleted";
420-
String headingSourceContacts = "headingSourceContacts";
421420
String headingStoppedFollowUp = "headingStoppedFollowUp";
422421
String headingTasksDeleted = "headingTasksDeleted";
423422
String headingTemplateNotAvailable = "headingTemplateNotAvailable";

sormas-api/src/main/java/de/symeda/sormas/api/i18n/Validations.java

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -99,6 +99,8 @@ public interface Validations {
9999
String sormasToSormasContactCaseNotExists = "sormasToSormasContactCaseNotExists";
100100
String sormasToSormasContactExists = "sormasToSormasContactExists";
101101
String sormasToSormasOrganizationIdMissing = "sormasToSormasOrganizationIdMissing";
102+
String sormasToSormasReturnCaseNotExists = "sormasToSormasReturnCaseNotExists";
103+
String sormasToSormasReturnContactNotExists = "sormasToSormasReturnContactNotExists";
102104
String sormasToSormasSampleExists = "sormasToSormasSampleExists";
103105
String sormasToSormasSenderNameMissing = "sormasToSormasSenderNameMissing";
104106
String sormasToSormasShareInfoMissing = "sormasToSormasShareInfoMissing";

sormas-api/src/main/java/de/symeda/sormas/api/sormastosormas/SormasToSormasFacade.java

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,14 @@ public interface SormasToSormasFacade {
3030

3131
void shareContacts(List<String> contactUuids, SormasToSormasOptionsDto options) throws SormasToSormasException;
3232

33+
void returnCase(String caseUuid, SormasToSormasOptionsDto options) throws SormasToSormasException;
34+
35+
void returnContact(String contactUuid, SormasToSormasOptionsDto options) throws SormasToSormasException;
36+
37+
void saveReturnedCase(SormasToSormasEncryptedDataDto sharedCase) throws SormasToSormasException, SormasToSormasValidationException;
38+
39+
void saveReturnedContact(SormasToSormasEncryptedDataDto sharedContact) throws SormasToSormasException, SormasToSormasValidationException;
40+
3341
List<ServerAccessDataReferenceDto> getAvailableOrganizations();
3442

3543
ServerAccessDataReferenceDto getOrganizationRef(String id);
Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
/*
2+
* SORMAS® - Surveillance Outbreak Response Management & Analysis System
3+
* Copyright © 2016-2020 Helmholtz-Zentrum für Infektionsforschung GmbH (HZI)
4+
* This program is free software: you can redistribute it and/or modify
5+
* it under the terms of the GNU General Public License as published by
6+
* the Free Software Foundation, either version 3 of the License, or
7+
* (at your option) any later version.
8+
* This program is distributed in the hope that it will be useful,
9+
* but WITHOUT ANY WARRANTY; without even the implied warranty of
10+
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
11+
* GNU General Public License for more details.
12+
* You should have received a copy of the GNU General Public License
13+
* along with this program. If not, see <https://www.gnu.org/licenses/>.
14+
*/
15+
16+
package de.symeda.sormas.api.sormastosormas;
17+
18+
import javax.ejb.Remote;
19+
20+
@Remote
21+
public interface SormasToSormasOriginInfoFacade {
22+
}

sormas-api/src/main/resources/captions.properties

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1332,6 +1332,10 @@ PrescriptionExport.caseUuid=Case ID
13321332
PrescriptionExport.caseName=Case name
13331333

13341334
# Country
1335+
countryActiveCountries=Active countries
1336+
countryArchivedCountries=Archived countries
1337+
countryAllCountries=All countries
1338+
13351339
Country.archived=Archived
13361340
Country.externalId=External ID
13371341
Country.defaultName=Default name
@@ -1935,6 +1939,7 @@ sormasToSormasDialogTitle=Share with health department
19351939
sormasToSormasErrorDialogTitle=Error while sharing with another health department
19361940
sormasToSormasListTitle=Share
19371941
sormasToSormasShare=Share
1942+
sormasToSormasReturn=Return
19381943
sormasToSormasCaseNotShared=This case is not shared
19391944
sormasToSormasContactNotShared=This contact is not shared
19401945
sormasToSormasSharedWith=Shared with
-2.97 KB
Binary file not shown.
-2 Bytes
Binary file not shown.

0 commit comments

Comments
 (0)