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

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

public interface BundleSqlDao
extends EntitySqlDao<SubscriptionBundleModelDao,SubscriptionBaseBundle>


Method Summary
 List<SubscriptionBundleModelDao> getBundleFromAccount(String accountId, InternalTenantContext context)
           
 SubscriptionBundleModelDao getBundleFromAccountAndKey(String accountId, String externalKey, InternalTenantContext context)
           
 List<SubscriptionBundleModelDao> getBundlesForKey(String externalKey, InternalTenantContext context)
           
 void updateBundleLastSysTime(String id, Date lastSysUpdate, 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

updateBundleLastSysTime

void updateBundleLastSysTime(String id,
                             Date lastSysUpdate,
                             InternalCallContext context)

getBundleFromAccountAndKey

SubscriptionBundleModelDao getBundleFromAccountAndKey(String accountId,
                                                      String externalKey,
                                                      InternalTenantContext context)

getBundleFromAccount

List<SubscriptionBundleModelDao> getBundleFromAccount(String accountId,
                                                      InternalTenantContext context)

getBundlesForKey

List<SubscriptionBundleModelDao> getBundlesForKey(String externalKey,
                                                  InternalTenantContext context)


Copyright © 2010-2013. All Rights Reserved.