/**
* search logs by criteria
*/
public void search() {
final LogSearchCriteria searchCriteria = LogSearchCriteria.createCriteria().setDateFrom(dateFrom).setDateTo(dateTo).
setDateSingle(dateSingle).setDateType(selectedDateType);
final Collection<PosibleOperations> convertedOperations = convertSelectedOperationsToEnum();
if (!convertedOperations.contains(PosibleOperations.ALL)) {
searchCriteria.setOperations(convertedOperations);
}
if (user != null) {
searchCriteria.setUserName(user.getNickname());
}
final List<SimpleAction> actions = logManager.getLogs(searchCriteria);
logs = new ArrayList<LocalizedSimpleAction>();
for (SimpleAction action : actions) {
logs.add(new LocalizedSimpleAction(action));