public class BatchProcessBibImportServiceImpl extends Object implements BatchProcessBibImportService
| Constructor and Description |
|---|
BatchProcessBibImportServiceImpl() |
| Modifier and Type | Method and Description |
|---|---|
Bib |
buildBibRequest(BibMarcRecord bibRecord,
String uuid)
This method performs to build the request document by using bib record and uuid information
|
Bib |
buildBibRequest(String bibXML,
String uuid) |
void |
deleteFields(BibMarcRecord bibRecord,
OLEBatchProcessProfileBo oleBatchProcessProfileBo)
Deleted the bib record fields based on oleBatchProcessProfileBo profile
|
Bib |
findMatchingBibRecord(BibMarcRecord bibRecord,
OLEBatchProcessProfileBo oleBatchProcessProfileBo,
List<BibMarcRecord> failureRecordsList)
Finds matching bib record in the database based on the match points given in the profile.
|
org.kuali.rice.krad.service.BusinessObjectService |
getBusinessObjectService() |
DocstoreClientLocator |
getDocstoreClientLocator() |
ControlField |
getMatchedControlField(BibMarcRecord bibMarcRecord,
String tag)
return the match control field from bib record based on tag value
|
OLEBatchProcessDataHelper |
getOleBatchProcessDataHelper() |
OLEEResourceHelperService |
getOleeResourceHelperService() |
String |
getUuid(BibMarcRecord bibRecord)
this method performs the fetch the uuid value from BibliographicRecord
|
BibMarcRecord |
overlayFields(BibMarcRecord inComingRecord,
BibMarcRecord matchedRecord,
OLEBatchProcessProfileBo processProfile)
Overlays in the existing bib record with the incoming bib record except protected fields.
|
Bib |
performProcessBib(BibMarcRecord bibRecord,
OLEBatchProcessProfileBo oleBatchProcessProfileBo,
String staffOnly)
Process bib according to the selected profile by deleting fields, renaming fields, setting default values, sets Bib status and staff only flag and creates request document.
|
String |
preProcessMarc(String marcFileContent)
Creates XML content based on the Incoming Marc Records.
|
void |
process001(BibMarcRecord bibMarcRecord,
OLEBatchProcessProfileBo oleBatchProcessProfileBo)
Treats 001 Datafield in the bib record based on the profile.
|
void |
renameFields(BibMarcRecord targetRecord,
OLEBatchProcessProfileBo oleBatchProcessProfileBo)
Performs the rename the bib data fields according to rename data fileds in profile
|
List<BibMarcRecord> |
saveBatch(List<BibMarcRecord> bibMarcRecords,
OLEBatchBibImportDataObjects oleBatchBibImportDataObjects,
OLEBatchBibImportStatistics oleBatchbibImportStatistics) |
List<OrderBibMarcRecord> |
saveOderBatch(List<OrderBibMarcRecord> orderBibMarcRecords,
OLEBatchBibImportDataObjects oleBatchBibImportDataObjects,
OLEBatchBibImportStatistics bibImportStatistics) |
void |
setBibStatus(Bib requestBib,
OLEBatchProcessProfileBo oleBatchProcessProfileBo,
String uuid)
This method peforms to set the bib status based on overlay or new add record according to OLEBatchProcessProfileBo profile
|
void |
setDefaultOrConstants(BibMarcRecord targetRecord,
OLEBatchProcessProfileBo oleBatchProcessProfileBo)
performs to set default or constant values to bib record
|
public BatchProcessBibImportServiceImpl()
public DocstoreClientLocator getDocstoreClientLocator()
public OLEEResourceHelperService getOleeResourceHelperService()
public Bib performProcessBib(BibMarcRecord bibRecord, OLEBatchProcessProfileBo oleBatchProcessProfileBo, String staffOnly) throws Exception
performProcessBib in interface BatchProcessBibImportServicebibRecord - oleBatchProcessProfileBo - Exceptionpublic Bib findMatchingBibRecord(BibMarcRecord bibRecord, OLEBatchProcessProfileBo oleBatchProcessProfileBo, List<BibMarcRecord> failureRecordsList) throws Exception
findMatchingBibRecord in interface BatchProcessBibImportServicebibRecord - oleBatchProcessProfileBo - Exceptionpublic String preProcessMarc(String marcFileContent) throws Exception
preProcessMarc in interface BatchProcessBibImportServicemarcFileContent - Exceptionpublic void deleteFields(BibMarcRecord bibRecord, OLEBatchProcessProfileBo oleBatchProcessProfileBo)
bibRecord - oleBatchProcessProfileBo - public void renameFields(BibMarcRecord targetRecord, OLEBatchProcessProfileBo oleBatchProcessProfileBo)
targetRecord - oleBatchProcessProfileBo - public Bib buildBibRequest(BibMarcRecord bibRecord, String uuid)
bibRecord - uuid - public Bib buildBibRequest(String bibXML, String uuid)
public void setBibStatus(Bib requestBib, OLEBatchProcessProfileBo oleBatchProcessProfileBo, String uuid)
requestBib - oleBatchProcessProfileBo - uuid - public String getUuid(BibMarcRecord bibRecord)
bibRecord - public void setDefaultOrConstants(BibMarcRecord targetRecord, OLEBatchProcessProfileBo oleBatchProcessProfileBo)
targetRecord - oleBatchProcessProfileBo - public void process001(BibMarcRecord bibMarcRecord, OLEBatchProcessProfileBo oleBatchProcessProfileBo)
process001 in interface BatchProcessBibImportServicebibMarcRecord - oleBatchProcessProfileBo - public ControlField getMatchedControlField(BibMarcRecord bibMarcRecord, String tag)
bibMarcRecord - tag - public BibMarcRecord overlayFields(BibMarcRecord inComingRecord, BibMarcRecord matchedRecord, OLEBatchProcessProfileBo processProfile)
overlayFields in interface BatchProcessBibImportServicematchedRecord - inComingRecord - processProfile - public List<BibMarcRecord> saveBatch(List<BibMarcRecord> bibMarcRecords, OLEBatchBibImportDataObjects oleBatchBibImportDataObjects, OLEBatchBibImportStatistics oleBatchbibImportStatistics)
saveBatch in interface BatchProcessBibImportServicepublic List<OrderBibMarcRecord> saveOderBatch(List<OrderBibMarcRecord> orderBibMarcRecords, OLEBatchBibImportDataObjects oleBatchBibImportDataObjects, OLEBatchBibImportStatistics bibImportStatistics)
saveOderBatch in interface BatchProcessBibImportServicepublic OLEBatchProcessDataHelper getOleBatchProcessDataHelper()
public org.kuali.rice.krad.service.BusinessObjectService getBusinessObjectService()
Copyright © 2004–2015 The Kuali Foundation. All rights reserved.