From: Roland Haeder Date: Sat, 5 Sep 2015 14:54:46 +0000 (+0200) Subject: Cleared interfaces from old methods and already defined (init()) X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=3e2b81a8968fd0912a09600bbbe200445b2ed9c1;p=jcustomer-lib.git Cleared interfaces from old methods and already defined (init()) Signed-off-by:Roland Häder --- diff --git a/src/org/mxchange/jshopeelib/beans/remote/basket/BasketSessionBeanRemote.java b/src/org/mxchange/jshopeelib/beans/remote/basket/BasketSessionBeanRemote.java index 27a40b4..dfced7f 100644 --- a/src/org/mxchange/jshopeelib/beans/remote/basket/BasketSessionBeanRemote.java +++ b/src/org/mxchange/jshopeelib/beans/remote/basket/BasketSessionBeanRemote.java @@ -19,8 +19,6 @@ package org.mxchange.jshopeelib.beans.remote.basket; import java.rmi.RemoteException; import java.util.Map; import javax.ejb.Remote; -import javax.faces.FacesException; -import javax.faces.view.facelets.FaceletException; import org.mxchange.jshopcore.model.item.AddableBasketItem; import org.mxchange.jshopeelib.beans.ShopBean; @@ -31,14 +29,6 @@ import org.mxchange.jshopeelib.beans.ShopBean; */ @Remote public interface BasketSessionBeanRemote extends ShopBean { - /** - * Initializes this instance. Please note that no checked exceptions can be - * thrown as this method is invoked over @PostConstruct anotation. - * - * @throws FacesException If something was wrong - */ - public void init () throws FaceletException; - /** * Adds given item instance to this basket * @param item Item instance to add diff --git a/src/org/mxchange/jshopeelib/beans/remote/customer/CustomerSessionBeanRemote.java b/src/org/mxchange/jshopeelib/beans/remote/customer/CustomerSessionBeanRemote.java index 3676b20..69598ee 100644 --- a/src/org/mxchange/jshopeelib/beans/remote/customer/CustomerSessionBeanRemote.java +++ b/src/org/mxchange/jshopeelib/beans/remote/customer/CustomerSessionBeanRemote.java @@ -17,7 +17,6 @@ package org.mxchange.jshopeelib.beans.remote.customer; import javax.ejb.Remote; -import org.mxchange.jcore.model.contact.gender.Gender; import org.mxchange.jshopeelib.beans.ShopBean; /** @@ -27,227 +26,4 @@ import org.mxchange.jshopeelib.beans.ShopBean; */ @Remote public interface CustomerSessionBeanRemote extends ShopBean { - /** - * Some "getter" for translated gender of the contact - * - * @return Translated / human-readable gender - */ - public String getTranslatedGender (); - - /** - * Gender of the contact - * - * @return the gender - */ - public Gender getGender (); - - /** - * Gender of the contact - * - * @param gender the gender to set - */ - public void setGender (final Gender gender); - - /** - * First name - * - * @return the first name - */ - public String getFirstName (); - - /** - * First name - * - * @param firstName the first name to set - */ - public void setFirstName (final String firstName); - - /** - * Family name - * - * @return the familyName - */ - public String getFamilyName (); - - /** - * Family name - * - * @param familyName the familyName to set - */ - public void setFamilyName (final String familyName); - - /** - * Companyname - * - * @return the companyName - */ - public String getCompanyName (); - - /** - * Companyname - * - * @param companyName the companyName to set - */ - public void setCompanyName (final String companyName); - - /** - * Street - * - * @return the street - */ - public String getStreet (); - - /** - * Street - * - * @param street the street to set - */ - public void setStreet (final String street); - - /** - * House number - * - * @return the houseNumber - */ - public Long getHouseNumber (); - - /** - * House number - * - * @param houseNumber the houseNumber to set - */ - public void setHouseNumber (final Long houseNumber); - - /** - * ZIP code - * - * @return the zipCode - */ - public Long getZipCode (); - - /** - * ZIP code - * - * @param zipCode the zipCode to set - */ - public void setZipCode (final Long zipCode); - - /** - * City - * - * @return the city - */ - public String getCity (); - - /** - * City - * - * @param city the city to set - */ - public void setCity (final String city); - - /** - * Country code - * - * @return the countryCode - */ - public String getCountryCode (); - - /** - * Country code - * - * @param countryCode the countryCode to set - */ - public void setCountryCode (final String countryCode); - - /** - * Email address - * - * @return the emailAddress - */ - public String getEmailAddress (); - - /** - * Email address - * - * @param emailAddress the emailAddress to set - */ - public void setEmailAddress (final String emailAddress); - - /** - * Phone number - * - * @return the phoneNumber - */ - public String getPhoneNumber (); - - /** - * Phone number - * - * @param phoneNumber the phoneNumber to set - */ - public void setPhoneNumber (final String phoneNumber); - - /** - * Fax number - * - * @return the faxNumber - */ - public String getFaxNumber (); - - /** - * Fax number - * - * @param faxNumber the faxNumber to set - */ - public void setFaxNumber (final String faxNumber); - - /** - * Cellphone number - * - * @return the cellphoneNumber - */ - public String getCellphoneNumber (); - - /** - * Cellphone number - * - * @param cellphoneNumber the cellphoneNumber to set - */ - public void setCellphoneNumber (final String cellphoneNumber); - - /** - * Birth day - * - * @return the birthday - */ - public String getBirthday (); - - /** - * Birth day - * - * @param birthday the birthday to set - */ - public void setBirthday (final String birthday); - - /** - * Comments - * - * @return the comment - */ - public String getComment (); - - /** - * Comments - * - * @param comment the comment to set - */ - public void setComment (final String comment); - - /** - * Checks whether the contact is user's own data - * - * @return Own data? - */ - public boolean isOwnContact (); }