public class ReportObligationRepository extends Object
Modifier and Type | Class and Description |
---|---|
private static class |
ReportObligationRepository.InstanceHolder |
Modifier and Type | Field and Description |
---|---|
private Map<ReportObligationType,ReportObligation> |
obligations |
private ReadWriteLock |
obligationsLock |
private RelatedParty |
reportingAuthority |
private ReadWriteLock |
reportingAuthorityLock |
private ReportingHeaderSQLiteManager |
sqlite |
Modifier | Constructor and Description |
---|---|
private |
ReportObligationRepository() |
Modifier and Type | Method and Description |
---|---|
private RelatedParty |
_getReportingAuthority() |
private ReportObligation |
_getReportObligation(ReportObligationType type) |
private void |
_saveReportingAuthority(RelatedParty relatedParty) |
private void |
_saveReportObligation(ReportObligationType type,
ReportObligation obligation) |
EReportingHeader |
createHeader(ReportObligationType flow) |
static ReportObligationRepository |
getInstance() |
RelatedParty |
getReportingAuthority() |
ReportObligation |
getReportObligation(ReportObligationType type) |
void |
saveReportingAuthority(RelatedParty relatedParty) |
void |
saveReportObligation(ReportObligationType type,
ReportObligation obligation) |
private final ReadWriteLock reportingAuthorityLock
private final ReadWriteLock obligationsLock
private RelatedParty reportingAuthority
private final Map<ReportObligationType,ReportObligation> obligations
private final ReportingHeaderSQLiteManager sqlite
public RelatedParty getReportingAuthority()
public ReportObligation getReportObligation(ReportObligationType type)
public void saveReportingAuthority(RelatedParty relatedParty)
public void saveReportObligation(ReportObligationType type, ReportObligation obligation)
public EReportingHeader createHeader(ReportObligationType flow) throws CodedException
CodedException
private void _saveReportingAuthority(RelatedParty relatedParty)
private RelatedParty _getReportingAuthority()
private void _saveReportObligation(ReportObligationType type, ReportObligation obligation)
private ReportObligation _getReportObligation(ReportObligationType type)
public static ReportObligationRepository getInstance()
Copyright © 2012-2015 52north.org. All Rights Reserved.