public class BatchProcessBibImportServiceImpl extends Object implements BatchProcessBibImportService
| Constructor and Description |
|---|
BatchProcessBibImportServiceImpl() |
| Modifier and Type | Method and Description |
|---|---|
List<EInstance> |
createEInstanceFromBibRecord(BibliographicRecord bibRecord,
OLEBatchProcessProfileBo oleBatchProcessProfileBo) |
List<Instance> |
createInstanceFromBibRecord(BibliographicRecord bibRecord,
OLEBatchProcessProfileBo oleBatchProcessProfileBo)
Creates instance records based on the Datamapping section values in the Profile.
|
void |
deleteFields(BibliographicRecord bibRecord,
OLEBatchProcessProfileBo oleBatchProcessProfileBo)
Deleted the bib record fields based on oleBatchProcessProfileBo profile
|
Response |
deleteInstanceForBib(String id,
String docType)
deletes instance for the given bibId.
|
ResponseDocument |
findMatchingBibRecord(BibliographicRecord bibRecord,
OLEBatchProcessProfileBo oleBatchProcessProfileBo,
List<BibliographicRecord> failureRecordsList)
Finds matching bib record in the database based on the match points given in the profile.
|
Instance |
findMatchingInstanceRecord(Instance instanceRecord,
OLEBatchProcessProfileBo oleBatchProcessProfileBo)
Finds matching Instance record in the database based on the match points given in the profile.
|
org.kuali.rice.krad.service.BusinessObjectService |
getBusinessObjectService() |
DocstoreHelperService |
getDocstoreHelperService() |
OLEBatchProcessDataHelper |
getOleBatchProcessDataHelper() |
QueryService |
getQueryService() |
BibliographicRecord |
overlayFields(BibliographicRecord inComingRecord,
BibliographicRecord matchedRecord,
OLEBatchProcessProfileBo processProfile)
Overlays in the existing bib record with the incoming bib record except protected fields.
|
RequestDocument |
performProcessBib(BibliographicRecord bibRecord,
OLEBatchProcessProfileBo oleBatchProcessProfileBo,
AdditionalAttributes matchAdditionalAttributes)
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.
|
List<RequestDocument> |
performProcessEInstance(List<EInstance> instanceRecords,
OLEBatchProcessProfileBo oleBatchProcessProfileBo,
String uuid) |
List<RequestDocument> |
performProcessInstance(List<Instance> instanceRecords,
OLEBatchProcessProfileBo oleBatchProcessProfileBo,
String uuid)
Creates Instance request documents and perform staff only treatment
|
String |
preProcessMarc(String marcFileContent)
Creates XML content based on the Incoming Marc Records.
|
void |
process001(BibliographicRecord bibliographicRecord,
OLEBatchProcessProfileBo oleBatchProcessProfileBo)
Treats 001 Datafield in the bib record based on the profile.
|
List<BibliographicRecord> |
saveBatch(Map<String,List<RequestDocument>> requestDocumentMap,
List<BibliographicRecord> misMatchReclist)
Creates Bib, Linked Instance to bib and Instance to the data base and returns list of Failure BibRecords.
|
public BatchProcessBibImportServiceImpl()
public RequestDocument performProcessBib(BibliographicRecord bibRecord, OLEBatchProcessProfileBo oleBatchProcessProfileBo, AdditionalAttributes matchAdditionalAttributes) throws Exception
performProcessBib in interface BatchProcessBibImportServicebibRecord - oleBatchProcessProfileBo - matchAdditionalAttributes - Exceptionpublic List<RequestDocument> performProcessInstance(List<Instance> instanceRecords, OLEBatchProcessProfileBo oleBatchProcessProfileBo, String uuid) throws Exception
performProcessInstance in interface BatchProcessBibImportServiceinstanceRecords - oleBatchProcessProfileBo - uuid - Exceptionpublic ResponseDocument findMatchingBibRecord(BibliographicRecord bibRecord, OLEBatchProcessProfileBo oleBatchProcessProfileBo, List<BibliographicRecord> failureRecordsList) throws Exception
findMatchingBibRecord in interface BatchProcessBibImportServicebibRecord - oleBatchProcessProfileBo - Exceptionpublic Instance findMatchingInstanceRecord(Instance instanceRecord, OLEBatchProcessProfileBo oleBatchProcessProfileBo) throws Exception
findMatchingInstanceRecord in interface BatchProcessBibImportServiceinstanceRecord - oleBatchProcessProfileBo - Exceptionpublic List<BibliographicRecord> saveBatch(Map<String,List<RequestDocument>> requestDocumentMap, List<BibliographicRecord> misMatchReclist) throws Exception
saveBatch in interface BatchProcessBibImportServicerequestDocumentMap - misMatchReclist - Exceptionpublic String preProcessMarc(String marcFileContent) throws Exception
preProcessMarc in interface BatchProcessBibImportServicemarcFileContent - Exceptionpublic void deleteFields(BibliographicRecord bibRecord, OLEBatchProcessProfileBo oleBatchProcessProfileBo)
bibRecord - oleBatchProcessProfileBo - public List<Instance> createInstanceFromBibRecord(BibliographicRecord bibRecord, OLEBatchProcessProfileBo oleBatchProcessProfileBo) throws Exception
createInstanceFromBibRecord in interface BatchProcessBibImportServicebibRecord - oleBatchProcessProfileBo - Exceptionpublic void process001(BibliographicRecord bibliographicRecord, OLEBatchProcessProfileBo oleBatchProcessProfileBo)
process001 in interface BatchProcessBibImportServicebibliographicRecord - oleBatchProcessProfileBo - public BibliographicRecord overlayFields(BibliographicRecord inComingRecord, BibliographicRecord matchedRecord, OLEBatchProcessProfileBo processProfile)
overlayFields in interface BatchProcessBibImportServicematchedRecord - inComingRecord - processProfile - public Response deleteInstanceForBib(String id, String docType) throws Exception
deleteInstanceForBib in interface BatchProcessBibImportServiceid - Exceptionpublic List<EInstance> createEInstanceFromBibRecord(BibliographicRecord bibRecord, OLEBatchProcessProfileBo oleBatchProcessProfileBo) throws Exception
createEInstanceFromBibRecord in interface BatchProcessBibImportServiceExceptionpublic List<RequestDocument> performProcessEInstance(List<EInstance> instanceRecords, OLEBatchProcessProfileBo oleBatchProcessProfileBo, String uuid) throws Exception
performProcessEInstance in interface BatchProcessBibImportServiceExceptionpublic DocstoreHelperService getDocstoreHelperService()
public OLEBatchProcessDataHelper getOleBatchProcessDataHelper()
public QueryService getQueryService()
public org.kuali.rice.krad.service.BusinessObjectService getBusinessObjectService()
Copyright © 2004-2014 The Kuali Foundation. All Rights Reserved.