-
Notifications
You must be signed in to change notification settings - Fork 142
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[GITFLOW]merging 'release-1.70.0' into 'master'
- Loading branch information
Showing
769 changed files
with
21,427 additions
and
5,714 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
7 changes: 7 additions & 0 deletions
7
sormas-api/src/main/java/de/symeda/sormas/api/EditPermissionType.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
package de.symeda.sormas.api; | ||
|
||
public enum EditPermissionType { | ||
ALLOWED, | ||
ARCHIVING_STATUS_ONLY, | ||
REFUSED | ||
} |
72 changes: 72 additions & 0 deletions
72
sormas-api/src/main/java/de/symeda/sormas/api/audit/Constants.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,72 @@ | ||
package de.symeda.sormas.api.audit; | ||
|
||
import org.apache.commons.collections.set.UnmodifiableSet; | ||
|
||
import java.util.Arrays; | ||
import java.util.Collections; | ||
import java.util.HashSet; | ||
import java.util.Set; | ||
|
||
public class Constants { | ||
|
||
public static final Set<String> createPrefix = | ||
Collections.unmodifiableSet(new HashSet<>(Arrays.asList("create", "generate", "build", "clone", "calculate"))); | ||
public static final Set<String> readPrefix = Collections.unmodifiableSet( | ||
new HashSet<>( | ||
Arrays.asList( | ||
"count", | ||
"get", | ||
"is", | ||
"has", | ||
"does", | ||
"validate", | ||
"exists", | ||
"read", | ||
"import", | ||
"find", | ||
"query", | ||
"load", | ||
"check", | ||
"uses", | ||
"fetch"))); | ||
public static final Set<String> updatePrefix = Collections.unmodifiableSet( | ||
new HashSet<>( | ||
Arrays.asList( | ||
"update", | ||
"post", | ||
"set", | ||
"archive", | ||
"dearchive", | ||
"save", | ||
"overwrite", | ||
"convert", | ||
"link", | ||
"bulkAssign", | ||
"write", | ||
"cleanup", | ||
"mark"))); | ||
public static final Set<String> deletePrefix = Collections.unmodifiableSet(new HashSet<>(Arrays.asList("delete", "merge", "remove"))); | ||
public static final Set<String> executePrefix = Collections.unmodifiableSet( | ||
new HashSet<>( | ||
Arrays.asList( | ||
"send", | ||
"start", | ||
"share", | ||
"signAndEncrypt", | ||
"decryptAndVerify", | ||
"reject", | ||
"report", | ||
"unlink", | ||
"notify", | ||
"register", | ||
"cancel", | ||
"end", | ||
"accept", | ||
"sync", | ||
"request", | ||
"revoke", | ||
"reset", | ||
"enable", | ||
"disable"))); | ||
|
||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
17 changes: 17 additions & 0 deletions
17
sormas-api/src/main/java/de/symeda/sormas/api/caze/CaseFollowUpCriteria.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
package de.symeda.sormas.api.caze; | ||
|
||
import java.util.Date; | ||
|
||
public class CaseFollowUpCriteria extends CaseCriteria { | ||
|
||
private Date referenceDate; | ||
private int interval; | ||
|
||
public Date getReferenceDate() { | ||
return referenceDate; | ||
} | ||
|
||
public int getInterval() { | ||
return interval; | ||
} | ||
} |
Oops, something went wrong.