From 1d5a085355197e0309cdb4b6d935c9365e928535 Mon Sep 17 00:00:00 2001 From: Brett Porter Date: Thu, 18 Mar 2010 13:47:35 +0000 Subject: [PATCH] [MRM-1282] consistency in parameter naming git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@924775 13f79535-47bb-0310-9956-ffa450edef68 --- .../repository/MetadataRepository.java | 32 +++++++++---------- 1 file changed, 16 insertions(+), 16 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 77002d6c4..823129212 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 @@ -19,39 +19,39 @@ package org.apache.archiva.metadata.repository; * under the License. */ -import java.util.Collection; -import java.util.Date; -import java.util.List; - import org.apache.archiva.metadata.model.ArtifactMetadata; import org.apache.archiva.metadata.model.MetadataFacet; import org.apache.archiva.metadata.model.ProjectMetadata; import org.apache.archiva.metadata.model.ProjectVersionMetadata; import org.apache.archiva.metadata.model.ProjectVersionReference; +import java.util.Collection; +import java.util.Date; +import java.util.List; + public interface MetadataRepository extends MetadataResolver { /** * Update metadata for a particular project in the metadata repository, or create it if it does not already exist. * - * @param repoId the repository the project is in + * @param repositoryId the repository the project is in * @param project the project metadata to create or update */ - void updateProject( String repoId, ProjectMetadata project ); + void updateProject( String repositoryId, ProjectMetadata project ); - void updateArtifact( String repoId, String namespace, String projectId, String projectVersion, + void updateArtifact( String repositoryId, String namespace, String projectId, String projectVersion, ArtifactMetadata artifactMeta ); - void updateProjectVersion( String repoId, String namespace, String projectId, + void updateProjectVersion( String repositoryId, String namespace, String projectId, ProjectVersionMetadata versionMetadata ); - void updateProjectReference( String repoId, String namespace, String projectId, String projectVersion, + void updateProjectReference( String repositoryId, String namespace, String projectId, String projectVersion, ProjectVersionReference reference ); - void updateNamespace( String repoId, String namespace ); + void updateNamespace( String repositoryId, String namespace ); - List getMetadataFacets( String repoId, String facetId ); + List getMetadataFacets( String repositoryId, String facetId ); MetadataFacet getMetadataFacet( String repositoryId, String facetId, String name ); @@ -59,20 +59,20 @@ public interface MetadataRepository void removeMetadataFacets( String repositoryId, String facetId ); - void removeMetadataFacet( String repoId, String facetId, String name ); + void removeMetadataFacet( String repositoryId, String facetId, String name ); - List getArtifactsByDateRange( String repoId, Date startTime, Date endTime ); + List getArtifactsByDateRange( String repositoryId, Date startTime, Date endTime ); // TODO: remove from API, just use configuration Collection getRepositories(); - List getArtifactsByChecksum( String repoId, String checksum ); + List getArtifactsByChecksum( String repositoryId, String checksum ); void deleteArtifact( String repositoryId, String namespace, String project, String version, String id ); /** * Delete a repository's metadata. This includes all associated metadata facets. - * @param repoId the repository to delete + * @param repositoryId the repository to delete */ - void deleteRepository( String repoId ); + void deleteRepository( String repositoryId ); } -- 2.39.5