Class PositionReportingService
java.lang.Object
com.bluebell.greenhouse.sol.services.reporting.position.PositionReportingService
Service-layer for reporting about position orders.
- Version:
- 2.0.6
- Author:
- Stephen Prizio
-
Constructor Summary
ConstructorsConstructorDescriptionPositionReportingService(PositionService positionService, PositionWriter positionWriter) Creates the service. -
Method Summary
Modifier and TypeMethodDescriptiongeneratePositionCsvReport(Account account, String headerProfile) Generates a csv report for the given account's position orders.
-
Constructor Details
-
PositionReportingService
Creates the service.- Parameters:
positionService-PositionServicepositionWriter-PositionWriter
-
-
Method Details
-
generatePositionCsvReport
Generates a csv report for the given account's position orders.- Parameters:
account-AccountheaderProfile- header profile- Returns:
- report
File - Throws:
IOException- file write exception
-