Esempio n. 1
0
 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();
 }
Esempio n. 2
0
 private CloseableIterator<DataStoreInfo> getDataStores() {
   Catalog catalog = getGeoServer().getCatalog();
   Filter filter = Predicates.acceptAll();
   CloseableIterator<DataStoreInfo> stores = catalog.list(DataStoreInfo.class, filter);
   return stores;
 }
Esempio n. 3
0
 @Override
 public int fullSize() {
   Filter filter = Predicates.acceptAll();
   int count = getCatalog().count(LayerInfo.class, filter);
   return count;
 }