|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.springframework.dao.support.DaoSupport org.springframework.orm.hibernate.support.HibernateDaoSupport com.atlassian.hibernate.HibernateObjectDao com.atlassian.bamboo.persistence.BambooHibernateObjectDao com.atlassian.bamboo.build.PlanDependencyHibernateDao
public class PlanDependencyHibernateDao
Field Summary |
---|
Fields inherited from class org.springframework.dao.support.DaoSupport |
---|
logger |
Constructor Summary | |
---|---|
PlanDependencyHibernateDao()
|
Method Summary | |
---|---|
java.util.Collection<PlanDependency> |
findAllDependencies()
|
java.util.Collection<PlanDependency> |
getChildNonEditableDependencies(Plan plan)
|
java.util.Collection<PlanDependency> |
getChildPlanDependencies(Plan plan)
Retrievs all plan dependencies in which the given plan features as a parent |
java.util.Collection<PlanDependency> |
getParentNonEditableDependencies(Plan plan)
|
java.util.Collection<PlanDependency> |
getParentPlanDependencies(Plan plan)
Retrievs all plan dependencies in which the given plan features as a child |
java.lang.Class |
getPersistentClass()
|
void |
removeDependenciesForPlan(Plan plan)
Deletes any existing dependency featuring the given plan. |
Methods inherited from class com.atlassian.bamboo.persistence.BambooHibernateObjectDao |
---|
executeCountQuery, executeReturnLong, findById, findById |
Methods inherited from class com.atlassian.hibernate.HibernateObjectDao |
---|
findAll, findAllSorted, findNamedQuery, findNamedQuery, findNamedQuery, findNamedQueryStringParam, findNamedQueryStringParam, findNamedQueryStringParam, findNamedQueryStringParams, findNamedQueryStringParams, findNamedQueryStringParams, findNamedQueryStringParams, findNamedQueryStringParams, findNamedQueryStringParams, findNamedQueryStringParams, findNamedQueryStringParams, findNamedQueryStringParams, findSingleObject, getByClassId, index, refresh, reIndex, remove, replicate, save, saveRaw, setIndexer, unIndex, updateModificationData |
Methods inherited from class org.springframework.orm.hibernate.support.HibernateDaoSupport |
---|
checkDaoConfig, convertHibernateAccessException, createHibernateTemplate, getHibernateTemplate, getSession, getSession, getSessionFactory, releaseSession, setHibernateTemplate, setSessionFactory |
Methods inherited from class org.springframework.dao.support.DaoSupport |
---|
afterPropertiesSet, initDao |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface com.atlassian.bamboo.persistence.BambooObjectDao |
---|
findById |
Methods inherited from interface bucket.core.persistence.ObjectDao |
---|
findAll, findAllSorted, refresh, remove, replicate, save, saveRaw |
Constructor Detail |
---|
public PlanDependencyHibernateDao()
Method Detail |
---|
public java.lang.Class getPersistentClass()
getPersistentClass
in interface bucket.core.persistence.ObjectDao
@NotNull public java.util.Collection<PlanDependency> findAllDependencies()
findAllDependencies
in interface PlanDependencyDao
@NotNull public java.util.Collection<PlanDependency> getChildPlanDependencies(@NotNull Plan plan)
PlanDependencyDao
getChildPlanDependencies
in interface PlanDependencyDao
plan
- - the parent
@NotNull public java.util.Collection<PlanDependency> getParentPlanDependencies(@NotNull Plan plan)
PlanDependencyDao
getParentPlanDependencies
in interface PlanDependencyDao
plan
- - the child
@Nullable public java.util.Collection<PlanDependency> getChildNonEditableDependencies(@NotNull Plan plan)
getChildNonEditableDependencies
in interface PlanDependencyDao
plan
- to find children of
@Nullable public java.util.Collection<PlanDependency> getParentNonEditableDependencies(@NotNull Plan plan)
getParentNonEditableDependencies
in interface PlanDependencyDao
plan
- to find parents of
public void removeDependenciesForPlan(@NotNull Plan plan)
PlanDependencyDao
removeDependenciesForPlan
in interface PlanDependencyDao
plan
- to be removed
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |