add a missing a PathParam

git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1163449 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Olivier Lamy 2011-08-30 22:53:53 +00:00
parent 0887d40cd8
commit c9b788afb9
1 changed files with 3 additions and 2 deletions

View File

@ -56,11 +56,12 @@ public interface RepositoriesService
ManagedRepository getManagedRepository( @PathParam( "repositoryId" ) String repositoryId )
throws RepositoryAdminException;
@Path( "deleteManagedRepository/{repositoryId}" )
@Path( "deleteManagedRepository/{repositoryId}/{deleteContent}" )
@GET
@Produces( { MediaType.APPLICATION_JSON, MediaType.APPLICATION_XML, MediaType.TEXT_PLAIN } )
@RedbackAuthorization( permission = ArchivaRoleConstants.OPERATION_MANAGE_CONFIGURATION )
Boolean deleteManagedRepository( @PathParam( "repositoryId" ) String repositoryId, boolean deleteContent )
Boolean deleteManagedRepository( @PathParam( "repositoryId" ) String repositoryId,
@PathParam( "deleteContent" ) boolean deleteContent )
throws Exception;