public class RepositoryDefinitionHibernateDao extends BambooHibernateObjectDao<RepositoryDataEntity> implements RepositoryDefinitionDao
| Constructor and Description |
|---|
RepositoryDefinitionHibernateDao() |
| Modifier and Type | Method and Description |
|---|---|
Collection<? extends RepositoryDataEntity> |
findAll() |
RepositoryDataEntityImpl |
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, execute, executeCountQuery, executeReturnInt, executeReturnLong, findAll, findById, save, saveAllgetCacheAwareHibernateTemplatecheckDaoConfig, convertHibernateAccessException, createHibernateTemplate, getHibernateTemplate, getSession, getSession, getSessionFactory, releaseSession, setHibernateTemplate, setSessionFactoryclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitcountAll, countWithRestriction, delete, deleteAll, executeReturnInt, executeReturnLong, findAll, findById, save, saveAll@Nullable public RepositoryDataEntityImpl findById(long id)
findById in interface RepositoryDefinitionDao@NotNull public Collection<? extends RepositoryDataEntity> findAll()
findAll in interface RepositoryDefinitionDao@NotNull public List<RepositoryDataEntity> findRepositoriesByPluginKey(@NotNull String pluginKey)
findRepositoriesByPluginKey in interface RepositoryDefinitionDao@NotNull public List<RepositoryDataEntity> getGlobalRepositoryDefinitions()
getGlobalRepositoryDefinitions in interface RepositoryDefinitionDao@NotNull public Collection<RepositoryDataEntity> getPrivateRepositoryDefinitionsByPlan(Plan plan)
getPrivateRepositoryDefinitionsByPlan in interface RepositoryDefinitionDaopublic void removeRepositoryIfUnused(RepositoryDataEntity repositoryDataEntity)
removeRepositoryIfUnused in interface RepositoryDefinitionDaopublic void removeUnusedRepositories()
removeUnusedRepositories in interface RepositoryDefinitionDaoCopyright © 2016 Atlassian Software Systems Pty Ltd. All rights reserved.