if (subscriptions != null) {
Iterator si = subscriptions.iterator();
while (si.hasNext()) {
GenericValue subscription = (GenericValue) si.next();
Timestamp thruDate = subscription.getTimestamp("thruDate");
if (thruDate == null || thruDate.after(now)) {
subscription.set("thruDate", now);
try {
delegator.store(subscription);
} catch (GenericEntityException e) {
Debug.logError(e, module);