public class PlanDependencyHibernateDao extends BambooHibernateObjectDao implements PlanDependencyDao
Constructor and Description |
---|
PlanDependencyHibernateDao() |
Modifier and Type | Method and Description |
---|---|
@NotNull Collection<PlanDependency> |
findAllDependencies() |
@Nullable Collection<PlanDependency> |
getChildNonEditableDependencies(@NotNull PlanIdentifier plan) |
@NotNull Collection<PlanDependency> |
getChildPlanDependencies(@NotNull PlanIdentifier plan)
Retrievs all plan dependencies in which the given plan features as a parent
|
@Nullable Collection<PlanDependency> |
getParentNonEditableDependencies(@NotNull PlanIdentifier plan) |
@NotNull Collection<PlanDependency> |
getParentPlanDependencies(@NotNull PlanIdentifier plan)
Retrievs all plan dependencies in which the given plan features as a child
|
Class |
getPersistentClass() |
void |
removeDependenciesForPlan(@NotNull PlanIdentifier plan)
Deletes any existing dependency featuring the given plan.
|
findAll, findAllSorted, findById, findById, refresh, remove, replicate, save, saveRaw, updateModificationData
checkDaoConfig, createHibernateTemplate, currentSession, getHibernateTemplate, getSessionFactory, setHibernateTemplate, setSessionFactory
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
findById
public Class getPersistentClass()
getPersistentClass
in interface bucket.core.persistence.ObjectDao
@NotNull public @NotNull Collection<PlanDependency> findAllDependencies()
findAllDependencies
in interface PlanDependencyDao
@NotNull public @NotNull Collection<PlanDependency> getChildPlanDependencies(@NotNull @NotNull PlanIdentifier plan)
PlanDependencyDao
getChildPlanDependencies
in interface PlanDependencyDao
plan
- - the parent@NotNull public @NotNull Collection<PlanDependency> getParentPlanDependencies(@NotNull @NotNull PlanIdentifier plan)
PlanDependencyDao
getParentPlanDependencies
in interface PlanDependencyDao
plan
- - the child@Nullable public @Nullable Collection<PlanDependency> getChildNonEditableDependencies(@NotNull @NotNull PlanIdentifier plan)
getChildNonEditableDependencies
in interface PlanDependencyDao
plan
- to find children of@Nullable public @Nullable Collection<PlanDependency> getParentNonEditableDependencies(@NotNull @NotNull PlanIdentifier plan)
getParentNonEditableDependencies
in interface PlanDependencyDao
plan
- to find parents ofpublic void removeDependenciesForPlan(@NotNull @NotNull PlanIdentifier plan)
PlanDependencyDao
removeDependenciesForPlan
in interface PlanDependencyDao
plan
- to be removedCopyright © 2022 Atlassian Software Systems Pty Ltd. All rights reserved.
View cookie preferences