385386387388389390391392393394395
} // TODO: from/to login date if (q.getLastName() != null) { qb.attributeValuesFilter(UserDAOImpl.USER_LAST_NAME, new String[] { q.getLastName() }); } if (q.getUserName() == null && q.getEmail() == null && q.getFirstName() == null && q.getLastName() == null) { list = new IDMUserListAccess(qb, 20, !countPaginatedUsers()); } else {
289290291292293294295296297298299
{ qb.idFilter(q.getUserName()); } if (q.getEmail() != null) { qb.attributeValuesFilter(UserDAOImpl.USER_EMAIL, new String[]{q.getEmail()}); } if (q.getFirstName() != null) { qb.attributeValuesFilter(UserDAOImpl.USER_FIRST_NAME, new String[]{q.getFirstName()}); }
293294295296297298299300301302303
{ qb.attributeValuesFilter(UserDAOImpl.USER_EMAIL, new String[]{q.getEmail()}); } if (q.getFirstName() != null) { qb.attributeValuesFilter(UserDAOImpl.USER_FIRST_NAME, new String[]{q.getFirstName()}); } //TODO: from/to login date if (q.getLastName() != null)
300301302303304305306307308309310
//TODO: from/to login date if (q.getLastName() != null) { qb.attributeValuesFilter(UserDAOImpl.USER_LAST_NAME, new String[]{q.getLastName()}); } return new LazyPageList(new IDMUserListAccess(this, service_, qb, 20, false), 20); }