@Service(value="repositoryGroupAdmin#default") public class DefaultRepositoryGroupAdmin extends AbstractRepositoryAdmin implements RepositoryGroupAdmin
Constructor and Description |
---|
DefaultRepositoryGroupAdmin() |
convertUriToString, getArchivaConfiguration, getAuditListeners, getModelMapper, getRegistry, getRepositoryCommonValidator, saveConfiguration, setArchivaConfiguration, setAuditListeners, setBaseRepoAttributes, setBaseRepoAttributes, setRegistry, setRepositoryCommonValidator, triggerAuditEvent
public DefaultRepositoryGroupAdmin()
@PostConstruct public void initialize()
public StorageAsset getMergedIndexDirectory(String repositoryGroupId)
getMergedIndexDirectory
in interface RepositoryGroupAdmin
public List<RepositoryGroup> getRepositoriesGroups()
getRepositoriesGroups
in interface RepositoryGroupAdmin
public RepositoryGroup getRepositoryGroup(String repositoryGroupId)
getRepositoryGroup
in interface RepositoryGroupAdmin
public Boolean addRepositoryGroup(RepositoryGroup repositoryGroup, AuditInformation auditInformation) throws RepositoryAdminException
addRepositoryGroup
in interface RepositoryGroupAdmin
RepositoryAdminException
public Boolean deleteRepositoryGroup(String repositoryGroupId, AuditInformation auditInformation) throws RepositoryAdminException
deleteRepositoryGroup
in interface RepositoryGroupAdmin
RepositoryAdminException
public Boolean updateRepositoryGroup(RepositoryGroup repositoryGroup, AuditInformation auditInformation) throws RepositoryAdminException
updateRepositoryGroup
in interface RepositoryGroupAdmin
RepositoryAdminException
public Boolean addRepositoryToGroup(String repositoryGroupId, String repositoryId, AuditInformation auditInformation) throws RepositoryAdminException
addRepositoryToGroup
in interface RepositoryGroupAdmin
RepositoryAdminException
public Boolean deleteRepositoryFromGroup(String repositoryGroupId, String repositoryId, AuditInformation auditInformation) throws RepositoryAdminException
deleteRepositoryFromGroup
in interface RepositoryGroupAdmin
RepositoryAdminException
public Map<String,RepositoryGroup> getRepositoryGroupsAsMap() throws RepositoryAdminException
getRepositoryGroupsAsMap
in interface RepositoryGroupAdmin
RepositoryAdminException
public Map<String,List<String>> getGroupToRepositoryMap() throws RepositoryAdminException
getGroupToRepositoryMap
in interface RepositoryGroupAdmin
RepositoryAdminException
public Map<String,List<String>> getRepositoryToGroupMap() throws RepositoryAdminException
getRepositoryToGroupMap
in interface RepositoryGroupAdmin
RepositoryAdminException
public Boolean validateRepositoryGroup(RepositoryGroup repositoryGroup, boolean updateMode) throws RepositoryAdminException
RepositoryAdminException
public ManagedRepositoryAdmin getManagedRepositoryAdmin()
public void setManagedRepositoryAdmin(ManagedRepositoryAdmin managedRepositoryAdmin)
Copyright © 2006–2019 The Apache Software Foundation. All rights reserved.