From a9f6126042c53f4207a68fc83002053ea087c60c Mon Sep 17 00:00:00 2001
From: =?utf8?q?Roland=20H=C3=A4der?= <roland@mxchange.org>
Date: Fri, 24 Apr 2020 02:45:40 +0200
Subject: [PATCH] Continued: - added business method updateBranchOffice()
MIME-Version: 1.0
Content-Type: text/plain; charset=utf8
Content-Transfer-Encoding: 8bit

Signed-off-by: Roland Häder <roland@mxchange.org>
---
 .../AdminBranchOfficeSessionBeanRemote.java         | 13 +++++++++++++
 1 file changed, 13 insertions(+)

diff --git a/src/org/mxchange/jcontactsbusiness/model/branchoffice/AdminBranchOfficeSessionBeanRemote.java b/src/org/mxchange/jcontactsbusiness/model/branchoffice/AdminBranchOfficeSessionBeanRemote.java
index 43a2dc4..adaf1bf 100644
--- a/src/org/mxchange/jcontactsbusiness/model/branchoffice/AdminBranchOfficeSessionBeanRemote.java
+++ b/src/org/mxchange/jcontactsbusiness/model/branchoffice/AdminBranchOfficeSessionBeanRemote.java
@@ -19,6 +19,7 @@ package org.mxchange.jcontactsbusiness.model.branchoffice;
 import java.io.Serializable;
 import javax.ejb.Remote;
 import org.mxchange.jcontactsbusiness.exceptions.branchoffice.BranchOfficeAlreadyAddedException;
+import org.mxchange.jcontactsbusiness.exceptions.branchoffice.BranchOfficeNotFoundException;
 
 /**
  * A remote interface for branch offices
@@ -42,4 +43,16 @@ public interface AdminBranchOfficeSessionBeanRemote extends Serializable {
 	 */
 	BranchOffice addBranchOffice (final BranchOffice branchOffice) throws BranchOfficeAlreadyAddedException;
 
+	/**
+	 * Updates given branch office data in database.
+	 * <p>
+	 * @param branchOffice Branch office instance being updated
+	 * <p>
+	 * @return Updated branch office instance
+	 * <p>
+	 * @throws BranchOfficeNotFoundException If given branch office instance is
+	 * not found.
+	 */
+	BranchOffice updateBranchOffice (final BranchOffice branchOffice) throws BranchOfficeNotFoundException;
+
 }
-- 
2.39.5