diff options
author | Olivier Lamy <olamy@apache.org> | 2012-09-06 12:37:14 +0000 |
---|---|---|
committer | Olivier Lamy <olamy@apache.org> | 2012-09-06 12:37:14 +0000 |
commit | 911dd05b235fc2b684049b5ab9dac30acf52fce6 (patch) | |
tree | 780e4fbc098e310f0735c21db29fa7288798f472 /archiva-modules/metadata | |
parent | 035423d8a7d4319170e2f6696e37421093c7b1e2 (diff) | |
download | archiva-911dd05b235fc2b684049b5ab9dac30acf52fce6.tar.gz archiva-911dd05b235fc2b684049b5ab9dac30acf52fce6.zip |
add a method to remove namespace(groupId) in MetadataRepository
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1381575 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'archiva-modules/metadata')
-rw-r--r-- | archiva-modules/metadata/metadata-repository-api/src/main/java/org/apache/archiva/metadata/repository/MetadataRepository.java | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/archiva-modules/metadata/metadata-repository-api/src/main/java/org/apache/archiva/metadata/repository/MetadataRepository.java b/archiva-modules/metadata/metadata-repository-api/src/main/java/org/apache/archiva/metadata/repository/MetadataRepository.java index 9b3375496..0aed7f641 100644 --- a/archiva-modules/metadata/metadata-repository-api/src/main/java/org/apache/archiva/metadata/repository/MetadataRepository.java +++ b/archiva-modules/metadata/metadata-repository-api/src/main/java/org/apache/archiva/metadata/repository/MetadataRepository.java @@ -81,6 +81,7 @@ public interface MetadataRepository /** * used for deleting timestamped version of SNAPSHOT artifacts + * * @param artifactMetadata the artifactMetadata with the timestamped version (2.0-20120618.214135-2) * @param baseVersion the base version of the snapshot (2.0-SNAPSHOT) * @throws MetadataRepositoryException @@ -110,6 +111,16 @@ public interface MetadataRepository void removeRepository( String repositoryId ) throws MetadataRepositoryException; + /** + * + * @param repositoryId + * @param project + * @since 1.4-M3 + * @throws MetadataRepositoryException + */ + void removeNamespace( String repositoryId, String project ) + throws MetadataRepositoryException; + List<ArtifactMetadata> getArtifacts( String repositoryId ) throws MetadataRepositoryException; |