Skip to content
Snippets Groups Projects
Commit 605f02b7 authored by OZGCloud's avatar OZGCloud
Browse files

OZG-4089 provide api for persisting/loading answers

parent 22f1e54a
No related branches found
No related tags found
No related merge requests found
......@@ -44,4 +44,21 @@ public interface PersistPostfachNachrichtService {
String persistAttachment(String vorgangId, AttachmentFile attachment);
Stream<PostfachNachricht> findRueckfragen(String postfachId);
/**
* Persists the given answer
*
* @param answer The given answer
* @param rueckfrageId The ID of the original Rueckfrage
* @return
*/
String persistAnswer(String rueckfrageId, PostfachNachricht answer);
/**
* Returns all Answers given for the Rueckfrage identified by id
*
* @param rueckfrageId ID of the Rueckfrage to load answers for.
* @return all Answers
*/
Stream<PostfachNachricht> findAnswers(String rueckfrageId);
}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment