From: Roland Häder Date: Fri, 9 Jun 2017 19:10:16 +0000 (+0200) Subject: fixed copyright, no email address here X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=5169b5a3ffd3d6cebbee99ffa75e40e2ab54fba8;p=jcontacts-business-lib.git fixed copyright, no email address here Signed-off-by: Roland Häder --- diff --git a/src/org/mxchange/jcontactsbusiness/BusinessContactSessionBeanRemote.java b/src/org/mxchange/jcontactsbusiness/BusinessContactSessionBeanRemote.java index 4561e19..7723f54 100644 --- a/src/org/mxchange/jcontactsbusiness/BusinessContactSessionBeanRemote.java +++ b/src/org/mxchange/jcontactsbusiness/BusinessContactSessionBeanRemote.java @@ -1,5 +1,5 @@ /* - * Copyright (C) 2017 Roland Haeder + * Copyright (C) 2017 Roland Häder * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by @@ -19,15 +19,29 @@ package org.mxchange.jcontactsbusiness; import java.io.Serializable; import java.util.List; import javax.ejb.Remote; +import org.mxchange.jcontactsbusiness.exceptions.BusinessContactNotFoundException; /** * A remote interface for business contact data *

- * @author Roland Haeder + * @author Roland Häder */ @Remote public interface BusinessContactSessionBeanRemote extends Serializable { + /** + * Retrieves a single business contact entity for given id number or throws + * a proper exception if not found. + *

+ * @param businessContactId Business contact id to lookup + *

+ * @return Business contact instance + *

+ * @throws BusinessContactNotFoundException If the id number could not be + * looked up and solved into an entity + */ + BusinessContact findBusinessContactById (final Long businessContactId) throws BusinessContactNotFoundException; + /** * Returns a list, even empty if not thing found, from all business * contacts. NULL should not be returned by this method.