org.apache.archiva.rest.api.services
Interface ProxyConnectorService

All Known Implementing Classes:
DefaultProxyConnectorService

public interface ProxyConnectorService

No update method for changing source and target here as id is : sourceRepoId and targetRepoId, use delete then add.

Since:
1.4-M1
Author:
Olivier Lamy

Method Summary
 Boolean addProxyConnector(ProxyConnector proxyConnector)
           
 Boolean deleteProxyConnector(ProxyConnector proxyConnector)
           
 List<PolicyInformation> getAllPolicyInformations()
           
 ProxyConnector getProxyConnector(String sourceRepoId, String targetRepoId)
           
 List<ProxyConnector> getProxyConnectors()
           
 Boolean removeProxyConnector(String sourceRepoId, String targetRepoId)
           
 Boolean updateProxyConnector(ProxyConnector proxyConnector)
          only for enabled/disable or changing bean values except target/source
 

Method Detail

getProxyConnectors

List<ProxyConnector> getProxyConnectors()
                                        throws ArchivaRestServiceException
Throws:
ArchivaRestServiceException

getProxyConnector

ProxyConnector getProxyConnector(String sourceRepoId,
                                 String targetRepoId)
                                 throws ArchivaRestServiceException
Throws:
ArchivaRestServiceException

addProxyConnector

Boolean addProxyConnector(ProxyConnector proxyConnector)
                          throws ArchivaRestServiceException
Throws:
ArchivaRestServiceException

deleteProxyConnector

Boolean deleteProxyConnector(ProxyConnector proxyConnector)
                             throws ArchivaRestServiceException
Throws:
ArchivaRestServiceException

removeProxyConnector

Boolean removeProxyConnector(String sourceRepoId,
                             String targetRepoId)
                             throws ArchivaRestServiceException
Throws:
ArchivaRestServiceException
Since:
1.4-M3

updateProxyConnector

Boolean updateProxyConnector(ProxyConnector proxyConnector)
                             throws ArchivaRestServiceException
only for enabled/disable or changing bean values except target/source

Parameters:
proxyConnector -
Returns:
Throws:
ArchivaRestServiceException

getAllPolicyInformations

List<PolicyInformation> getAllPolicyInformations()
                                                 throws ArchivaRestServiceException
Throws:
ArchivaRestServiceException


Copyright © 2006-2013 The Apache Software Foundation. All Rights Reserved.