@Service(value="archivaAdministrationService#default") public class DefaultArchivaAdministrationService extends AbstractRestService implements ArchivaAdministrationService
Modifier and Type | Field and Description |
---|---|
private ArchivaAdministration |
archivaAdministration |
private RepositoryContentConsumers |
repoConsumerUtil |
config, httpServletRequest, httpServletResponse, log, managedRepositoryAdmin, proxyConnectorAdmin, repositoryContentFactory, repositorySessionFactory, repositoryTaskScheduler, userRepositories
Constructor and Description |
---|
DefaultArchivaAdministrationService() |
buildArtifacts, doScanRepository, getArtifactUrl, getArtifactUrl, getAuditInformation, getAuditListeners, getBaseUrl, getBeansOfType, getModelMapper, getObservableRepos, getPrincipal, setAuditListeners, triggerAuditEvent
@Inject private ArchivaAdministration archivaAdministration
@Inject private RepositoryContentConsumers repoConsumerUtil
public DefaultArchivaAdministrationService()
public List<LegacyArtifactPath> getLegacyArtifactPaths() throws ArchivaRestServiceException
getLegacyArtifactPaths
in interface ArchivaAdministrationService
ArchivaRestServiceException
public Boolean deleteLegacyArtifactPath(String path) throws ArchivaRestServiceException
deleteLegacyArtifactPath
in interface ArchivaAdministrationService
ArchivaRestServiceException
public Boolean addFileTypePattern(String fileTypeId, String pattern) throws ArchivaRestServiceException
addFileTypePattern
in interface ArchivaAdministrationService
ArchivaRestServiceException
public Boolean removeFileTypePattern(String fileTypeId, String pattern) throws ArchivaRestServiceException
removeFileTypePattern
in interface ArchivaAdministrationService
ArchivaRestServiceException
public FileType getFileType(String fileTypeId) throws ArchivaRestServiceException
getFileType
in interface ArchivaAdministrationService
ArchivaRestServiceException
public void addFileType(FileType fileType) throws ArchivaRestServiceException
addFileType
in interface ArchivaAdministrationService
ArchivaRestServiceException
public Boolean removeFileType(String fileTypeId) throws ArchivaRestServiceException
removeFileType
in interface ArchivaAdministrationService
ArchivaRestServiceException
public Boolean enabledKnownContentConsumer(String knownContentConsumer) throws ArchivaRestServiceException
enabledKnownContentConsumer
in interface ArchivaAdministrationService
ArchivaRestServiceException
public void enabledKnownContentConsumers(List<String> knownContentConsumers) throws ArchivaRestServiceException
enabledKnownContentConsumers
in interface ArchivaAdministrationService
ArchivaRestServiceException
public Boolean disabledKnownContentConsumer(String knownContentConsumer) throws ArchivaRestServiceException
disabledKnownContentConsumer
in interface ArchivaAdministrationService
ArchivaRestServiceException
public Boolean enabledInvalidContentConsumer(String invalidContentConsumer) throws ArchivaRestServiceException
enabledInvalidContentConsumer
in interface ArchivaAdministrationService
ArchivaRestServiceException
public void enabledInvalidContentConsumers(List<String> invalidContentConsumers) throws ArchivaRestServiceException
enabledInvalidContentConsumers
in interface ArchivaAdministrationService
ArchivaRestServiceException
public Boolean disabledInvalidContentConsumer(String invalidContentConsumer) throws ArchivaRestServiceException
disabledInvalidContentConsumer
in interface ArchivaAdministrationService
ArchivaRestServiceException
public List<FileType> getFileTypes() throws ArchivaRestServiceException
getFileTypes
in interface ArchivaAdministrationService
ArchivaRestServiceException
public List<String> getKnownContentConsumers() throws ArchivaRestServiceException
getKnownContentConsumers
in interface ArchivaAdministrationService
ArchivaRestServiceException
public List<String> getInvalidContentConsumers() throws ArchivaRestServiceException
getInvalidContentConsumers
in interface ArchivaAdministrationService
ArchivaRestServiceException
public OrganisationInformation getOrganisationInformation() throws ArchivaRestServiceException
getOrganisationInformation
in interface ArchivaAdministrationService
ArchivaRestServiceException
public void setOrganisationInformation(OrganisationInformation organisationInformation) throws ArchivaRestServiceException
setOrganisationInformation
in interface ArchivaAdministrationService
ArchivaRestServiceException
public Boolean registrationDisabled() throws ArchivaRestServiceException
registrationDisabled
in interface ArchivaAdministrationService
ArchivaRestServiceException
public UiConfiguration getUiConfiguration() throws ArchivaRestServiceException
getUiConfiguration
in interface ArchivaAdministrationService
ArchivaRestServiceException
public void setUiConfiguration(UiConfiguration uiConfiguration) throws ArchivaRestServiceException
setUiConfiguration
in interface ArchivaAdministrationService
ArchivaRestServiceException
public String getApplicationUrl() throws ArchivaRestServiceException
getApplicationUrl
in interface ArchivaAdministrationService
ArchivaRestServiceException
public NetworkConfiguration getNetworkConfiguration() throws ArchivaRestServiceException
getNetworkConfiguration
in interface ArchivaAdministrationService
ArchivaRestServiceException
public void setNetworkConfiguration(NetworkConfiguration networkConfiguration) throws ArchivaRestServiceException
setNetworkConfiguration
in interface ArchivaAdministrationService
ArchivaRestServiceException
public List<AdminRepositoryConsumer> getKnownContentAdminRepositoryConsumers() throws ArchivaRestServiceException
getKnownContentAdminRepositoryConsumers
in interface ArchivaAdministrationService
ArchivaRestServiceException
public List<AdminRepositoryConsumer> getInvalidContentAdminRepositoryConsumers() throws ArchivaRestServiceException
getInvalidContentAdminRepositoryConsumers
in interface ArchivaAdministrationService
ArchivaRestServiceException
Copyright © 2006–2022 The Apache Software Foundation. All rights reserved.