public class PlanRepositoryLinkHibernateDao extends BambooHibernateObjectDao<PlanRepositoryLink> implements PlanRepositoryLinkDao
| Constructor and Description |
|---|
PlanRepositoryLinkHibernateDao() |
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, saveAll@NotNull public List<PlanRepositoryLink> getPlanRepositoryLinks(@NotNull ImmutablePlan plan)
getPlanRepositoryLinks in interface PlanRepositoryLinkDaoPlan sorted by PlanRepositoryLink.getPosition()@NotNull public List<PlanRepositoryLink> getPlanRepositoryLinks(@NotNull PlanIdentifier plan)
getPlanRepositoryLinks in interface PlanRepositoryLinkDaoPlan sorted by PlanRepositoryLink.getPosition()public List<PlanRepositoryLink> getPlansUsingRepository(long repositoryId)
getPlansUsingRepository in interface PlanRepositoryLinkDaoPlan that reference a Source Repositorypublic List<PlanIdentifier> getIdentifiersOfPlansUsingRepository(long repositoryId)
PlanRepositoryLinkDaogetIdentifiersOfPlansUsingRepository in interface PlanRepositoryLinkDaopublic List<PlanIdentifier> getIdentifiersOfPlansUsingRepositoryOrItsDirectChildren(long repositoryId)
PlanRepositoryLinkDaogetIdentifiersOfPlansUsingRepositoryOrItsDirectChildren in interface PlanRepositoryLinkDaopublic PlanRepositoryLink getPlanRepositoryLink(@NotNull PlanIdentifier plan, long repositoryId)
getPlanRepositoryLink in interface PlanRepositoryLinkDaopublic PlanRepositoryLink getPlanRepositoryLinkByName(@NotNull PlanIdentifier plan, @NotNull String repositoryName)
getPlanRepositoryLinkByName in interface PlanRepositoryLinkDaopublic void detachAllRepositoriesFromPlan(@NotNull
ImmutablePlan plan)
PlanRepositoryLinkDaoPlanRepositoryLink defined for the . Does not delete RepositoryDataEntity objects.detachAllRepositoriesFromPlan in interface PlanRepositoryLinkDaopublic void removeLinksByParentRepositoryId(long parentId)
PlanRepositoryLinkDaoremoveLinksByParentRepositoryId in interface PlanRepositoryLinkDaopublic void removeRepositoryFromPlan(@NotNull
PlanRepositoryLink planRepository)
PlanRepositoryLinkDaoPlanRepositoryLink. Does not delete RepositoryDataEntityremoveRepositoryFromPlan in interface PlanRepositoryLinkDaoCopyright © 2019 Atlassian Software Systems Pty Ltd. All rights reserved.