public String createBookWithParameters(String name, String author, String year, BookType bookType, String cover, String description) {
		
		int yearToInt = 0;
		
		// Check the name
		if (name.equals("")) {
			return "the book name is empty";
		}
		
		if (author.equals("")) {
			return "the author name is empty";
		} 
		String str[] = author.split(",");
		
		if (str.length < 2) {
			return "the firstname and lastname must be separated by a coma";
		}
		
		
		// Check the year
		if (year.equals("") || !IntegerUtil.isInteger(year)) {
			return "the year must be valid";
		} else {
			yearToInt = Integer.parseInt(year);
		}
		
		// We test if the cover is null if -> we give the default picture
		if (cover == null) {
			cover = Book.DEFAULT_IMG_PATH;
		}
		
		// Test if the creation return true
		if (bookService.createBookWithParameters(name.toLowerCase(), str[0], str[1], yearToInt, bookType, cover, description)) {
			return "Creation succeed";
		} else {
			return "Creation failed";
		}
	}