1 package org.apache.archiva.metadata.repository.storage;
3 import java.util.Collection;
5 import org.apache.archiva.metadata.repository.MetadataResolver;
6 import org.apache.archiva.metadata.repository.filter.Filter;
9 * Licensed to the Apache Software Foundation (ASF) under one
10 * or more contributor license agreements. See the NOTICE file
11 * distributed with this work for additional information
12 * regarding copyright ownership. The ASF licenses this file
13 * to you under the Apache License, Version 2.0 (the
14 * "License"); you may not use this file except in compliance
15 * with the License. You may obtain a copy of the License at
17 * http://www.apache.org/licenses/LICENSE-2.0
19 * Unless required by applicable law or agreed to in writing,
20 * software distributed under the License is distributed on an
21 * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
22 * KIND, either express or implied. See the License for the
23 * specific language governing permissions and limitations
27 public interface StorageMetadataResolver
28 extends MetadataResolver
30 Collection<String> getRootNamespaces( String repoId, Filter<String> filter );
32 Collection<String> getNamespaces( String repoId, String namespace, Filter<String> filter );
34 Collection<String> getProjects( String repoId, String namespace, Filter<String> filter );
36 Collection<String> getProjectVersions( String repoId, String namespace, String projectId, Filter<String> filter );