Class AccountingDaoImpl
java.lang.Object
org.gcube.accounting.accounting.summary.access.impl.AccountingDaoImpl
- All Implemented Interfaces:
AccountingDao
-
Constructor Summary
ConstructorsConstructorDescriptionAccountingDaoImpl(ContextTreeProvider treeProvider, ConnectionManager connectionManager) -
Method Summary
Modifier and TypeMethodDescriptiongetReportByScope(ScopeDescriptor desc, Instant from, Instant to, MeasureResolution resolution) insertRecords(AccountingRecord... toInsert) voidsetTreeProvider(ContextTreeProvider treeProvider)
-
Constructor Details
-
AccountingDaoImpl
public AccountingDaoImpl() -
AccountingDaoImpl
-
-
Method Details
-
setTreeProvider
-
getReportByScope
public Report getReportByScope(ScopeDescriptor desc, Instant from, Instant to, MeasureResolution resolution) throws SQLException, ParameterException - Specified by:
getReportByScopein interfaceAccountingDao- Throws:
SQLExceptionParameterException
-
getTree
- Specified by:
getTreein interfaceAccountingDao- Throws:
Exception
-
getDimensions
- Specified by:
getDimensionsin interfaceAccountingDao- Throws:
SQLException
-
getContexts
- Specified by:
getContextsin interfaceAccountingDao- Throws:
SQLException
-
insertRecords
- Specified by:
insertRecordsin interfaceAccountingDao- Throws:
SQLException
-