| Constructor and Description |
|---|
MybatisUsageDao(org.apache.ibatis.session.SqlSessionFactory sessions) |
| Modifier and Type | Method and Description |
|---|---|
List<Usage> |
getUsage(Sid accountSid) |
List<Usage> |
getUsageAllTime(Sid accountSid,
Usage.Category category,
org.joda.time.DateTime startDate,
org.joda.time.DateTime endDate) |
List<Usage> |
getUsageDaily(Sid accountSid,
Usage.Category category,
org.joda.time.DateTime startDate,
org.joda.time.DateTime endDate) |
List<Usage> |
getUsageMonthly(Sid accountSid,
Usage.Category category,
org.joda.time.DateTime startDate,
org.joda.time.DateTime endDate) |
List<Usage> |
getUsageYearly(Sid accountSid,
Usage.Category category,
org.joda.time.DateTime startDate,
org.joda.time.DateTime endDate) |
public MybatisUsageDao(org.apache.ibatis.session.SqlSessionFactory sessions)
public List<Usage> getUsageDaily(Sid accountSid, Usage.Category category, org.joda.time.DateTime startDate, org.joda.time.DateTime endDate)
getUsageDaily in interface UsageDaopublic List<Usage> getUsageMonthly(Sid accountSid, Usage.Category category, org.joda.time.DateTime startDate, org.joda.time.DateTime endDate)
getUsageMonthly in interface UsageDaopublic List<Usage> getUsageYearly(Sid accountSid, Usage.Category category, org.joda.time.DateTime startDate, org.joda.time.DateTime endDate)
getUsageYearly in interface UsageDaopublic List<Usage> getUsageAllTime(Sid accountSid, Usage.Category category, org.joda.time.DateTime startDate, org.joda.time.DateTime endDate)
getUsageAllTime in interface UsageDaoCopyright © 2017. All Rights Reserved.