String orderBy, boolean orderAscending) {
String[] orderBy, boolean orderAscending) {
    public List loadBeansByPage(Class beanClass, Integer groupId, int firstRow, int pageSize,            String orderBy, boolean orderAscending) {        Criteria c = getByGroupCriteria(beanClass, groupId);        c.setFirstResult(firstRow);        c.setMaxResults(pageSize);        if (StringUtils.isNotBlank(orderBy)) {            Order order = orderAscending ? Order.asc(orderBy) : Order.desc(orderBy);            c.addOrder(order);        }        List users = c.list();        return users;    }