Methods
| Modifier and Type |
Method and Description |
protected List<BlockingCalculator.DisabledDuration> |
createBlockingDurations(Iterable<BlockingState> overdueBundleEvents) |
protected Hashtable<UUID,List<SubscriptionBase>> |
createBundleSubscriptionMap(SortedSet<BillingEvent> billingEvents) |
protected BillingEvent |
createNewDisableEvent(org.joda.time.DateTime odEventTime,
BillingEvent previousEvent,
Catalog catalog,
InternalTenantContext context) |
protected SortedSet<BillingEvent> |
createNewEvents(List<BlockingCalculator.DisabledDuration> disabledDuration,
SortedSet<BillingEvent> billingEvents,
SubscriptionBase subscription,
InternalTenantContext context) |
protected BillingEvent |
createNewReenableEvent(org.joda.time.DateTime odEventTime,
BillingEvent previousEvent,
Catalog catalog,
InternalTenantContext context) |
protected SortedSet<BillingEvent> |
eventsToRemove(List<BlockingCalculator.DisabledDuration> disabledDuration,
SortedSet<BillingEvent> billingEvents,
SubscriptionBase subscription) |
protected SortedSet<BillingEvent> |
filter(SortedSet<BillingEvent> billingEvents,
SubscriptionBase subscription) |
boolean |
insertBlockingEvents(SortedSet<BillingEvent> billingEvents,
Set<UUID> skippedSubscriptions,
InternalTenantContext context)
Given a set of billing events, add corresponding blocking (overdue) billing events.
|
protected BillingEvent |
precedingBillingEventForSubscription(org.joda.time.DateTime datetime,
SortedSet<BillingEvent> billingEvents,
SubscriptionBase subscription) |