public void testSort3() { Filter filter = Predicates.acceptAll(); StringBuilder build = QueryBuilder.forIds(dialect, WorkspaceInfo.class, dbMappings) .filter(filter) .sortOrder(Predicates.asc("foo"), Predicates.desc("bar"), Predicates.asc("baz")) .build(); }
private CloseableIterator<DataStoreInfo> getDataStores() { Catalog catalog = getGeoServer().getCatalog(); Filter filter = Predicates.acceptAll(); CloseableIterator<DataStoreInfo> stores = catalog.list(DataStoreInfo.class, filter); return stores; }
@Override public int fullSize() { Filter filter = Predicates.acceptAll(); int count = getCatalog().count(LayerInfo.class, filter); return count; }