@Override public List<? extends Cluster> searchForClusters(long zoneId, final Long startIndex, final Long pageSizeVal, final String hypervisorType) { final Filter searchFilter = new Filter(ClusterVO.class, "id", true, startIndex, pageSizeVal); final SearchCriteria<ClusterVO> sc = _clusterDao.createSearchCriteria(); zoneId = _accountMgr.checkAccessAndSpecifyAuthority(CallContext.current().getCallingAccount(), zoneId); sc.addAnd("dataCenterId", SearchCriteria.Op.EQ, zoneId); sc.addAnd("hypervisorType", SearchCriteria.Op.EQ, hypervisorType); return _clusterDao.search(sc, searchFilter); }