com.atlassian.bamboo.repository
Interface RepositoryDefinitionDao

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

public interface RepositoryDefinitionDao
extends BambooObjectDao<RepositoryDataEntity>

Dao for RepositoryDataEntity


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

Method Detail

findById

RepositoryDataEntity findById(long id)

findAll

java.util.Collection<? extends RepositoryDataEntity> findAll()

findRepositoriesByPluginKey

@NotNull
java.util.List<RepositoryDataEntity> findRepositoriesByPluginKey(@NotNull
                                                                         java.lang.String pluginKey)

removeRepositoryIfUnused

void removeRepositoryIfUnused(RepositoryDataEntity repositoryDataEntity)

removeUnusedRepositories

void removeUnusedRepositories()

getPrivateRepositoryDefinitionsByPlan

@NotNull
java.util.Collection<RepositoryDataEntity> getPrivateRepositoryDefinitionsByPlan(Plan plan)

getGlobalRepositoryDefinitions

@NotNull
java.util.List<RepositoryDataEntity> getGlobalRepositoryDefinitions()


Copyright © 2013 Atlassian Software Systems Pty Ltd. All Rights Reserved.