diff --git a/out/production/infrastructureLogicielleClient/exceptions/BadEntryException.class b/out/production/infrastructureLogicielleClient/exceptions/BadEntryException.class deleted file mode 100644 index 9e1597d70d863c1026ac6fd7f098aa4f6fed1180..0000000000000000000000000000000000000000 Binary files a/out/production/infrastructureLogicielleClient/exceptions/BadEntryException.class and /dev/null differ diff --git a/out/production/infrastructureLogicielleClient/exceptions/ItemBookAlreadyExistsException.class b/out/production/infrastructureLogicielleClient/exceptions/ItemBookAlreadyExistsException.class deleted file mode 100644 index aadaa794c08eae1e9afb9ca07f9c7f7f84c0d8f6..0000000000000000000000000000000000000000 Binary files a/out/production/infrastructureLogicielleClient/exceptions/ItemBookAlreadyExistsException.class and /dev/null differ diff --git a/out/production/infrastructureLogicielleClient/exceptions/ItemFilmAlreadyExistsException.class b/out/production/infrastructureLogicielleClient/exceptions/ItemFilmAlreadyExistsException.class deleted file mode 100644 index c36a4c17b3f2122ff5049cc9531240a51f87d5f3..0000000000000000000000000000000000000000 Binary files a/out/production/infrastructureLogicielleClient/exceptions/ItemFilmAlreadyExistsException.class and /dev/null differ diff --git a/out/production/infrastructureLogicielleClient/exceptions/MemberAlreadyExistsException.class b/out/production/infrastructureLogicielleClient/exceptions/MemberAlreadyExistsException.class deleted file mode 100644 index dab3f0504f8f6a9308c151e9feddddbf30178a56..0000000000000000000000000000000000000000 Binary files a/out/production/infrastructureLogicielleClient/exceptions/MemberAlreadyExistsException.class and /dev/null differ diff --git a/out/production/infrastructureLogicielleClient/exceptions/NotItemException.class b/out/production/infrastructureLogicielleClient/exceptions/NotItemException.class deleted file mode 100644 index 9e2d3d38569bb5d372323fcde7708461328c2a54..0000000000000000000000000000000000000000 Binary files a/out/production/infrastructureLogicielleClient/exceptions/NotItemException.class and /dev/null differ diff --git a/out/production/infrastructureLogicielleClient/exceptions/NotMemberException.class b/out/production/infrastructureLogicielleClient/exceptions/NotMemberException.class deleted file mode 100644 index e8038fb4eb960762c9623967f68fa09762ac2d45..0000000000000000000000000000000000000000 Binary files a/out/production/infrastructureLogicielleClient/exceptions/NotMemberException.class and /dev/null differ diff --git a/out/production/infrastructureLogicielleClient/exceptions/NotTestReportException.class b/out/production/infrastructureLogicielleClient/exceptions/NotTestReportException.class deleted file mode 100644 index 32d700047f84d594cc4c11a35b3117919948f601..0000000000000000000000000000000000000000 Binary files a/out/production/infrastructureLogicielleClient/exceptions/NotTestReportException.class and /dev/null differ diff --git a/out/production/infrastructureLogicielleClient/hmi/InputJPanel$InputListener.class b/out/production/infrastructureLogicielleClient/hmi/InputJPanel$InputListener.class deleted file mode 100644 index e19329c80a57653c0a02adecf2cb13649d7de92a..0000000000000000000000000000000000000000 Binary files a/out/production/infrastructureLogicielleClient/hmi/InputJPanel$InputListener.class and /dev/null differ diff --git a/out/production/infrastructureLogicielleClient/hmi/InputJPanel.class b/out/production/infrastructureLogicielleClient/hmi/InputJPanel.class deleted file mode 100644 index a4f0904e144973ce3c62e78ac210cc0243f4fc50..0000000000000000000000000000000000000000 Binary files a/out/production/infrastructureLogicielleClient/hmi/InputJPanel.class and /dev/null differ diff --git a/out/production/infrastructureLogicielleClient/hmi/PasswordJPanel$PasswordActionListener.class b/out/production/infrastructureLogicielleClient/hmi/PasswordJPanel$PasswordActionListener.class deleted file mode 100644 index 979d1935442cf72cc390a0d36f1c20c13317d406..0000000000000000000000000000000000000000 Binary files a/out/production/infrastructureLogicielleClient/hmi/PasswordJPanel$PasswordActionListener.class and /dev/null differ diff --git a/out/production/infrastructureLogicielleClient/hmi/PasswordJPanel.class b/out/production/infrastructureLogicielleClient/hmi/PasswordJPanel.class deleted file mode 100644 index 9438baa751339cb4b6fbd0e0e9ed8a259707c5cb..0000000000000000000000000000000000000000 Binary files a/out/production/infrastructureLogicielleClient/hmi/PasswordJPanel.class and /dev/null differ diff --git a/out/production/infrastructureLogicielleClient/hmi/TextJScrollPane.class b/out/production/infrastructureLogicielleClient/hmi/TextJScrollPane.class deleted file mode 100644 index 092a93fc233db791437652eae08da5a553be4dca..0000000000000000000000000000000000000000 Binary files a/out/production/infrastructureLogicielleClient/hmi/TextJScrollPane.class and /dev/null differ diff --git a/out/production/infrastructureLogicielleClient/opinion/HMI$AddItemBook$AddItemBookAction.class b/out/production/infrastructureLogicielleClient/opinion/HMI$AddItemBook$AddItemBookAction.class deleted file mode 100644 index 645fe77db90301d2c66b47186ba686a05f28ad2c..0000000000000000000000000000000000000000 Binary files a/out/production/infrastructureLogicielleClient/opinion/HMI$AddItemBook$AddItemBookAction.class and /dev/null differ diff --git a/out/production/infrastructureLogicielleClient/opinion/HMI$AddItemBook.class b/out/production/infrastructureLogicielleClient/opinion/HMI$AddItemBook.class deleted file mode 100644 index 09ba51fe4119c29da22771558a4c84248d8c3ebb..0000000000000000000000000000000000000000 Binary files a/out/production/infrastructureLogicielleClient/opinion/HMI$AddItemBook.class and /dev/null differ diff --git a/out/production/infrastructureLogicielleClient/opinion/HMI$AddItemFilm$AddItemFilmAction.class b/out/production/infrastructureLogicielleClient/opinion/HMI$AddItemFilm$AddItemFilmAction.class deleted file mode 100644 index 8522a4c8f4f3d0c9e8279222341fe17a0e7a933b..0000000000000000000000000000000000000000 Binary files a/out/production/infrastructureLogicielleClient/opinion/HMI$AddItemFilm$AddItemFilmAction.class and /dev/null differ diff --git a/out/production/infrastructureLogicielleClient/opinion/HMI$AddItemFilm.class b/out/production/infrastructureLogicielleClient/opinion/HMI$AddItemFilm.class deleted file mode 100644 index 8a16c4e702635840d12a16ae265f0cc6201fa294..0000000000000000000000000000000000000000 Binary files a/out/production/infrastructureLogicielleClient/opinion/HMI$AddItemFilm.class and /dev/null differ diff --git a/out/production/infrastructureLogicielleClient/opinion/HMI$AddMember$AddMemberAction.class b/out/production/infrastructureLogicielleClient/opinion/HMI$AddMember$AddMemberAction.class deleted file mode 100644 index fcdef70960ed6a16b16039d478702a2afcb4efa2..0000000000000000000000000000000000000000 Binary files a/out/production/infrastructureLogicielleClient/opinion/HMI$AddMember$AddMemberAction.class and /dev/null differ diff --git a/out/production/infrastructureLogicielleClient/opinion/HMI$AddMember.class b/out/production/infrastructureLogicielleClient/opinion/HMI$AddMember.class deleted file mode 100644 index a67e0a770b22316d8707b4c211718e79a61f4e64..0000000000000000000000000000000000000000 Binary files a/out/production/infrastructureLogicielleClient/opinion/HMI$AddMember.class and /dev/null differ diff --git a/out/production/infrastructureLogicielleClient/opinion/HMI$ConsultItem$ConsultItemAction.class b/out/production/infrastructureLogicielleClient/opinion/HMI$ConsultItem$ConsultItemAction.class deleted file mode 100644 index e5b4cfcfc77d89e0c64580df802246483e110c35..0000000000000000000000000000000000000000 Binary files a/out/production/infrastructureLogicielleClient/opinion/HMI$ConsultItem$ConsultItemAction.class and /dev/null differ diff --git a/out/production/infrastructureLogicielleClient/opinion/HMI$ConsultItem.class b/out/production/infrastructureLogicielleClient/opinion/HMI$ConsultItem.class deleted file mode 100644 index bb5032aaf46248f9fea560ba2eb1bd1ed213f9ca..0000000000000000000000000000000000000000 Binary files a/out/production/infrastructureLogicielleClient/opinion/HMI$ConsultItem.class and /dev/null differ diff --git a/out/production/infrastructureLogicielleClient/opinion/HMI$ReviewItem$ReviewItemAction.class b/out/production/infrastructureLogicielleClient/opinion/HMI$ReviewItem$ReviewItemAction.class deleted file mode 100644 index 5dec7da67cb3b4cb884978b5b02f837c818c12c3..0000000000000000000000000000000000000000 Binary files a/out/production/infrastructureLogicielleClient/opinion/HMI$ReviewItem$ReviewItemAction.class and /dev/null differ diff --git a/out/production/infrastructureLogicielleClient/opinion/HMI$ReviewItem.class b/out/production/infrastructureLogicielleClient/opinion/HMI$ReviewItem.class deleted file mode 100644 index cac638ff592a9876b146d28a5133875fbf3f2a17..0000000000000000000000000000000000000000 Binary files a/out/production/infrastructureLogicielleClient/opinion/HMI$ReviewItem.class and /dev/null differ diff --git a/out/production/infrastructureLogicielleClient/opinion/HMI$ShowNetwork.class b/out/production/infrastructureLogicielleClient/opinion/HMI$ShowNetwork.class deleted file mode 100644 index c51bc2de51b32868bb727881c2a4c894241e2aaf..0000000000000000000000000000000000000000 Binary files a/out/production/infrastructureLogicielleClient/opinion/HMI$ShowNetwork.class and /dev/null differ diff --git a/out/production/infrastructureLogicielleClient/opinion/HMI.class b/out/production/infrastructureLogicielleClient/opinion/HMI.class deleted file mode 100644 index f697053797ab5a36143e2102bd4491267ac5e2b7..0000000000000000000000000000000000000000 Binary files a/out/production/infrastructureLogicielleClient/opinion/HMI.class and /dev/null differ diff --git a/out/production/infrastructureLogicielleClient/opinion/ISocialNetwork.class b/out/production/infrastructureLogicielleClient/opinion/ISocialNetwork.class deleted file mode 100644 index 18e1d82bf6330e3270e48996bb4882beb6ff55fb..0000000000000000000000000000000000000000 Binary files a/out/production/infrastructureLogicielleClient/opinion/ISocialNetwork.class and /dev/null differ diff --git a/out/production/infrastructureLogicielleClient/opinion/Member.class b/out/production/infrastructureLogicielleClient/opinion/Member.class deleted file mode 100644 index 634aa10b77e3bd83e05c4609611987517fba92d4..0000000000000000000000000000000000000000 Binary files a/out/production/infrastructureLogicielleClient/opinion/Member.class and /dev/null differ diff --git a/out/production/infrastructureLogicielleClient/opinion/SocialNetwork.class b/out/production/infrastructureLogicielleClient/opinion/SocialNetwork.class deleted file mode 100644 index 3b11728184a05dad4c2b5ade53362ab5c3de7a85..0000000000000000000000000000000000000000 Binary files a/out/production/infrastructureLogicielleClient/opinion/SocialNetwork.class and /dev/null differ diff --git a/out/production/infrastructureLogicielleClient/tests/AddMemberTest.class b/out/production/infrastructureLogicielleClient/tests/AddMemberTest.class deleted file mode 100644 index 428db0695063dcca3c3a0991857b6b6341ad027e..0000000000000000000000000000000000000000 Binary files a/out/production/infrastructureLogicielleClient/tests/AddMemberTest.class and /dev/null differ diff --git a/out/production/infrastructureLogicielleClient/tests/InitTest.class b/out/production/infrastructureLogicielleClient/tests/InitTest.class deleted file mode 100644 index 896bf98177f50112d80754002aefd993cd7edd5b..0000000000000000000000000000000000000000 Binary files a/out/production/infrastructureLogicielleClient/tests/InitTest.class and /dev/null differ diff --git a/out/production/infrastructureLogicielleClient/tests/SocialNetworkTest.class b/out/production/infrastructureLogicielleClient/tests/SocialNetworkTest.class deleted file mode 100644 index 4a61630792ee60cb4f47709838a85c6853ed2d3d..0000000000000000000000000000000000000000 Binary files a/out/production/infrastructureLogicielleClient/tests/SocialNetworkTest.class and /dev/null differ diff --git a/out/production/infrastructureLogicielleClient/tests/TestReport.class b/out/production/infrastructureLogicielleClient/tests/TestReport.class deleted file mode 100644 index bd809bf00cb128dff832f9ef4f2084bf4ce82072..0000000000000000000000000000000000000000 Binary files a/out/production/infrastructureLogicielleClient/tests/TestReport.class and /dev/null differ diff --git a/src/opinion/Member.java b/src/opinion/Member.java index 3aefbc6383cd7b464c312bb98c291bce6259c007..37f9bb77ea94668f17b29facd955c23854e1a352 100644 --- a/src/opinion/Member.java +++ b/src/opinion/Member.java @@ -53,6 +53,9 @@ public class Member{ return profile; } + + + /** * String function to display details of a member (login and profile) * @return string of details of a member diff --git a/src/opinion/SocialNetwork.java b/src/opinion/SocialNetwork.java index c54cf3c156cd385fc6984b6c41a1a248a67ccec2..f2ccb604cfa25ae8311936063fe1e97d88a9a6d0 100644 --- a/src/opinion/SocialNetwork.java +++ b/src/opinion/SocialNetwork.java @@ -1,7 +1,6 @@ package opinion; import java.util.LinkedList; - import exceptions.BadEntryException; import exceptions.ItemBookAlreadyExistsException; import exceptions.ItemFilmAlreadyExistsException; @@ -20,182 +19,182 @@ import exceptions.NotMemberException; public class SocialNetwork implements ISocialNetwork { - private LinkedList<Member> listMember; - private Member member; - private int nbmembers, nbbooks; - private LinkedList<Book> listBook; - private Book book; + private LinkedList<Member> listMember; + private Member member; + private int nbmembers, nbbooks; + private LinkedList<Book> listBook; + private Book book; - /** - * Constructs new SocialNetwork instance with empty member list. - */ - public SocialNetwork() { - listMember = new LinkedList<Member>(); - listBook = new LinkedList<Book>(); - nbmembers = 0; - nbbooks = 0; - } + /** + * Constructs new SocialNetwork instance with empty member list. + */ + public SocialNetwork() { + listMember = new LinkedList<Member>(); + listBook = new LinkedList<Book>(); + nbmembers = 0; + nbbooks = 0; + } - /** - * Returns number of registered members. - * @return number of members - */ - @Override - public int nbMembers() { - // TODO Auto-generated method stub - return nbmembers; - } + /** + * Returns number of registered members. + * @return number of members + */ + @Override + public int nbMembers() { + // TODO Auto-generated method stub + return nbmembers; + } - /** - * Returns number of films. - * @return 0 - */ - @Override - public int nbFilms() { - // TODO Auto-generated method stub - return 0; - } + /** + * Returns number of films. + * @return 0 + */ + @Override + public int nbFilms() { + // TODO Auto-generated method stub + return 0; + } - /** - * Returns number of books. - * @return number of books - */ - @Override - public int nbBooks() { - // TODO Auto-generated method stub - return nbbooks; - } + /** + * Returns number of books. + * @return number of books + */ + @Override + public int nbBooks() { + // TODO Auto-generated method stub + return nbbooks; + } - /** - * Checks whether a member already exists. - * @param login the login to be checked - * @return true if login exists, else return false - */ - public boolean memberRegister(String login) { - for (Member m : listMember) { - if (m.getLogin().trim().equalsIgnoreCase(login.trim())) { - return true; - } - } - return false; - } + /** + * Checks whether a member already exists. + * @param login the login to be checked + * @return true if login exists, else return false + */ + public boolean memberRegister(String login) { + for (Member m : listMember) { + if (m.getLogin().trim().equalsIgnoreCase(login.trim())) { + return true; + } + } + return false; + } - /** - * Validates the format of a user's login and password (not empty or too short) - * @param login the login to be validated - * @param password the password to be validated - * @return true if login and password are valid - * @throws BadEntryException if either login or password is invalid - */ - public boolean validateuser(String login, String password) throws BadEntryException{ - boolean result = false; - if(login == null || login.length() <= 1){ - throw new BadEntryException("login is null or empty"); - } - if(password == null || password.length() <= 1 ){ - throw new BadEntryException("password is null or empty"); - } - return true; - } + /** + * Validates the format of a user's login and password (not empty or too short) + * @param login the login to be validated + * @param password the password to be validated + * @return true if login and password are valid + * @throws BadEntryException if either login or password is invalid + */ + public boolean validateuser(String login, String password) throws BadEntryException{ + boolean result = false; + if(login == null || login.length() <= 1){ + throw new BadEntryException("login is null or empty"); + } + if(password == null || password.length() <= 1 ){ + throw new BadEntryException("password is null or empty"); + } + return true; + } - /** - * Authenticates a user's login and password - * @param login the login of the user - * @param password the password of the user - * @return true if password corresponds to registered login, false if wrong password - */ - private boolean authenticateUser(String login, String password) { - for (Member m : listMember) { - if (m.getLogin().trim().equalsIgnoreCase(login.trim()) && - m.getPassword().trim().equals(password.trim())) { - return true; - } - } - return false; - } + /** + * Authenticates a user's login and password + * @param login the login of the user + * @param password the password of the user + * @return true if password corresponds to registered login, false if wrong password + */ + private boolean authenticateUser(String login, String password) { + for (Member m : listMember) { + if (m.getLogin().trim().equalsIgnoreCase(login.trim()) && + m.getPassword().trim().equals(password.trim())) { + return true; + } + } + return false; + } - /** - * Checks if a book title is valid (not empty or too short) and if the book already exists - * @param title the title of the book to be validated - * @return true if book does not exist yet in system, false if already exists - * @throws BadEntryException if title is empty or too short - */ - public boolean validatebook(String title) throws BadEntryException { - boolean result = false; - if(title == null || title.length() <= 1 ){ - throw new BadEntryException("title is null or empty"); - } + /** + * Checks if a book title is valid (not empty or too short) and if the book already exists + * @param title the title of the book to be validated + * @return true if book does not exist yet in system, false if already exists + * @throws BadEntryException if title is empty or too short + */ + public boolean validatebook(String title) throws BadEntryException { + boolean result = false; + if(title == null || title.length() <= 1 ){ + throw new BadEntryException("title is null or empty"); + } // for(Book b : listBook) { // if(title.toUpperCase().trim().equals(book.getTitle().toUpperCase().trim())) { // result = true; // } // } // return result; - for (Book b : listBook) { - if (b.compareTitle(title)) { - return true; - } - } - return false; - } + for (Book b : listBook) { + if (b.compareTitle(title)) { + return true; + } + } + return false; + } - /** - * Adds a new member to the social network. - * @param login the new member's login - * @param password the new member's password - * @param profile a free String describing the new member's profile - * @throws BadEntryException if parameter is null or too short - * @throws MemberAlreadyExistsException if login already exists - */ - @Override - public void addMember(String login, String password, String profile) throws BadEntryException, MemberAlreadyExistsException{ - if (profile == null){ - throw new BadEntryException("profile is null or empty"); - } - validateuser(login, password); - if (memberRegister(login)) { - throw new MemberAlreadyExistsException(); - } - member = new Member(login.trim(), password.trim(), profile.trim()); - listMember.add(member); - nbmembers++; - } + /** + * Adds a new member to the social network. + * @param login the new member's login + * @param password the new member's password + * @param profile a free String describing the new member's profile + * @throws BadEntryException if parameter is null or too short + * @throws MemberAlreadyExistsException if login already exists + */ + @Override + public void addMember(String login, String password, String profile) throws BadEntryException, MemberAlreadyExistsException{ + if (profile == null){ + throw new BadEntryException("profile is null or empty"); + } + validateuser(login, password); + if (memberRegister(login)) { + throw new MemberAlreadyExistsException(); + } + member = new Member(login.trim(), password.trim(), profile.trim()); + listMember.add(member); + nbmembers++; + } - /** - * Adds a new book to the social network. - * @param login login of the member adding the book - * @param password password of the member adding the book - * @param title the new book's title - * @param kind the new book's kind - * @param author the new book's author - * @param nbPages number of pages of the new book's - * @throws BadEntryException if any input is invalid (empty or number pages equal or less than 0) - * @throws NotMemberException if login or password is wrong - * @throws ItemBookAlreadyExistsException if book already exists in system - */ - @Override - public void addItemBook(String login, String password, String title, String kind, String author, int nbPages) throws BadEntryException, NotMemberException, ItemBookAlreadyExistsException { - validateuser(login, password); - if (title == null || title.trim().isEmpty()) - throw new BadEntryException("Error: Invalid title."); - if (kind == null || kind.trim().isEmpty()) - throw new BadEntryException("Error: Invalid kind."); - if (author == null || author.trim().isEmpty()) - throw new BadEntryException("Error: Invalid author."); - if (nbPages <= 0) - throw new BadEntryException("Error: Invalid number of pages."); - if (!authenticateUser(login, password)) - throw new NotMemberException("Error: User doesn't exist"); - for (Book b : listBook) { - if (b.compareTitle(title)) { - throw new ItemBookAlreadyExistsException(); - } - } - Book newBook = new Book(title.trim(), kind.trim(), author.trim(), nbPages); - listBook.add(newBook); - nbbooks++; - } + /** + * Adds a new book to the social network. + * @param login login of the member adding the book + * @param password password of the member adding the book + * @param title the new book's title + * @param kind the new book's kind + * @param author the new book's author + * @param nbPages number of pages of the new book's + * @throws BadEntryException if any input is invalid (empty or number pages equal or less than 0) + * @throws NotMemberException if login or password is wrong + * @throws ItemBookAlreadyExistsException if book already exists in system + */ + @Override + public void addItemBook(String login, String password, String title, String kind, String author, int nbPages) throws BadEntryException, NotMemberException, ItemBookAlreadyExistsException { + validateuser(login, password); + if (title == null || title.trim().isEmpty()) + throw new BadEntryException("Error: Invalid title."); + if (kind == null || kind.trim().isEmpty()) + throw new BadEntryException("Error: Invalid kind."); + if (author == null || author.trim().isEmpty()) + throw new BadEntryException("Error: Invalid author."); + if (nbPages <= 0) + throw new BadEntryException("Error: Invalid number of pages."); + if (!authenticateUser(login, password)) + throw new NotMemberException("Error: User doesn't exist"); + for (Book b : listBook) { + if (b.compareTitle(title)) { + throw new ItemBookAlreadyExistsException(); + } + } + Book newBook = new Book(title.trim(), kind.trim(), author.trim(), nbPages); + listBook.add(newBook); + nbbooks++; + } // public void addItemBook(String login, String password, String title, // String kind, String author, int nbPages) throws BadEntryException, @@ -215,56 +214,56 @@ public class SocialNetwork implements ISocialNetwork { // } // } - @Override - public void addItemFilm(String login, String password, String title, String kind, String director, String scriptwriter, int duration) - throws BadEntryException, NotMemberException, ItemFilmAlreadyExistsException { - } + @Override + public void addItemFilm(String login, String password, String title, String kind, String director, String scriptwriter, int duration) + throws BadEntryException, NotMemberException, ItemFilmAlreadyExistsException { + } - @Override - public float reviewItemFilm(String login, String password, String title, - float mark, String comment) throws BadEntryException, NotMemberException, NotItemException { - // TODO Auto-generated method stub - return 0; - } + @Override + public float reviewItemFilm(String login, String password, String title, + float mark, String comment) throws BadEntryException, NotMemberException, NotItemException { + // TODO Auto-generated method stub + return 0; + } - /** - * Displays a whole list of registered members - * @return list of registered members - */ - public String toString(){ - if (listMember.isEmpty()) { - return "There are currently no registered members :("; - } - String ret = "\nRegistered members:\n"; - int counter = 1; - for (Member m : listMember) { + /** + * Displays a whole list of registered members + * @return list of registered members + */ + public String toString(){ + if (listMember.isEmpty()) { + return "There are currently no registered members :("; + } + String ret = "\nRegistered members:\n"; + int counter = 1; + for (Member m : listMember) { ret += counter + ". " + m.toString() + "\n"; - counter++; + counter++; } - return ret.trim(); - //return (listMember.toString()); - } + return ret.trim(); + //return (listMember.toString()); + } - @Override - public float reviewItemBook(String login, String password, String title, - float mark, String comment) throws BadEntryException, - NotMemberException, NotItemException { - // TODO Auto-generated method stub - return 0; - } + @Override + public float reviewItemBook(String login, String password, String title, + float mark, String comment) throws BadEntryException, + NotMemberException, NotItemException { + // TODO Auto-generated method stub + return 0; + } - @Override - public LinkedList<String> consultItems(String title) - throws BadEntryException { - return new LinkedList<String>(); - } + @Override + public LinkedList<String> consultItems(String title) + throws BadEntryException { + return new LinkedList<String>(); + } - /** - * @param args - */ - public static void main(String[] args) { - // TODO Auto-generated method stub + /** + * @param args + */ + public static void main(String[] args) { + // TODO Auto-generated method stub - } + } -} +} \ No newline at end of file