private static List < String [ ] > exportQueryPageCommentsAsCsv ( ReplierExportStrategy replierExportStrategy , List < QueryReply > replies , PanelStamp stamp , QueryPage queryPage ) { QueryPageHandler queryPageHandler = QueryPageHandlerFactory . getInstance ( ) . buildPageHandler ( queryPage . getPageType ( ) ) ; if ( queryPageHandler != null ) { ReportPageCommentProcessor processor = queryPageHandler . exportComments ( queryPage , stamp , replies ) ; if ( processor != null ) { return exportQueryPageCommentsAsCsv ( replierExportStrategy , queryPage , processor ) ; } } return Collections . emptyList ( ) ; }
Exports single query page into CSV rows