}
public List<SaveonBookModel> filterBookList(List<SaveonBookModel> bol, FilterType ft, String value){
List<SaveonBookModel> result = new ArrayList<SaveonBookModel>();
for(Iterator i = bol.iterator(); i.hasNext();) {
SaveonBookModel bo = (SaveonBookModel)i.next();
String compare = "";
switch(ft) {
case TITLE:
compare = bo.getTitle();
break;
case AUTHOR:
compare = bo.getAuthor();
break;
case ISBN:
compare = bo.getIsbn();
break;
case EDITION:
compare = BookSearchUtils.parseEdition(bo.getEdition());
break;
case INSTITUTE:
compare = bo.getInstitute();
break;
case DATE:
compare = bo.getDate();
break;
case COURSE:
compare = bo.getCourse();
break;
case PRICE:
compare = bo.getPrice();
break;
}
if (compare.toLowerCase().contains(value.toLowerCase()))
result.add(bo);
}