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

Implementation of DocumentRepositoryInterface #291

Open
j3nsch opened this issue Aug 10, 2022 · 0 comments
Open

Implementation of DocumentRepositoryInterface #291

j3nsch opened this issue Aug 10, 2022 · 0 comments
Assignees

Comments

@j3nsch
Copy link
Member

j3nsch commented Aug 10, 2022

Funktionen die alle bzw. mehrere Dokumente betreffen, wie getAll, sollen aus der Document-Klasse nach DocumentRepository verschoben werden. Damit kann der Code in Application sich ein DocumentRepository Objekt holen und verwendet nicht mehr statische Funktionen der Framework-Implementation von Document.

Einzelne Funktionen von DocumentRepository könnten über statische Funktionen von Opus\Common\Document verfügbar gemacht werden, so dass sie genauso wie vorher aufgerufen werden können, aber es scheint besser die Funktionen für ein konkrete Dokument von den allgemeinen Funktionen zu trennen. Die "Wrapper"-Funktionen können jederzeit hinzugefügt werden, wenn sich zeigt, dass der Code in Application dadurch lesbarer wird.

@j3nsch j3nsch added this to the 4.7.2 milestone Aug 10, 2022
@j3nsch j3nsch self-assigned this Aug 10, 2022
j3nsch added a commit that referenced this issue Aug 10, 2022
j3nsch added a commit that referenced this issue Aug 10, 2022
j3nsch added a commit that referenced this issue Aug 11, 2022
@j3nsch j3nsch added this to OPUS 4.9 Apr 12, 2023
@j3nsch j3nsch removed this from the 4.8 milestone Apr 12, 2023
@j3nsch j3nsch removed this from OPUS 4.9 May 10, 2023
@j3nsch j3nsch added this to 4.8.2 May 10, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: No status
Development

No branches or pull requests

1 participant