This project has retired. For details please refer to its Attic page.
AdministrationService

org.apache.archiva.web.xmlrpc.api
Interface AdministrationService

Package class diagram package AdministrationService
All Known Implementing Classes:
AdministrationServiceImpl

public interface AdministrationService


Method Summary
 java.lang.Boolean configureDatabaseConsumer(java.lang.String consumerId, boolean enable)
          Configures (enable or disable) database consumer.
 java.lang.Boolean configureRepositoryConsumer(java.lang.String repoId, java.lang.String consumerId, boolean enable)
          Configures (enable or disable) repository consumer.
 java.lang.Boolean deleteArtifact(java.lang.String repoId, java.lang.String groupId, java.lang.String artifactId, java.lang.String version)
          Deletes given artifact from the specified repository.
 java.lang.Boolean executeDatabaseScanner()
          Executes the database scanner.
 java.lang.Boolean executeRepositoryScanner(java.lang.String repoId)
          Executes repository scanner on the given repository.
 java.util.List<java.lang.String> getAllDatabaseConsumers()
          Gets all available database consumers.
 java.util.List<ManagedRepository> getAllManagedRepositories()
          Gets all managed repositories.
 java.util.List<RemoteRepository> getAllRemoteRepositories()
          Gets all remote repositories.
 java.util.List<java.lang.String> getAllRepositoryConsumers()
          Gets all available repository consumers.
 

Method Detail

executeRepositoryScanner

java.lang.Boolean executeRepositoryScanner(java.lang.String repoId)
                                           throws java.lang.Exception
Executes repository scanner on the given repository.

Parameters:
repoId - id of the repository to be scanned
Returns:
Throws:
java.lang.Exception

executeDatabaseScanner

java.lang.Boolean executeDatabaseScanner()
                                         throws java.lang.Exception
Executes the database scanner.

Returns:
Throws:
java.lang.Exception

getAllDatabaseConsumers

java.util.List<java.lang.String> getAllDatabaseConsumers()
Gets all available database consumers.

Returns:

configureDatabaseConsumer

java.lang.Boolean configureDatabaseConsumer(java.lang.String consumerId,
                                            boolean enable)
                                            throws java.lang.Exception
Configures (enable or disable) database consumer.

Parameters:
consumerId - id of the database consumer
enable - flag whether to enable or disable the specified consumer
Returns:
Throws:
java.lang.Exception

getAllRepositoryConsumers

java.util.List<java.lang.String> getAllRepositoryConsumers()
Gets all available repository consumers.

Returns:

configureRepositoryConsumer

java.lang.Boolean configureRepositoryConsumer(java.lang.String repoId,
                                              java.lang.String consumerId,
                                              boolean enable)
                                              throws java.lang.Exception
Configures (enable or disable) repository consumer.

Parameters:
repoId -
consumerId -
enable -
Returns:
Throws:
java.lang.Exception

getAllManagedRepositories

java.util.List<ManagedRepository> getAllManagedRepositories()
Gets all managed repositories.

Returns:

getAllRemoteRepositories

java.util.List<RemoteRepository> getAllRemoteRepositories()
Gets all remote repositories.

Returns:

deleteArtifact

java.lang.Boolean deleteArtifact(java.lang.String repoId,
                                 java.lang.String groupId,
                                 java.lang.String artifactId,
                                 java.lang.String version)
                                 throws java.lang.Exception
Deletes given artifact from the specified repository.

Parameters:
repoId - id of the repository where the artifact to be deleted resides
groupId - groupId of the artifact to be deleted
artifactId - artifactId of the artifact to be deleted
version - version of the artifact to be deleted
Returns:
Throws:
java.lang.Exception