public class MemoryDataSummaryDao extends Object implements DataSummaryDao
Constructor and Description |
---|
MemoryDataSummaryDao()
The constructor.
|
Modifier and Type | Method and Description |
---|---|
void |
addDataSummary(DataSummary dataSummary) |
void |
addLogSummary(DataSummary dataSummary) |
void |
clear() |
void |
deleteDataSummary(DataID id) |
DataSummary[] |
getAllDataSummaries() |
DataSummary |
getDataSummary(DataID id) |
public void addDataSummary(DataSummary dataSummary) throws DataSummaryAlreadyExistsException
addDataSummary
in interface DataSummaryDao
DataSummaryAlreadyExistsException
public void addLogSummary(DataSummary dataSummary)
addLogSummary
in interface DataSummaryDao
public void deleteDataSummary(DataID id) throws DataSummaryNotFoundException
deleteDataSummary
in interface DataSummaryDao
DataSummaryNotFoundException
public DataSummary[] getAllDataSummaries()
getAllDataSummaries
in interface DataSummaryDao
public DataSummary getDataSummary(DataID id) throws DataSummaryNotFoundException
getDataSummary
in interface DataSummaryDao
DataSummaryNotFoundException
public void clear()
clear
in interface DataSummaryDao