public class ArtifactSubscriptionHibernateDao extends BambooHibernateObjectDao<ArtifactSubscription> implements ArtifactSubscriptionDao
Constructor and Description |
---|
ArtifactSubscriptionHibernateDao() |
Modifier and Type | Method and Description |
---|---|
Collection<? extends ArtifactSubscription> |
findAll()
Find all artifact subscriptions
|
List<ArtifactSubscription> |
findArtifactSubscriptionOfPlan(PlanIdentifier plan)
Get list of artifact subscriptions associated with a plan
|
countAll, countWithRestriction, delete, deleteAll, execute, executeCountQuery, executeReturnInt, executeReturnLong, findAll, findById, save, saveAll
getCacheAwareHibernateTemplate
checkDaoConfig, convertHibernateAccessException, createHibernateTemplate, getHibernateTemplate, getSession, getSession, getSessionFactory, releaseSession, setHibernateTemplate, setSessionFactory
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
countAll, countWithRestriction, delete, deleteAll, executeReturnInt, executeReturnLong, findAll, findById, save, saveAll
@NotNull public Collection<? extends ArtifactSubscription> findAll()
ArtifactSubscriptionDao
findAll
in interface ArtifactSubscriptionDao
@NotNull public List<ArtifactSubscription> findArtifactSubscriptionOfPlan(@NotNull PlanIdentifier plan)
ArtifactSubscriptionDao
findArtifactSubscriptionOfPlan
in interface ArtifactSubscriptionDao
plan
- plan which associated artifact definitions should be retrievedCopyright © 2016 Atlassian Software Systems Pty Ltd. All rights reserved.