public class EnvironmentRepositoryLinkHibernateDao extends BambooHibernateObjectDao<EnvironmentRepositoryLink> implements EnvironmentRepositoryLinkDao
| Constructor and Description |
|---|
EnvironmentRepositoryLinkHibernateDao(TransactionAndHibernateTemplate transactionTemplate) |
countAll, countWithRestriction, delete, deleteAll, executeCountQuery, findAll, findById, merge, save, saveAllgetCacheAwareHibernateTemplatecheckDaoConfig, createHibernateTemplate, currentSession, getHibernateTemplate, getSessionFactory, setHibernateTemplate, setSessionFactoryclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitcountAll, countWithRestriction, delete, deleteAll, findAll, findById, merge, save, saveAllpublic EnvironmentRepositoryLinkHibernateDao(TransactionAndHibernateTemplate transactionTemplate)
@NotNull public List<EnvironmentRepositoryLink> getEnvironmentRepositoryLinks(@NotNull InternalEnvironment environment)
getEnvironmentRepositoryLinks in interface EnvironmentRepositoryLinkDaoEnvironment sorted by EnvironmentRepositoryLink.getPosition()@NotNull public List<EnvironmentRepositoryLink> getEnvironmentRepositoryLinksForRepository(long repositoryId)
getEnvironmentRepositoryLinksForRepository in interface EnvironmentRepositoryLinkDao@Nullable public EnvironmentRepositoryLink getEnvironmentRepositoryLink(@NotNull InternalEnvironment environment, long repositoryId)
getEnvironmentRepositoryLink in interface EnvironmentRepositoryLinkDaopublic void detachAllRepositoriesFromEnvironment(@NotNull
InternalEnvironment environment)
EnvironmentRepositoryLinkDaoPlanRepositoryLink defined for the Environment. Does not delete RepositoryDataEntity
objects.detachAllRepositoriesFromEnvironment in interface EnvironmentRepositoryLinkDaopublic void detachAllRepositoriesFromEnvironment(@NotNull
EnvironmentDeletionAdapter deletionAdapter)
EnvironmentRepositoryLinkDaoPlanRepositoryLink defined for the Environment. Does not delete RepositoryDataEntity
objects.detachAllRepositoriesFromEnvironment in interface EnvironmentRepositoryLinkDaopublic void removeRepositoryFromEnvironment(@NotNull
EnvironmentRepositoryLink environmentRepositoryLink)
EnvironmentRepositoryLinkDaoPlanRepositoryLink. Does not delete RepositoryDataEntityremoveRepositoryFromEnvironment in interface EnvironmentRepositoryLinkDao@NotNull public List<MutableEnvironment> getEnvironmentsUsingRepository(long repositoryId)
getEnvironmentsUsingRepository in interface EnvironmentRepositoryLinkDaorepositoryId - repository idEnvironments using given repositorypublic EnvironmentRepositoryLink linkRepositoryToEnvironment(MutableEnvironment environment, RepositoryDataEntity repositoryDataEntity, int index)
EnvironmentRepositoryLinkDaolinkRepositoryToEnvironment in interface EnvironmentRepositoryLinkDaoCopyright © 2022 Atlassian Software Systems Pty Ltd. All rights reserved.