Skip to content

Commit

Permalink
analytics: rename BusinessOverdueStatusRecorder -> BusinessOverdueSta…
Browse files Browse the repository at this point in the history
…tusDao

Follow conventions.

Signed-off-by: Pierre-Alexandre Meyer <pierre@ning.com>
  • Loading branch information
Pierre-Alexandre Meyer committed Oct 9, 2012
1 parent a8376c9 commit b71322c
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 8 deletions.
Expand Up @@ -51,7 +51,7 @@ public class AnalyticsListener {
private final BusinessSubscriptionTransitionRecorder bstRecorder;
private final BusinessAccountDao bacDao;
private final BusinessInvoiceDao invoiceDao;
private final BusinessOverdueStatusRecorder bosRecorder;
private final BusinessOverdueStatusDao bosDao;
private final BusinessInvoicePaymentDao bipDao;
private final BusinessTagRecorder tagRecorder;
private final InternalCallContextFactory internalCallContextFactory;
Expand All @@ -60,14 +60,14 @@ public class AnalyticsListener {
public AnalyticsListener(final BusinessSubscriptionTransitionRecorder bstRecorder,
final BusinessAccountDao bacDao,
final BusinessInvoiceDao invoiceDao,
final BusinessOverdueStatusRecorder bosRecorder,
final BusinessOverdueStatusDao bosDao,
final BusinessInvoicePaymentDao bipDao,
final BusinessTagRecorder tagRecorder,
final InternalCallContextFactory internalCallContextFactory) {
this.bstRecorder = bstRecorder;
this.bacDao = bacDao;
this.invoiceDao = invoiceDao;
this.bosRecorder = bosRecorder;
this.bosDao = bosDao;
this.bipDao = bipDao;
this.tagRecorder = tagRecorder;
this.internalCallContextFactory = internalCallContextFactory;
Expand Down Expand Up @@ -144,7 +144,7 @@ public void handlePaymentError(final PaymentErrorEvent paymentError) {

@Subscribe
public void handleOverdueChange(final OverdueChangeEvent changeEvent) {
bosRecorder.overdueStatusChanged(changeEvent.getOverdueObjectType(), changeEvent.getOverdueObjectId(), createCallContext(changeEvent));
bosDao.overdueStatusChanged(changeEvent.getOverdueObjectType(), changeEvent.getOverdueObjectId(), createCallContext(changeEvent));
}

@Subscribe
Expand Down
Expand Up @@ -43,18 +43,18 @@
import com.google.common.collect.ImmutableList;
import com.google.common.collect.Lists;

public class BusinessOverdueStatusRecorder {
public class BusinessOverdueStatusDao {

private static final Logger log = LoggerFactory.getLogger(BusinessOverdueStatusRecorder.class);
private static final Logger log = LoggerFactory.getLogger(BusinessOverdueStatusDao.class);

private final BusinessOverdueStatusSqlDao overdueStatusSqlDao;
private final AccountUserApi accountApi;
private final EntitlementUserApi entitlementApi;
private final BlockingApi blockingApi;

@Inject
public BusinessOverdueStatusRecorder(final BusinessOverdueStatusSqlDao overdueStatusSqlDao, final AccountUserApi accountApi,
final EntitlementUserApi entitlementApi, final BlockingApi blockingApi) {
public BusinessOverdueStatusDao(final BusinessOverdueStatusSqlDao overdueStatusSqlDao, final AccountUserApi accountApi,
final EntitlementUserApi entitlementApi, final BlockingApi blockingApi) {
this.overdueStatusSqlDao = overdueStatusSqlDao;
this.accountApi = accountApi;
this.entitlementApi = entitlementApi;
Expand Down

0 comments on commit b71322c

Please sign in to comment.