public static void checkArrParam(SessionRequestContent request, Criteria criteria, String reqName, String critName){
        String[] arr = (String[]) request.getAllParameters(reqName);
        Collection<Integer> set = new HashSet();
        if (arr != null && arr.length > 0) {
            for (String param : arr) {
                if (param != null && !param.isEmpty()) {
                    Integer currParam = Integer.decode(param);
                    if (currParam > 0) {
                        set.add(currParam);
                    }
                }
            }
        }
        criteria.addParam(critName, set);
    }