Interface ConsumedSubscriptionDao
- All Superinterfaces:
BambooObjectDao<ConsumedSubscription>
- All Known Implementing Classes:
ConsumedSubscriptionHibernateDao
-
Method Summary
Modifier and TypeMethodDescription@NotNull Collection<? extends ConsumedSubscription>
findAll()
Find all artifact subscriptions@NotNull List<ConsumedSubscription>
findConsumedSubscriptionsByResultSummary
(@NotNull ResultsSummary resultsSummary) Get list of artifact subscriptions associated with a planlong
scrollConsumedSubscriptionsForExport
(@NotNull Consumer<ConsumedSubscription> consumer) Scroll through all ConsumedSubscription records and pass them to consumerMethods inherited from interface com.atlassian.bamboo.persistence3.BambooObjectDao
countAll, countWithRestriction, delete, deleteAll, findAll, findById, merge, save, saveAll
-
Method Details
-
findAll
Find all artifact subscriptions- Returns:
- Collection of all artifact subscriptions
-
findConsumedSubscriptionsByResultSummary
@NotNull @NotNull List<ConsumedSubscription> findConsumedSubscriptionsByResultSummary(@NotNull @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
-
scrollConsumedSubscriptionsForExport
long scrollConsumedSubscriptionsForExport(@NotNull @NotNull Consumer<ConsumedSubscription> consumer) Scroll through all ConsumedSubscription records and pass them to consumer
-