aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorOlivier Lamy <olamy@apache.org>2013-05-22 13:19:38 +0000
committerOlivier Lamy <olamy@apache.org>2013-05-22 13:19:38 +0000
commit59210d3d3805574d97147cc88ea816edd9b9890d (patch)
tree381dae107b5e4beab4a6495641184e8d834886d2
parent30ffee571898930ab4c3c82569844a17cd8dce6c (diff)
downloadarchiva-59210d3d3805574d97147cc88ea816edd9b9890d.tar.gz
archiva-59210d3d3805574d97147cc88ea816edd9b9890d.zip
complete javadoc
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1485204 13f79535-47bb-0310-9956-ffa450edef68
-rw-r--r--archiva-modules/metadata/metadata-repository-api/src/main/java/org/apache/archiva/metadata/repository/MetadataRepository.java8
1 files changed, 8 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 0e186cc06..c4696f7e2 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
@@ -83,6 +83,14 @@ public interface MetadataRepository
void removeMetadataFacet( String repositoryId, String facetId, String name )
throws MetadataRepositoryException;
+ /**
+ * if startTime or endTime are <code>null</code> they are not used for search
+ * @param repositoryId
+ * @param startTime can be <code>null</code>
+ * @param endTime can be <code>null</code>
+ * @return
+ * @throws MetadataRepositoryException
+ */
List<ArtifactMetadata> getArtifactsByDateRange( String repositoryId, Date startTime, Date endTime )
throws MetadataRepositoryException;