From 7461a332bc5c76c8154c525d334090ca59992627 Mon Sep 17 00:00:00 2001 From: Olivier Lamy Date: Sat, 24 Mar 2012 22:06:43 +0000 Subject: [PATCH] add javadoc git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1304945 13f79535-47bb-0310-9956-ffa450edef68 --- .../archiva/rest/api/services/BrowseService.java | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/archiva-modules/archiva-web/archiva-rest/archiva-rest-api/src/main/java/org/apache/archiva/rest/api/services/BrowseService.java b/archiva-modules/archiva-web/archiva-rest/archiva-rest-api/src/main/java/org/apache/archiva/rest/api/services/BrowseService.java index 7a47163ba..5b2be0978 100644 --- a/archiva-modules/archiva-web/archiva-rest/archiva-rest-api/src/main/java/org/apache/archiva/rest/api/services/BrowseService.java +++ b/archiva-modules/archiva-web/archiva-rest/archiva-rest-api/src/main/java/org/apache/archiva/rest/api/services/BrowseService.java @@ -89,6 +89,9 @@ public interface BrowseService @GET @Produces( { MediaType.APPLICATION_JSON, MediaType.APPLICATION_XML } ) @RedbackAuthorization( noPermission = true, noRestriction = true ) + /** + * @return List of managed repositories current user can read + */ List getUserRepositories() throws ArchivaRestServiceException; @@ -96,6 +99,10 @@ public interface BrowseService @GET @Produces( { MediaType.APPLICATION_JSON, MediaType.APPLICATION_XML } ) @RedbackAuthorization( noPermission = true, noRestriction = true ) + /** + * return the dependency Tree for an artifacts + * the List result has only one entry + */ List getTreeEntries( @PathParam( "g" ) String groupId, @PathParam( "a" ) String artifactId, @PathParam( "v" ) String version, @QueryParam( "repositoryId" ) String repositoryId ) @@ -105,6 +112,9 @@ public interface BrowseService @GET @Produces( { MediaType.APPLICATION_JSON, MediaType.APPLICATION_XML } ) @RedbackAuthorization( noPermission = true, noRestriction = true ) + /** + * List of artifacts using the artifact passed in parameter. + */ List getDependees( @PathParam( "g" ) String groupId, @PathParam( "a" ) String artifactId, @PathParam( "v" ) String version, @QueryParam( "repositoryId" ) String repositoryId ) throws ArchivaRestServiceException; -- 2.39.5