|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface PlanRepositoryLinkDao
Method Summary | |
---|---|
void |
detachAllRepositoriesFromPlan(ImmutablePlan plan)
Remove all PlanRepositoryLink defined for the . |
java.util.List<PlanIdentifier> |
getIdentifiersOfPlansUsingRepository(long repositoryId)
Get identifiers of Plans referencing a repository. |
PlanRepositoryLink |
getPlanRepositoryLink(PlanIdentifier plan,
long repositoryId)
|
java.util.List<PlanRepositoryLink> |
getPlanRepositoryLinks(ImmutablePlan plan)
|
java.util.List<PlanRepositoryLink> |
getPlansUsingRepository(long repositoryId)
|
void |
removeRepositoryFromPlan(PlanRepositoryLink planRepository)
Remove single PlanRepositoryLink . |
Methods inherited from interface com.atlassian.bamboo.persistence3.BambooObjectDao |
---|
delete, deleteAll, executeReturnLong, findAll, findById, save, saveAll |
Method Detail |
---|
@NotNull java.util.List<PlanRepositoryLink> getPlanRepositoryLinks(@NotNull ImmutablePlan plan)
plan
-
Plan
sorted by PlanRepositoryLink.getPosition()
@Nullable PlanRepositoryLink getPlanRepositoryLink(@NotNull PlanIdentifier plan, long repositoryId)
plan
- repositoryId
-
void detachAllRepositoriesFromPlan(@NotNull ImmutablePlan plan)
PlanRepositoryLink
defined for the . Does not delete RepositoryDataEntity
objects.
plan
- void removeRepositoryFromPlan(@NotNull PlanRepositoryLink planRepository)
PlanRepositoryLink
. Does not delete RepositoryDataEntity
planRepository
- java.util.List<PlanRepositoryLink> getPlansUsingRepository(long repositoryId)
repositoryId
-
Plan
that reference a Source Repositoryjava.util.List<PlanIdentifier> getIdentifiersOfPlansUsingRepository(long repositoryId)
repositoryId
-
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |