1
0
mirror of https://github.com/pcvolkmer/onkostar-plugin-dnpm.git synced 2025-07-02 17:22:54 +00:00

refactor: use package name following Java guidelines

This commit is contained in:
2024-09-21 22:10:24 +02:00
parent 93215825f5
commit cc27edc544
93 changed files with 199 additions and 200 deletions

View File

@ -0,0 +1,27 @@
package dev.dnpm.services.consent;
import de.itc.onkostar.api.Procedure;
/**
* Schnittstelle für die Anwendung von Consent-Änderungen
*
* @since 0.2.0
*/
public interface ConsentManagerService {
/**
* Wende Consent an, wenn dieses Consent-Formular gespeichert wird
* @param procedure Prozedur des Consent-Formulars
*/
void applyConsent(Procedure procedure);
/**
* Optionale Prüfung, ob die angegebene Prozedur angewendet werden kann.
* @param procedure Anzuwendende Prozedur
* @return Gibt <code>true</code> zurück, wenn die Prozedur angewendet werden kann.
*/
default boolean canApply(Procedure procedure) {
return null != procedure;
}
}