org.apache.archiva.rest.services
Class DefaultNetworkProxyService

java.lang.Object
  extended by org.apache.archiva.rest.services.AbstractRestService
      extended by org.apache.archiva.rest.services.DefaultNetworkProxyService
All Implemented Interfaces:
NetworkProxyService

@Service(value="networkProxyService#rest")
public class DefaultNetworkProxyService
extends AbstractRestService
implements NetworkProxyService

Author:
Olivier Lamy

Field Summary
private  NetworkProxyAdmin networkProxyAdmin
           
 
Fields inherited from class org.apache.archiva.rest.services.AbstractRestService
archivaAdministration, config, httpServletRequest, log, managedRepositoryAdmin, repositoryContentFactory, repositorySessionFactory, repositoryTaskScheduler, userRepositories
 
Constructor Summary
DefaultNetworkProxyService()
           
 
Method Summary
 void addNetworkProxy(NetworkProxy networkProxy)
           
 Boolean deleteNetworkProxy(String networkProxyId)
           
 List<NetworkProxy> getNetworkProxies()
           
 NetworkProxy getNetworkProxy(String networkProxyId)
           
 NetworkProxyAdmin getNetworkProxyAdmin()
           
 void setNetworkProxyAdmin(NetworkProxyAdmin networkProxyAdmin)
           
 void updateNetworkProxy(NetworkProxy networkProxy)
           
 
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
 

Field Detail

networkProxyAdmin

@Inject
private NetworkProxyAdmin networkProxyAdmin
Constructor Detail

DefaultNetworkProxyService

public DefaultNetworkProxyService()
Method Detail

getNetworkProxies

public List<NetworkProxy> getNetworkProxies()
                                     throws ArchivaRestServiceException
Specified by:
getNetworkProxies in interface NetworkProxyService
Throws:
ArchivaRestServiceException

getNetworkProxy

public NetworkProxy getNetworkProxy(String networkProxyId)
                             throws ArchivaRestServiceException
Specified by:
getNetworkProxy in interface NetworkProxyService
Throws:
ArchivaRestServiceException

addNetworkProxy

public void addNetworkProxy(NetworkProxy networkProxy)
                     throws ArchivaRestServiceException
Specified by:
addNetworkProxy in interface NetworkProxyService
Throws:
ArchivaRestServiceException

updateNetworkProxy

public void updateNetworkProxy(NetworkProxy networkProxy)
                        throws ArchivaRestServiceException
Specified by:
updateNetworkProxy in interface NetworkProxyService
Throws:
ArchivaRestServiceException

deleteNetworkProxy

public Boolean deleteNetworkProxy(String networkProxyId)
                           throws ArchivaRestServiceException
Specified by:
deleteNetworkProxy in interface NetworkProxyService
Throws:
ArchivaRestServiceException

getNetworkProxyAdmin

public NetworkProxyAdmin getNetworkProxyAdmin()

setNetworkProxyAdmin

public void setNetworkProxyAdmin(NetworkProxyAdmin networkProxyAdmin)


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