code: public Collection<RepositoryResource> getMatchingResources(final FilterPredicate... predicates) throws RepositoryBackendException {
          Collection<RepositoryResource> resources = cycleThroughRepositories(new RepositoryInvoker<RepositoryResource>() {
              @Override
              public Collection<RepositoryResource> performActionOnRepository(RepositoryConnection connection) throws RepositoryBackendException {
                  return connection.getMatchingResources(predicates);
              }
          });
          return resources;
      }
docs: Returns all resources which match the supplied set of FilterPredicate objects.