Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

BusinessServiceInterface refactoring #1333

Open
2 tasks
MasterEvarior opened this issue Jan 23, 2025 · 0 comments
Open
2 tasks

BusinessServiceInterface refactoring #1333

MasterEvarior opened this issue Jan 23, 2025 · 0 comments

Comments

@MasterEvarior
Copy link
Collaborator

Das BusinessServiceInterface wird nur von 3 BusinessServices implementiert, da nicht jeder BusinessService create, update und/oder delete zulässt. Trotzdem überschneiden sich die Implementationen von Methoden wie getEntityById oder deleteEntityById an vielen Stellen.

Kann der

https://github.com/puzzle/okr/blob/main/backend/src/main/java/ch/puzzle/okr/service/business/BusinessServiceInterface.java

Ideen

  • Mehrere Interfaces z.B. BusinessService, BusinessServiceDeletable, BusinessServiceUpdateable, ...
  • Eine Mischung zwischen Interfaces und einer abstract class
  • ....?

Anforderungen

  • ...

Akzeptanzkriterien

  • Alle Tests sind OK
  • ....
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant