com.atlassian.bamboo.plan.artifact
Interface ConsumedSubscriptionDao

All Superinterfaces:
BambooObjectDao<ConsumedSubscription>
All Known Implementing Classes:
ConsumedSubscriptionHibernateDao

public interface ConsumedSubscriptionDao
extends BambooObjectDao<ConsumedSubscription>


Method Summary
 Collection<? extends ConsumedSubscription> findAll()
          Find all artifact subscriptions
 List<ConsumedSubscription> findConsumedSubscriptionsByResultSummary(ResultsSummary resultsSummary)
          Get list of artifact subscriptions associated with a plan
 
Methods inherited from interface com.atlassian.bamboo.persistence3.BambooObjectDao
countAll, countWithRestriction, delete, deleteAll, executeReturnInt, executeReturnLong, findAll, findById, save, saveAll
 

Method Detail

findAll

@NotNull
Collection<? extends ConsumedSubscription> findAll()
Find all artifact subscriptions

Returns:
Collection of all artifact subscriptions

findConsumedSubscriptionsByResultSummary

@NotNull
List<ConsumedSubscription> findConsumedSubscriptionsByResultSummary(@NotNull
                                                                            ResultsSummary resultsSummary)
Get list of artifact subscriptions associated with a plan

Parameters:
resultsSummary - resultSummary which consumed artifact subscriptions should be retrieved
Returns:
list of consumed artifact subscriptions


Copyright © 2015 Atlassian Software Systems Pty Ltd. All rights reserved.