org.apache.archiva.rest.services
Class DefaultRemoteRepositoriesService
java.lang.Object
org.apache.archiva.rest.services.AbstractRestService
org.apache.archiva.rest.services.DefaultRemoteRepositoriesService
- All Implemented Interfaces:
- org.apache.archiva.rest.api.services.RemoteRepositoriesService
@Service(value="remoteRepositoriesService#rest")
public class DefaultRemoteRepositoriesService
- extends AbstractRestService
- implements org.apache.archiva.rest.api.services.RemoteRepositoriesService
- Since:
- 1.4-M1
- Author:
- Olivier Lamy
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DefaultRemoteRepositoriesService
public DefaultRemoteRepositoriesService()
getRemoteRepositories
public List<org.apache.archiva.admin.model.beans.RemoteRepository> getRemoteRepositories()
throws org.apache.archiva.rest.api.services.ArchivaRestServiceException
- Specified by:
getRemoteRepositories in interface org.apache.archiva.rest.api.services.RemoteRepositoriesService
- Throws:
org.apache.archiva.rest.api.services.ArchivaRestServiceException
getRemoteRepository
public org.apache.archiva.admin.model.beans.RemoteRepository getRemoteRepository(String repositoryId)
throws org.apache.archiva.rest.api.services.ArchivaRestServiceException
- Specified by:
getRemoteRepository in interface org.apache.archiva.rest.api.services.RemoteRepositoriesService
- Throws:
org.apache.archiva.rest.api.services.ArchivaRestServiceException
deleteRemoteRepository
public Boolean deleteRemoteRepository(String repositoryId)
throws Exception
- Specified by:
deleteRemoteRepository in interface org.apache.archiva.rest.api.services.RemoteRepositoriesService
- Throws:
Exception
addRemoteRepository
public Boolean addRemoteRepository(org.apache.archiva.admin.model.beans.RemoteRepository remoteRepository)
throws Exception
- Specified by:
addRemoteRepository in interface org.apache.archiva.rest.api.services.RemoteRepositoriesService
- Throws:
Exception
updateRemoteRepository
public Boolean updateRemoteRepository(org.apache.archiva.admin.model.beans.RemoteRepository remoteRepository)
throws Exception
- Specified by:
updateRemoteRepository in interface org.apache.archiva.rest.api.services.RemoteRepositoriesService
- Throws:
Exception
Copyright © 2006-2011 The Apache Software Foundation. All Rights Reserved.