@Internal public interface RepositoryDefinitionDao extends BambooObjectDao<RepositoryDataEntity>
RepositoryDataEntity
Modifier and Type | Method and Description |
---|---|
Collection<? extends RepositoryDataEntity> |
findAll() |
Set<Long> |
findAllRepositoryIds() |
RepositoryDataEntity |
findById(long id) |
List<RepositoryDataEntity> |
findRepositoriesByPluginKey(String pluginKey) |
List<RepositoryDataEntity> |
getGlobalRepositoryDefinitions() |
Collection<RepositoryDataEntity> |
getPrivateRepositoryDefinitionsByPlan(Plan plan) |
void |
removeRepositoryIfUnused(RepositoryDataEntity repositoryDataEntity) |
void |
removeUnusedRepositories() |
countAll, countWithRestriction, delete, deleteAll, executeReturnInt, executeReturnLong, findAll, findById, save, saveAll
RepositoryDataEntity findById(long id)
Collection<? extends RepositoryDataEntity> findAll()
@NotNull List<RepositoryDataEntity> findRepositoriesByPluginKey(@NotNull String pluginKey)
void removeRepositoryIfUnused(RepositoryDataEntity repositoryDataEntity)
void removeUnusedRepositories()
@NotNull Collection<RepositoryDataEntity> getPrivateRepositoryDefinitionsByPlan(Plan plan)
@NotNull List<RepositoryDataEntity> getGlobalRepositoryDefinitions()
Copyright © 2016 Atlassian Software Systems Pty Ltd. All rights reserved.