From: Roland Häder Date: Thu, 10 Aug 2017 20:47:02 +0000 (+0200) Subject: Also needs to be moved as jcontact-business-core has changed (good convention). X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=1c2ebebd2486f6693229e43c082a274a807f1ff6;p=jcontacts-business-lib.git Also needs to be moved as jcontact-business-core has changed (good convention). --- diff --git a/src/org/mxchange/jcontactsbusiness/BusinessDataAdminSessionBeanRemote.java b/src/org/mxchange/jcontactsbusiness/BusinessDataAdminSessionBeanRemote.java deleted file mode 100644 index 2bf06d1..0000000 --- a/src/org/mxchange/jcontactsbusiness/BusinessDataAdminSessionBeanRemote.java +++ /dev/null @@ -1,39 +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; - -/** - * A remote interface for business contact data - *

- * @author Roland Häder - */ -@Remote -public interface BusinessDataAdminSessionBeanRemote extends Serializable { - - /** - * 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 deleted file mode 100644 index 1d7b240..0000000 --- a/src/org/mxchange/jcontactsbusiness/BusinessDataSessionBeanRemote.java +++ /dev/null @@ -1,44 +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 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; - -} diff --git a/src/org/mxchange/jcontactsbusiness/basicdata/BusinessDataAdminSessionBeanRemote.java b/src/org/mxchange/jcontactsbusiness/basicdata/BusinessDataAdminSessionBeanRemote.java new file mode 100644 index 0000000..25d0c83 --- /dev/null +++ b/src/org/mxchange/jcontactsbusiness/basicdata/BusinessDataAdminSessionBeanRemote.java @@ -0,0 +1,39 @@ +/* + * 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.basicdata; + +import java.io.Serializable; +import java.util.List; +import javax.ejb.Remote; + +/** + * A remote interface for business contact data + *

+ * @author Roland Häder + */ +@Remote +public interface BusinessDataAdminSessionBeanRemote extends Serializable { + + /** + * 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/basicdata/BusinessDataSessionBeanRemote.java b/src/org/mxchange/jcontactsbusiness/basicdata/BusinessDataSessionBeanRemote.java new file mode 100644 index 0000000..12f609f --- /dev/null +++ b/src/org/mxchange/jcontactsbusiness/basicdata/BusinessDataSessionBeanRemote.java @@ -0,0 +1,44 @@ +/* + * 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.basicdata; + +import java.io.Serializable; +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; + +}