public void logPubItemExport( PubItemVO pubItem, String ip, String userAgent, String sessionId, boolean loggedIn, String referer, ExportFormatVO exportFormat) throws Exception { List<StatisticReportRecordParamVO> paramList = new ArrayList<StatisticReportRecordParamVO>(); StatisticReportRecordParamVO exportFormatParam = new StatisticReportRecordParamVO(); exportFormatParam.setName("exportFormat"); exportFormatParam.setParamValue( new StatisticReportRecordStringParamValueVO(exportFormat.getName())); paramList.add(exportFormatParam); StatisticReportRecordParamVO exportFileFormatParam = new StatisticReportRecordParamVO(); exportFileFormatParam.setName("exportFileFormat"); exportFileFormatParam.setParamValue( new StatisticReportRecordStringParamValueVO( exportFormat.getSelectedFileFormat().getName())); paramList.add(exportFileFormatParam); this.logPubItemAction( pubItem, ip, userAgent, ItemAction.EXPORT, sessionId, loggedIn, referer, paramList); }
/** {@inheritDoc} */ public byte[] getOutput(String itemList, ExportFormatVO exportFormat) throws CitationStyleManagerException { logger.debug( "CitationStyleHandlerBean getOutput with citationStyle: " + exportFormat.getName()); return cse.getOutput(itemList, exportFormat); }