org.apache.archiva.rest.services
Class DefaultRepositoryGroupService
java.lang.Object
org.apache.archiva.rest.services.AbstractRestService
org.apache.archiva.rest.services.DefaultRepositoryGroupService
- All Implemented Interfaces:
- RepositoryGroupService
@Service(value="repositoryGroupService#rest")
public class DefaultRepositoryGroupService
- extends AbstractRestService
- implements RepositoryGroupService
- Author:
- Olivier Lamy
Methods inherited from class org.apache.archiva.rest.services.AbstractRestService |
buildArtifacts, doScanRepository, getArtifactUrl, getAuditInformation, getAuditListeners, getBaseUrl, getBeansOfType, getObservableRepos, getPrincipal, setAuditListeners, triggerAuditEvent |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
repositoryGroupAdmin
@Inject
private RepositoryGroupAdmin repositoryGroupAdmin
DefaultRepositoryGroupService
public DefaultRepositoryGroupService()
getRepositoriesGroups
public List<RepositoryGroup> getRepositoriesGroups()
throws ArchivaRestServiceException
- Specified by:
getRepositoriesGroups
in interface RepositoryGroupService
- Throws:
ArchivaRestServiceException
getRepositoryGroup
public RepositoryGroup getRepositoryGroup(String repositoryGroupId)
throws ArchivaRestServiceException
- Specified by:
getRepositoryGroup
in interface RepositoryGroupService
- Throws:
ArchivaRestServiceException
addRepositoryGroup
public Boolean addRepositoryGroup(RepositoryGroup repoGroup)
throws ArchivaRestServiceException
- Specified by:
addRepositoryGroup
in interface RepositoryGroupService
- Throws:
ArchivaRestServiceException
updateRepositoryGroup
public Boolean updateRepositoryGroup(RepositoryGroup repoGroup)
throws ArchivaRestServiceException
- Specified by:
updateRepositoryGroup
in interface RepositoryGroupService
- Throws:
ArchivaRestServiceException
deleteRepositoryGroup
public Boolean deleteRepositoryGroup(String repositoryGroupId)
throws ArchivaRestServiceException
- Specified by:
deleteRepositoryGroup
in interface RepositoryGroupService
- Throws:
ArchivaRestServiceException
addRepositoryToGroup
public Boolean addRepositoryToGroup(String repositoryGroupId,
String repositoryId)
throws ArchivaRestServiceException
- Specified by:
addRepositoryToGroup
in interface RepositoryGroupService
- Throws:
ArchivaRestServiceException
deleteRepositoryFromGroup
public Boolean deleteRepositoryFromGroup(String repositoryGroupId,
String repositoryId)
throws ArchivaRestServiceException
- Specified by:
deleteRepositoryFromGroup
in interface RepositoryGroupService
- Throws:
ArchivaRestServiceException
Copyright © 2006-2013 The Apache Software Foundation. All Rights Reserved.