|
||||||||||
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.bamboo.persistence3.BambooHibernateObjectDao<ArtifactSubscription> com.atlassian.bamboo.plan.artifact.ArtifactSubscriptionHibernateDao
public class ArtifactSubscriptionHibernateDao
Field Summary |
---|
Fields inherited from class org.springframework.dao.support.DaoSupport |
---|
logger |
Constructor Summary | |
---|---|
ArtifactSubscriptionHibernateDao()
|
Method Summary | |
---|---|
java.util.Collection<? extends ArtifactSubscription> |
findAll()
Find all artifact subscriptions |
java.util.List<ArtifactSubscription> |
findArtifactSubscriptionOfPlan(Plan plan)
Get list of artifact subscriptions associated with a plan |
int |
removeArtifactSubscriptionsByPlan(Plan plan)
Remove all artifact subscriptions associated with a plan. |
Methods inherited from class com.atlassian.bamboo.persistence3.BambooHibernateObjectDao |
---|
delete, deleteAll, executeReturnLong, findAll, findById, save, saveAll |
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.persistence3.BambooObjectDao |
---|
delete, deleteAll, executeReturnLong, findAll, findById, save, saveAll |
Constructor Detail |
---|
public ArtifactSubscriptionHibernateDao()
Method Detail |
---|
@NotNull public java.util.Collection<? extends ArtifactSubscription> findAll()
ArtifactSubscriptionDao
findAll
in interface ArtifactSubscriptionDao
@NotNull public java.util.List<ArtifactSubscription> findArtifactSubscriptionOfPlan(@NotNull Plan plan)
ArtifactSubscriptionDao
findArtifactSubscriptionOfPlan
in interface ArtifactSubscriptionDao
plan
- plan which associated artifact definitions should be retrieved
public int removeArtifactSubscriptionsByPlan(@NotNull Plan plan)
ArtifactSubscriptionDao
removeArtifactSubscriptionsByPlan
in interface ArtifactSubscriptionDao
plan
- plan which associated artifact subscriptions should be removed
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |