Interface AccountingDao
-
- All Known Implementing Classes:
AccountingDaoImpl
public interface AccountingDao
-
-
Method Summary
All Methods Static Methods Instance Methods Abstract Methods Modifier and Type Method Description static AccountingDaoget()static AccountingDaoget(ContextTreeProvider provider)Set<ScopeDescriptor>getContexts()Set<Dimension>getDimensions()ReportgetReportByScope(ScopeDescriptor desc, Instant from, Instant to, MeasureResolution resolution)ScopeDescriptorgetTree(Object request)UpdateReportinsertRecords(AccountingRecord... toInsert)
-
-
-
Method Detail
-
get
static AccountingDao get()
-
get
static AccountingDao get(ContextTreeProvider provider)
-
getTree
ScopeDescriptor getTree(Object request) throws ParameterException, Exception
- Throws:
ParameterExceptionException
-
getReportByScope
Report getReportByScope(ScopeDescriptor desc, Instant from, Instant to, MeasureResolution resolution) throws ParameterException, SQLException
- Throws:
ParameterExceptionSQLException
-
getDimensions
Set<Dimension> getDimensions() throws SQLException
- Throws:
SQLException
-
getContexts
Set<ScopeDescriptor> getContexts() throws SQLException
- Throws:
SQLException
-
insertRecords
UpdateReport insertRecords(AccountingRecord... toInsert) throws SQLException
- Throws:
SQLException
-
-