From: Roland Häder Date: Sun, 23 Jul 2017 16:38:33 +0000 (+0200) Subject: updated jar(s) X-Git-Url: https://git.mxchange.org/?p=jcontacts-business-lib.git;a=commitdiff_plain;h=548c43a0cf17c07eec086f4da5a73ca8c61fdd0e updated jar(s) Signed-off-by: Roland Häder --- diff --git a/lib/jcontacts-business-core.jar b/lib/jcontacts-business-core.jar index 01af146..289e64f 100644 Binary files a/lib/jcontacts-business-core.jar and b/lib/jcontacts-business-core.jar differ diff --git a/src/org/mxchange/jcontactsbusiness/BusinessContactSessionBeanRemote.java b/src/org/mxchange/jcontactsbusiness/BusinessContactSessionBeanRemote.java deleted file mode 100644 index e5bb247..0000000 --- a/src/org/mxchange/jcontactsbusiness/BusinessContactSessionBeanRemote.java +++ /dev/null @@ -1,53 +0,0 @@ -/* - * 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 - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see . - */ -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 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 - */ - BusinessBasicData findBusinessDataById (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. - *

- * @return A list with all business contacts - */ - List allBusinessContacts (); - -} diff --git a/src/org/mxchange/jcontactsbusiness/BusinessDataSessionBeanRemote.java b/src/org/mxchange/jcontactsbusiness/BusinessDataSessionBeanRemote.java new file mode 100644 index 0000000..c521149 --- /dev/null +++ b/src/org/mxchange/jcontactsbusiness/BusinessDataSessionBeanRemote.java @@ -0,0 +1,53 @@ +/* + * 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 + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see . + */ +package org.mxchange.jcontactsbusiness; + +import java.io.Serializable; +import java.util.List; +import javax.ejb.Remote; +import org.mxchange.jcontactsbusiness.exceptions.BusinessDataNotFoundException; + +/** + * A remote interface for business contact data + *

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

+ * @param businessDataId Business data id to lookup + *

+ * @return Business contact instance + *

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

+ * @return A list with all business contacts + */ + List allBusinessContacts (); + +}