com.ning.billing.subscription.engine.dao
Interface SubscriptionSqlDao

All Superinterfaces:
AuditSqlDao, org.skife.jdbi.v2.sqlobject.mixins.CloseMe, EntitySqlDao<SubscriptionModelDao,SubscriptionBase>, HistorySqlDao<SubscriptionModelDao,SubscriptionBase>, org.skife.jdbi.v2.sqlobject.mixins.Transactional<EntitySqlDao<SubscriptionModelDao,SubscriptionBase>>, org.skife.jdbi.v2.sqlobject.mixins.Transmogrifier

public interface SubscriptionSqlDao
extends EntitySqlDao<SubscriptionModelDao,SubscriptionBase>


Method Summary
 List<SubscriptionModelDao> getSubscriptionsFromBundleId(String bundleId, InternalTenantContext context)
           
 void updateActiveVersion(String id, long activeVersion, InternalCallContext context)
           
 void updateChargedThroughDate(String id, Date chargedThroughDate, InternalCallContext context)
           
 void updateForRepair(String id, long activeVersion, Date startDate, Date bundleStartDate, InternalCallContext context)
           
 
Methods inherited from interface com.ning.billing.util.entity.dao.EntitySqlDao
create, get, getByAccountRecordId, getById, getByRecordId, getRecordId, test
 
Methods inherited from interface com.ning.billing.util.dao.AuditSqlDao
getAuditLogsForTargetRecordId, getAuditLogsViaHistoryForTargetRecordId, insertAuditFromTransaction
 
Methods inherited from interface com.ning.billing.util.dao.HistorySqlDao
addHistoryFromTransaction
 
Methods inherited from interface org.skife.jdbi.v2.sqlobject.mixins.Transmogrifier
become
 
Methods inherited from interface org.skife.jdbi.v2.sqlobject.mixins.Transactional
begin, checkpoint, commit, inTransaction, inTransaction, release, rollback, rollback
 
Methods inherited from interface org.skife.jdbi.v2.sqlobject.mixins.CloseMe
close
 

Method Detail

getSubscriptionsFromBundleId

List<SubscriptionModelDao> getSubscriptionsFromBundleId(String bundleId,
                                                        InternalTenantContext context)

updateChargedThroughDate

void updateChargedThroughDate(String id,
                              Date chargedThroughDate,
                              InternalCallContext context)

updateActiveVersion

void updateActiveVersion(String id,
                         long activeVersion,
                         InternalCallContext context)

updateForRepair

void updateForRepair(String id,
                     long activeVersion,
                     Date startDate,
                     Date bundleStartDate,
                     InternalCallContext context)


Copyright © 2010-2013. All Rights Reserved.