SortDescriptor sortDescriptor, Object resourcesFilter) {
if(sortDescriptor != null) {
//Add sorting processor
dataSet.setSortProcessor(
sortingProcessorsFactory.getProcessor(sortDescriptor.getSortType()),
new OrderData(sortDescriptor.getField(), sortDescriptor.isAsc(), sortDescriptor.getLang()));
}
if(resourcesFilter != null) {
FilterProcessor<Object> queryProcessor = filterProcessorsFactory.getFilterProcessor(resourcesFilter.getClass());
if(queryProcessor != null) {