public interface PlanRepositoryLinkDao extends BambooObjectDao<PlanRepositoryLink>
countAll, countWithRestriction, delete, deleteAll, findAll, findById, merge, save, saveAll@NotNull List<PlanRepositoryLink> getPlanRepositoryLinks(@NotNull ImmutablePlan plan)
plan - Plan sorted by PlanRepositoryLink.getPosition()@NotNull List<PlanRepositoryLink> getPlanRepositoryLinks(@NotNull PlanIdentifier plan)
plan - Plan sorted by PlanRepositoryLink.getPosition()@Nullable PlanRepositoryLink getPlanRepositoryLink(@NotNull PlanIdentifier plan, long repositoryId)
plan - repositoryId - @Nullable PlanRepositoryLink getPlanRepositoryLinkByName(@NotNull PlanIdentifier plan, @NotNull String repositoryName)
plan - repositoryName - void detachAllRepositoriesFromPlan(@NotNull
ImmutablePlan plan)
PlanRepositoryLink defined for the . Does not delete RepositoryDataEntity objects.plan - void removeRepositoryFromPlan(@NotNull
PlanRepositoryLink planRepository)
PlanRepositoryLink. Does not delete RepositoryDataEntityplanRepository - List<PlanRepositoryLink> getPlansUsingRepository(long repositoryId)
repositoryId - Plan that reference a Source RepositoryList<PlanIdentifier> getIdentifiersOfPlansUsingRepository(long repositoryId)
repositoryId - List<PlanIdentifier> getIdentifiersOfPlansUsingRepositoryOrItsDirectChildren(long repositoryId)
repositoryId - void removeLinksByParentRepositoryId(long parentId)
parentId - Copyright © 2019 Atlassian Software Systems Pty Ltd. All rights reserved.