|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.archiva.web.xmlrpc.services.AdministrationServiceImpl
public class AdministrationServiceImpl
AdministrationServiceImpl
Field Summary | |
---|---|
protected org.slf4j.Logger |
log
|
Constructor Summary | |
---|---|
AdministrationServiceImpl(ArchivaConfiguration archivaConfig,
RepositoryContentConsumers repoConsumersUtil,
DatabaseConsumers dbConsumersUtil,
RepositoryContentFactory repoFactory,
ArtifactDAO artifactDAO,
ArchivaTaskScheduler taskScheduler,
java.util.Collection<RepositoryListener> listeners)
|
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. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected org.slf4j.Logger log
Constructor Detail |
---|
public AdministrationServiceImpl(ArchivaConfiguration archivaConfig, RepositoryContentConsumers repoConsumersUtil, DatabaseConsumers dbConsumersUtil, RepositoryContentFactory repoFactory, ArtifactDAO artifactDAO, ArchivaTaskScheduler taskScheduler, java.util.Collection<RepositoryListener> listeners)
Method Detail |
---|
public java.lang.Boolean configureDatabaseConsumer(java.lang.String consumerId, boolean enable) throws java.lang.Exception
AdministrationService
configureDatabaseConsumer
in interface AdministrationService
consumerId
- id of the database consumerenable
- flag whether to enable or disable the specified consumer
java.lang.Exception
AdministrationService.configureDatabaseConsumer(String, boolean)
public java.lang.Boolean configureRepositoryConsumer(java.lang.String repoId, java.lang.String consumerId, boolean enable) throws java.lang.Exception
AdministrationService
configureRepositoryConsumer
in interface AdministrationService
java.lang.Exception
AdministrationService.configureRepositoryConsumer(String, String, boolean)
public java.lang.Boolean deleteArtifact(java.lang.String repoId, java.lang.String groupId, java.lang.String artifactId, java.lang.String version) throws java.lang.Exception
AdministrationService
deleteArtifact
in interface AdministrationService
repoId
- id of the repository where the artifact to be deleted residesgroupId
- groupId of the artifact to be deletedartifactId
- artifactId of the artifact to be deletedversion
- version of the artifact to be deleted
java.lang.Exception
AdministrationService.deleteArtifact(String, String, String, String)
public java.lang.Boolean executeDatabaseScanner() throws java.lang.Exception
AdministrationService
executeDatabaseScanner
in interface AdministrationService
java.lang.Exception
AdministrationService.executeDatabaseScanner()
public java.lang.Boolean executeRepositoryScanner(java.lang.String repoId) throws java.lang.Exception
AdministrationService
executeRepositoryScanner
in interface AdministrationService
repoId
- id of the repository to be scanned
java.lang.Exception
AdministrationService.executeRepositoryScanner(String)
public java.util.List<java.lang.String> getAllDatabaseConsumers()
AdministrationService
getAllDatabaseConsumers
in interface AdministrationService
AdministrationService.getAllDatabaseConsumers()
public java.util.List<java.lang.String> getAllRepositoryConsumers()
AdministrationService
getAllRepositoryConsumers
in interface AdministrationService
AdministrationService.getAllRepositoryConsumers()
public java.util.List<ManagedRepository> getAllManagedRepositories()
AdministrationService
getAllManagedRepositories
in interface AdministrationService
AdministrationService.getAllManagedRepositories()
public java.util.List<RemoteRepository> getAllRemoteRepositories()
AdministrationService
getAllRemoteRepositories
in interface AdministrationService
AdministrationService.getAllRemoteRepositories()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |