@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 RepositoryGroupService
ArchivaRestServiceException
public RepositoryGroup getRepositoryGroup(String repositoryGroupId) throws ArchivaRestServiceException
getRepositoryGroup
in interface RepositoryGroupService
ArchivaRestServiceException
public Boolean addRepositoryGroup(RepositoryGroup repoGroup) throws ArchivaRestServiceException
addRepositoryGroup
in interface RepositoryGroupService
ArchivaRestServiceException
public Boolean updateRepositoryGroup(RepositoryGroup repoGroup) throws ArchivaRestServiceException
updateRepositoryGroup
in interface RepositoryGroupService
ArchivaRestServiceException
public Boolean deleteRepositoryGroup(String repositoryGroupId) throws ArchivaRestServiceException
deleteRepositoryGroup
in interface RepositoryGroupService
ArchivaRestServiceException
public Boolean addRepositoryToGroup(String repositoryGroupId, String repositoryId) throws ArchivaRestServiceException
addRepositoryToGroup
in interface RepositoryGroupService
ArchivaRestServiceException
public Boolean deleteRepositoryFromGroup(String repositoryGroupId, String repositoryId) throws ArchivaRestServiceException
deleteRepositoryFromGroup
in interface RepositoryGroupService
ArchivaRestServiceException
Copyright © 2006–2022 The Apache Software Foundation. All rights reserved.