Class TaskUpdateService
java.lang.Object
fr.tiogars.chat.domains.task.services.TaskUpdateService
Updates existing Tasks.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionupdate(Long id, UpdateTaskRequest request) Updates the mutable fields of a Task.
-
Constructor Details
-
TaskUpdateService
-
-
Method Details
-
update
Updates the mutable fields of a Task.- Parameters:
id- persistent identifierrequest- replacement business data- Returns:
- updated template, or an empty optional when it does not exist
-