org.apache.archiva.rest.api.services
Interface ArchivaAdministrationService
- All Known Implementing Classes:
- DefaultArchivaAdministrationService
public interface ArchivaAdministrationService
- Since:
- 1.4-M1
- Author:
- Olivier Lamy
getLegacyArtifactPaths
List<LegacyArtifactPath> getLegacyArtifactPaths()
throws ArchivaRestServiceException
- Throws:
ArchivaRestServiceException
addLegacyArtifactPath
void addLegacyArtifactPath(LegacyArtifactPath legacyArtifactPath)
throws ArchivaRestServiceException
- Throws:
ArchivaRestServiceException
deleteLegacyArtifactPath
Boolean deleteLegacyArtifactPath(String path)
throws ArchivaRestServiceException
- Throws:
ArchivaRestServiceException
addFileTypePattern
Boolean addFileTypePattern(String fileTypeId,
String pattern)
throws ArchivaRestServiceException
- Throws:
ArchivaRestServiceException
removeFileTypePattern
Boolean removeFileTypePattern(String fileTypeId,
String pattern)
throws ArchivaRestServiceException
- Throws:
ArchivaRestServiceException
getFileType
FileType getFileType(String fileTypeId)
throws ArchivaRestServiceException
- Throws:
ArchivaRestServiceException
addFileType
void addFileType(FileType fileType)
throws ArchivaRestServiceException
- Throws:
ArchivaRestServiceException
removeFileType
Boolean removeFileType(String fileTypeId)
throws ArchivaRestServiceException
- Throws:
ArchivaRestServiceException
enabledKnownContentConsumer
Boolean enabledKnownContentConsumer(String knownContentConsumer)
throws ArchivaRestServiceException
- Throws:
ArchivaRestServiceException
enabledKnownContentConsumers
void enabledKnownContentConsumers(List<String> knownContentConsumers)
throws ArchivaRestServiceException
- Throws:
ArchivaRestServiceException
disabledKnownContentConsumer
Boolean disabledKnownContentConsumer(String knownContentConsumer)
throws ArchivaRestServiceException
- Throws:
ArchivaRestServiceException
enabledInvalidContentConsumer
Boolean enabledInvalidContentConsumer(String invalidContentConsumer)
throws ArchivaRestServiceException
- Throws:
ArchivaRestServiceException
enabledInvalidContentConsumers
void enabledInvalidContentConsumers(List<String> invalidContentConsumers)
throws ArchivaRestServiceException
- Throws:
ArchivaRestServiceException
disabledInvalidContentConsumer
Boolean disabledInvalidContentConsumer(String invalidContentConsumer)
throws ArchivaRestServiceException
- Throws:
ArchivaRestServiceException
getFileTypes
List<FileType> getFileTypes()
throws ArchivaRestServiceException
- Throws:
ArchivaRestServiceException
getKnownContentConsumers
List<String> getKnownContentConsumers()
throws ArchivaRestServiceException
- Throws:
ArchivaRestServiceException
getKnownContentAdminRepositoryConsumers
List<AdminRepositoryConsumer> getKnownContentAdminRepositoryConsumers()
throws ArchivaRestServiceException
- Throws:
ArchivaRestServiceException
- Since:
- 1.4-M3
getInvalidContentAdminRepositoryConsumers
List<AdminRepositoryConsumer> getInvalidContentAdminRepositoryConsumers()
throws ArchivaRestServiceException
- Throws:
ArchivaRestServiceException
- Since:
- 1.4-M3
getInvalidContentConsumers
List<String> getInvalidContentConsumers()
throws ArchivaRestServiceException
- Throws:
ArchivaRestServiceException
getOrganisationInformation
OrganisationInformation getOrganisationInformation()
throws ArchivaRestServiceException
- Throws:
ArchivaRestServiceException
setOrganisationInformation
void setOrganisationInformation(OrganisationInformation organisationInformation)
throws ArchivaRestServiceException
- Throws:
ArchivaRestServiceException
getUiConfiguration
UiConfiguration getUiConfiguration()
throws ArchivaRestServiceException
- Throws:
ArchivaRestServiceException
registrationDisabled
Boolean registrationDisabled()
throws ArchivaRestServiceException
- Throws:
ArchivaRestServiceException
setUiConfiguration
void setUiConfiguration(UiConfiguration uiConfiguration)
throws ArchivaRestServiceException
- Throws:
ArchivaRestServiceException
getApplicationUrl
String getApplicationUrl()
throws ArchivaRestServiceException
- Throws:
ArchivaRestServiceException
- Since:
- 1.4-M3
getNetworkConfiguration
NetworkConfiguration getNetworkConfiguration()
throws ArchivaRestServiceException
- Throws:
ArchivaRestServiceException
setNetworkConfiguration
void setNetworkConfiguration(NetworkConfiguration networkConfiguration)
throws ArchivaRestServiceException
- Throws:
ArchivaRestServiceException
Copyright © 2006-2013 The Apache Software Foundation. All Rights Reserved.