public class PlanDependencyHibernateDao extends BambooHibernateObjectDao implements PlanDependencyDao
Constructor and Description |
---|
PlanDependencyHibernateDao() |
Modifier and Type | Method and Description |
---|---|
Collection<PlanDependency> |
findAllDependencies() |
Collection<PlanDependency> |
getChildNonEditableDependencies(PlanIdentifier plan) |
Collection<PlanDependency> |
getChildPlanDependencies(PlanIdentifier plan)
Retrievs all plan dependencies in which the given plan features as a parent
|
Collection<PlanDependency> |
getParentNonEditableDependencies(PlanIdentifier plan) |
Collection<PlanDependency> |
getParentPlanDependencies(PlanIdentifier plan)
Retrievs all plan dependencies in which the given plan features as a child
|
Class |
getPersistentClass() |
void |
removeDependenciesForPlan(PlanIdentifier plan)
Deletes any existing dependency featuring the given plan.
|
findAll, findAllSorted, findById, findById, refresh, remove, replicate, save, saveRaw, setIndexer, 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 Collection<PlanDependency> findAllDependencies()
findAllDependencies
in interface PlanDependencyDao
@NotNull public Collection<PlanDependency> getChildPlanDependencies(@NotNull PlanIdentifier plan)
PlanDependencyDao
getChildPlanDependencies
in interface PlanDependencyDao
plan
- - the parent@NotNull public Collection<PlanDependency> getParentPlanDependencies(@NotNull PlanIdentifier plan)
PlanDependencyDao
getParentPlanDependencies
in interface PlanDependencyDao
plan
- - the child@Nullable public Collection<PlanDependency> getChildNonEditableDependencies(@NotNull PlanIdentifier plan)
getChildNonEditableDependencies
in interface PlanDependencyDao
plan
- to find children of@Nullable public Collection<PlanDependency> getParentNonEditableDependencies(@NotNull PlanIdentifier plan)
getParentNonEditableDependencies
in interface PlanDependencyDao
plan
- to find parents ofpublic void removeDependenciesForPlan(@NotNull PlanIdentifier plan)
PlanDependencyDao
removeDependenciesForPlan
in interface PlanDependencyDao
plan
- to be removedCopyright © 2020 Atlassian Software Systems Pty Ltd. All rights reserved.