com.atlassian.bamboo.plan.artifact
Interface ConsumedSubscriptionDao

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

public interface ConsumedSubscriptionDao
extends BambooObjectDao<ConsumedSubscription>


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

Method Detail

findAll

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

Returns:
Collection of all artifact subscriptions

findConsumedSubscriptionsByResultSummary

@NotNull
java.util.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 © 2011 Atlassian. All Rights Reserved.