mirror of
https://github.com/apache/archiva.git
synced 2025-02-22 01:44:47 +00:00
add javadoc
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1304945 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
fba8ce10c6
commit
7461a332bc
@ -89,6 +89,9 @@ ProjectVersionMetadata getProjectMetadata( @PathParam( "g" ) String groupId, @Pa
|
|||||||
@GET
|
@GET
|
||||||
@Produces( { MediaType.APPLICATION_JSON, MediaType.APPLICATION_XML } )
|
@Produces( { MediaType.APPLICATION_JSON, MediaType.APPLICATION_XML } )
|
||||||
@RedbackAuthorization( noPermission = true, noRestriction = true )
|
@RedbackAuthorization( noPermission = true, noRestriction = true )
|
||||||
|
/**
|
||||||
|
* @return List of managed repositories current user can read
|
||||||
|
*/
|
||||||
List<ManagedRepository> getUserRepositories()
|
List<ManagedRepository> getUserRepositories()
|
||||||
throws ArchivaRestServiceException;
|
throws ArchivaRestServiceException;
|
||||||
|
|
||||||
@ -96,6 +99,10 @@ List<ManagedRepository> getUserRepositories()
|
|||||||
@GET
|
@GET
|
||||||
@Produces( { MediaType.APPLICATION_JSON, MediaType.APPLICATION_XML } )
|
@Produces( { MediaType.APPLICATION_JSON, MediaType.APPLICATION_XML } )
|
||||||
@RedbackAuthorization( noPermission = true, noRestriction = true )
|
@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,
|
List<TreeEntry> getTreeEntries( @PathParam( "g" ) String groupId, @PathParam( "a" ) String artifactId,
|
||||||
@PathParam( "v" ) String version,
|
@PathParam( "v" ) String version,
|
||||||
@QueryParam( "repositoryId" ) String repositoryId )
|
@QueryParam( "repositoryId" ) String repositoryId )
|
||||||
@ -105,6 +112,9 @@ List<TreeEntry> getTreeEntries( @PathParam( "g" ) String groupId, @PathParam( "a
|
|||||||
@GET
|
@GET
|
||||||
@Produces( { MediaType.APPLICATION_JSON, MediaType.APPLICATION_XML } )
|
@Produces( { MediaType.APPLICATION_JSON, MediaType.APPLICATION_XML } )
|
||||||
@RedbackAuthorization( noPermission = true, noRestriction = true )
|
@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,
|
List<Artifact> getDependees( @PathParam( "g" ) String groupId, @PathParam( "a" ) String artifactId,
|
||||||
@PathParam( "v" ) String version, @QueryParam( "repositoryId" ) String repositoryId )
|
@PathParam( "v" ) String version, @QueryParam( "repositoryId" ) String repositoryId )
|
||||||
throws ArchivaRestServiceException;
|
throws ArchivaRestServiceException;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user