Index: Ringtoets/Integration/src/Ringtoets.Integration.IO/Handlers/IHydraulicLocationConfigurationDatabaseUpdateHandler.cs
===================================================================
diff -u -r103328428b98208b9f15f047750047cb3424a147 -rb9b1172030bdbb0148211c7e2706e66fcde2d6bc
--- Ringtoets/Integration/src/Ringtoets.Integration.IO/Handlers/IHydraulicLocationConfigurationDatabaseUpdateHandler.cs (.../IHydraulicLocationConfigurationDatabaseUpdateHandler.cs) (revision 103328428b98208b9f15f047750047cb3424a147)
+++ Ringtoets/Integration/src/Ringtoets.Integration.IO/Handlers/IHydraulicLocationConfigurationDatabaseUpdateHandler.cs (.../IHydraulicLocationConfigurationDatabaseUpdateHandler.cs) (revision b9b1172030bdbb0148211c7e2706e66fcde2d6bc)
@@ -19,12 +19,36 @@
// Stichting Deltares and remain full property of Stichting Deltares at all times.
// All rights reserved.
+using System;
+using System.Collections.Generic;
+using Core.Common.Base;
using Ringtoets.Common.Data.Hydraulics;
+using Ringtoets.HydraRing.IO.HydraulicLocationConfigurationDatabase;
namespace Ringtoets.Integration.IO.Handlers
{
///
/// Interface for an object that can properly update .
///
- public interface IHydraulicLocationConfigurationDatabaseUpdateHandler {}
+ public interface IHydraulicLocationConfigurationDatabaseUpdateHandler
+ {
+ ///
+ /// Gets confirmation for updating the .
+ ///
+ /// true when confirmation is given; false otherwise.
+ bool InquireConfirmation();
+
+ ///
+ /// Updates the and its dependent data with the
+ /// .
+ ///
+ /// The hydraulic location configuration settings to update.
+ /// The read hydraulic location configuration database settings to update with.
+ /// The file path of the hlcd.
+ /// All objects that have been affected by the update.
+ /// Thrown when any parameter is null.
+ IEnumerable Update(HydraulicLocationConfigurationSettings hydraulicLocationConfigurationSettings,
+ ReadHydraulicLocationConfigurationDatabaseSettings readHydraulicLocationConfigurationDatabaseSettings,
+ string hlcdFilePath);
+ }
}
\ No newline at end of file