public class ExportDataServiceImpl extends Object implements ExportDataService
Modifier and Type | Method and Description |
---|---|
Object[] |
getExportDataByBibIds(List<String> bibIds,
OLEBatchProcessProfileBo profile)
Pubic method that retrieves the list of bib / instance records for the given profile an additional task this method
does is to prepare solr query to get the solr doc list
|
Object[] |
getExportDataBySolr(List<org.apache.solr.common.SolrDocument> solrDocumentList,
OLEBatchProcessProfileBo profile)
public method to retrieves the list of bib / instance records for the given profile
Returns object array - array size is 4
Following positions of the array has the details of the data it contains
0 - has the count of bib records
1 - List with xml data of the bib records , if the export type is marc xml the list will have only one item will
all the bib records in a single String object, if the export type is marc the list will have each record as an item
2 - Errors generated
3 - Error count
|
static ExportDataService |
getInstance() |
public static ExportDataService getInstance()
public Object[] getExportDataBySolr(List<org.apache.solr.common.SolrDocument> solrDocumentList, OLEBatchProcessProfileBo profile) throws Exception
getExportDataBySolr
in interface ExportDataService
solrDocumentList
- profile
- Exception
public Object[] getExportDataByBibIds(List<String> bibIds, OLEBatchProcessProfileBo profile) throws Exception
getExportDataByBibIds
in interface ExportDataService
bibIds
- profile
- Exception
Copyright © 2004-2013 The Kuali Foundation. All Rights Reserved.