@Service(value="repositoryGroupService#rest") public class DefaultRepositoryGroupService extends AbstractRestService implements RepositoryGroupService
| Modifier and Type | Field and Description |
|---|---|
private RepositoryGroupAdmin |
repositoryGroupAdmin |
archivaAdministration, config, httpServletRequest, httpServletResponse, log, managedRepositoryAdmin, proxyConnectorAdmin, repositoryContentFactory, repositorySessionFactory, repositoryTaskScheduler, userRepositories| Constructor and Description |
|---|
DefaultRepositoryGroupService() |
| Modifier and Type | Method and Description |
|---|---|
Boolean |
addRepositoryGroup(RepositoryGroup repoGroup) |
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 repoGroup) |
buildArtifacts, doScanRepository, getArtifactUrl, getArtifactUrl, getAuditInformation, getAuditListeners, getBaseUrl, getBeansOfType, getModelMapper, getObservableRepos, getPrincipal, setAuditListeners, triggerAuditEvent@Inject private RepositoryGroupAdmin repositoryGroupAdmin
public DefaultRepositoryGroupService()
public List<RepositoryGroup> getRepositoriesGroups() throws ArchivaRestServiceException
getRepositoriesGroups in interface RepositoryGroupServiceArchivaRestServiceExceptionpublic RepositoryGroup getRepositoryGroup(String repositoryGroupId) throws ArchivaRestServiceException
getRepositoryGroup in interface RepositoryGroupServiceArchivaRestServiceExceptionpublic Boolean addRepositoryGroup(RepositoryGroup repoGroup) throws ArchivaRestServiceException
addRepositoryGroup in interface RepositoryGroupServiceArchivaRestServiceExceptionpublic Boolean updateRepositoryGroup(RepositoryGroup repoGroup) throws ArchivaRestServiceException
updateRepositoryGroup in interface RepositoryGroupServiceArchivaRestServiceExceptionpublic Boolean deleteRepositoryGroup(String repositoryGroupId) throws ArchivaRestServiceException
deleteRepositoryGroup in interface RepositoryGroupServiceArchivaRestServiceExceptionpublic Boolean addRepositoryToGroup(String repositoryGroupId, String repositoryId) throws ArchivaRestServiceException
addRepositoryToGroup in interface RepositoryGroupServiceArchivaRestServiceExceptionpublic Boolean deleteRepositoryFromGroup(String repositoryGroupId, String repositoryId) throws ArchivaRestServiceException
deleteRepositoryFromGroup in interface RepositoryGroupServiceArchivaRestServiceExceptionCopyright © 2006–2022 The Apache Software Foundation. All rights reserved.