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
*/
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;
+
}