add javadoc

git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1304945 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Olivier Lamy 2012-03-24 22:06:43 +00:00
parent fba8ce10c6
commit 7461a332bc

View File

@ -89,6 +89,9 @@ ProjectVersionMetadata getProjectMetadata( @PathParam( "g" ) String groupId, @Pa
@GET
@Produces( { MediaType.APPLICATION_JSON, MediaType.APPLICATION_XML } )
@RedbackAuthorization( noPermission = true, noRestriction = true )
/**
* @return List of managed repositories current user can read
*/
List<ManagedRepository> getUserRepositories()
throws ArchivaRestServiceException;
@ -96,6 +99,10 @@ List<ManagedRepository> getUserRepositories()
@GET
@Produces( { MediaType.APPLICATION_JSON, MediaType.APPLICATION_XML } )
@RedbackAuthorization( noPermission = true, noRestriction = true )
/**
* return the dependency Tree for an artifacts
* <b>the List result has only one entry</b>
*/
List<TreeEntry> getTreeEntries( @PathParam( "g" ) String groupId, @PathParam( "a" ) String artifactId,
@PathParam( "v" ) String version,
@QueryParam( "repositoryId" ) String repositoryId )
@ -105,6 +112,9 @@ List<TreeEntry> getTreeEntries( @PathParam( "g" ) String groupId, @PathParam( "a
@GET
@Produces( { MediaType.APPLICATION_JSON, MediaType.APPLICATION_XML } )
@RedbackAuthorization( noPermission = true, noRestriction = true )
/**
* List of artifacts using the artifact passed in parameter.
*/
List<Artifact> getDependees( @PathParam( "g" ) String groupId, @PathParam( "a" ) String artifactId,
@PathParam( "v" ) String version, @QueryParam( "repositoryId" ) String repositoryId )
throws ArchivaRestServiceException;