Class AccountLedgerPendingSnapshotService
java.lang.Object
com.bluebell.greenhouse.radicle.services.account.AccountLedgerPendingSnapshotService
@Service
@Transactional(readOnly=true)
public class AccountLedgerPendingSnapshotService
extends Object
Computes on-demand snapshots of realized partial-close results that have not yet entered the
durable account ledger.
- Version:
- 3.0.1
- Author:
- Stephen Prizio
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetPendingSnapshots(Account account, List<AccountLedgerSnapshotBoundaryDTO> boundaries) Resolves pending partial-close snapshots for the requested chronological boundaries.
-
Constructor Details
-
AccountLedgerPendingSnapshotService
public AccountLedgerPendingSnapshotService()
-
-
Method Details
-
getPendingSnapshots
public Map<AccountLedgerSnapshotBoundaryDTO, AccountLedgerPendingSnapshotDTO> getPendingSnapshots(Account account, List<AccountLedgerSnapshotBoundaryDTO> boundaries) Resolves pending partial-close snapshots for the requested chronological boundaries.- Parameters:
account- account that owns the positionsboundaries- requested snapshot boundaries- Returns:
- snapshot by boundary
-