@Path(value="/repositoryGroupService/") public interface RepositoryGroupService
Modifier and Type | Method and Description |
---|---|
Boolean |
addRepositoryGroup(RepositoryGroup repositoryGroup) |
Boolean |
addRepositoryToGroup(String repositoryGroupId,
String repositoryId) |
Boolean |
deleteRepositoryFromGroup(String repositoryGroupId,
String repositoryId) |
Boolean |
deleteRepositoryGroup(String repositoryGroupId) |
List<RepositoryGroup> |
getRepositoriesGroups() |
RepositoryGroup |
getRepositoryGroup(String repositoryGroupId) |
Boolean |
updateRepositoryGroup(RepositoryGroup repositoryGroup) |
@Path(value="getRepositoriesGroups") @GET @Produces(value={"application/json","application/xml"}) List<RepositoryGroup> getRepositoriesGroups() throws ArchivaRestServiceException
ArchivaRestServiceException
@Path(value="getRepositoryGroup/{repositoryGroupId}") @GET @Produces(value={"application/json","application/xml"}) RepositoryGroup getRepositoryGroup(@PathParam(value="repositoryGroupId") String repositoryGroupId) throws ArchivaRestServiceException
ArchivaRestServiceException
@Path(value="addRepositoryGroup") @POST @Consumes(value={"application/json","application/xml"}) @Produces(value={"application/json","application/xml","text/plain"}) Boolean addRepositoryGroup(RepositoryGroup repositoryGroup) throws ArchivaRestServiceException
ArchivaRestServiceException
@Path(value="updateRepositoryGroup") @POST @Consumes(value={"application/json","application/xml"}) @Produces(value={"application/json","application/xml","text/plain"}) Boolean updateRepositoryGroup(RepositoryGroup repositoryGroup) throws ArchivaRestServiceException
ArchivaRestServiceException
@Path(value="deleteRepositoryGroup/{repositoryGroupId}") @GET @Produces(value={"application/json","application/xml","text/plain"}) Boolean deleteRepositoryGroup(@PathParam(value="repositoryGroupId") String repositoryGroupId) throws ArchivaRestServiceException
ArchivaRestServiceException
@Path(value="addRepositoryToGroup") @GET @Produces(value={"application/json","application/xml","text/plain"}) Boolean addRepositoryToGroup(@QueryParam(value="repositoryGroupId") String repositoryGroupId, @QueryParam(value="repositoryId") String repositoryId) throws ArchivaRestServiceException
ArchivaRestServiceException
@Path(value="addRepositoryToGroup") @GET @Produces(value={"application/json","application/xml","text/plain"}) Boolean deleteRepositoryFromGroup(@QueryParam(value="repositoryGroupId") String repositoryGroupId, @QueryParam(value="repositoryId") String repositoryId) throws ArchivaRestServiceException
ArchivaRestServiceException
Copyright © 2006–2023 The Apache Software Foundation. All rights reserved.