public class ReportingHeaderSQLiteManager extends Object implements Cleanupable
Modifier and Type | Class and Description |
---|---|
private static class |
ReportingHeaderSQLiteManager.LoadJSONFragmentAction<T> |
private static class |
ReportingHeaderSQLiteManager.LoadReportingAuthorityAction |
private static class |
ReportingHeaderSQLiteManager.SaveAction |
Modifier and Type | Field and Description |
---|---|
private SQLiteManager |
manager |
protected static String |
REPORT_OBLIGATION_KEY_PREFIX |
protected static String |
REPORTING_AUTHORITY_KEY |
Constructor and Description |
---|
ReportingHeaderSQLiteManager() |
Modifier and Type | Method and Description |
---|---|
void |
cleanup() |
RelatedParty |
loadRelatedParty() |
ReportObligation |
loadReportObligation(ReportObligationType type) |
void |
save(RelatedParty relatedParty) |
void |
save(ReportObligationType type,
ReportObligation reportObligation) |
private void |
save(String key,
Object o) |
protected static final String REPORTING_AUTHORITY_KEY
protected static final String REPORT_OBLIGATION_KEY_PREFIX
private final SQLiteManager manager
public void cleanup()
cleanup
in interface Cleanupable
public void save(RelatedParty relatedParty)
public void save(ReportObligationType type, ReportObligation reportObligation)
public RelatedParty loadRelatedParty()
public ReportObligation loadReportObligation(ReportObligationType type)
private void save(String key, Object o) throws ConnectionProviderException
ConnectionProviderException
Copyright © 2012-2015 52north.org. All Rights Reserved.