public LibraryBean[] showByData(LanguageTypeEnum language, String tags) {
		String[] tagsArray = DataController.parseTags(tags);
		SearchDAO searchDAO = new SearchDAO(Connector.getInstance());

		if (language != LanguageTypeEnum.UNDEFINED && tags.length() > 0) {
			return searchDAO.showByLanguageAndTags(language, tagsArray);
		} else if (language != LanguageTypeEnum.UNDEFINED && tags.length() == 0) {
			return searchDAO.showByLanguage(language);
		} else if (language == LanguageTypeEnum.UNDEFINED && tags.length() > 0) {
			return searchDAO.showByTags(tagsArray);
		} else
			return searchDAO.showAllLibrary();
	}