com.atlassian.bamboo.repository
Interface RepositoryDefinitionDao

All Superinterfaces:
BambooObjectDao<RepositoryDataEntity>
All Known Implementing Classes:
RepositoryDefinitionHibernateDao

@Internal
public interface RepositoryDefinitionDao
extends BambooObjectDao<RepositoryDataEntity>

Dao for RepositoryDataEntity


Method Summary
 Collection<? extends RepositoryDataEntity> findAll()
           
 RepositoryDataEntity findById(long id)
           
 List<RepositoryDataEntity> findRepositoriesByPluginKey(String pluginKey)
           
 List<RepositoryDataEntity> getGlobalRepositoryDefinitions()
           
 Collection<RepositoryDataEntity> getPrivateRepositoryDefinitionsByPlan(Plan plan)
           
 void removeRepositoryIfUnused(RepositoryDataEntity repositoryDataEntity)
           
 void removeUnusedRepositories()
           
 
Methods inherited from interface com.atlassian.bamboo.persistence3.BambooObjectDao
countAll, countWithRestriction, delete, deleteAll, executeReturnLong, findAll, findById, save, saveAll
 

Method Detail

findById

RepositoryDataEntity findById(long id)

findAll

Collection<? extends RepositoryDataEntity> findAll()

findRepositoriesByPluginKey

@NotNull
List<RepositoryDataEntity> findRepositoriesByPluginKey(@NotNull
                                                               String pluginKey)

removeRepositoryIfUnused

void removeRepositoryIfUnused(RepositoryDataEntity repositoryDataEntity)

removeUnusedRepositories

void removeUnusedRepositories()

getPrivateRepositoryDefinitionsByPlan

@NotNull
Collection<RepositoryDataEntity> getPrivateRepositoryDefinitionsByPlan(Plan plan)

getGlobalRepositoryDefinitions

@NotNull
List<RepositoryDataEntity> getGlobalRepositoryDefinitions()


Copyright © 2015 Atlassian Software Systems Pty Ltd. All rights reserved.