org.kuali.ole.serviceimpl
Class OleSRUDataServiceImpl

java.lang.Object
  extended by org.kuali.ole.serviceimpl.OleSRUDataServiceImpl
All Implemented Interfaces:
OleSRUDataService

public class OleSRUDataServiceImpl
extends Object
implements OleSRUDataService

Created with IntelliJ IDEA. User: ? Date: 7/9/12 Time: 7:41 PM To change this template use File | Settings | File Templates.


Field Summary
 OleDiagnosticsService oleDiagnosticsService
           
 SRUCQLQueryService srucqlQueryService
           
 
Constructor Summary
OleSRUDataServiceImpl()
           
 
Method Summary
 List generateBibIDList(List<OleDocument> oleDocumentsList)
          this will generate the list of document from docstore
 String getBibliographicRecordInfo(String uuid)
          this method will do checkout operation of docstore which gives the bib info details
 List getBibRecordsIdList(Map reqParamMap, String solrQuery)
          this method will fetch the bib id list from the docstore
 String getExtraReqDataInfo(Map reqParamMap)
           
 List<OleSRUCirculationDocument> getOleSRUCirculationDocument()
           
 List<OleSRUInstanceDocument> getOleSRUInstanceDocument()
           
 List<OleSRUInstanceVolume> getOleSRUInstanceVolumes()
           
 String getOPACXMLSearchRetrieveResponse(List oleBibIDList, Map reqParamMap)
          this method will fetch the bib details , holding details from the docstore data base , creates an object for bib and holdings , and generates OPAC xml
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

srucqlQueryService

public SRUCQLQueryService srucqlQueryService

oleDiagnosticsService

public OleDiagnosticsService oleDiagnosticsService
Constructor Detail

OleSRUDataServiceImpl

public OleSRUDataServiceImpl()
Method Detail

getBibRecordsIdList

public List getBibRecordsIdList(Map reqParamMap,
                                String solrQuery)
this method will fetch the bib id list from the docstore

Specified by:
getBibRecordsIdList in interface OleSRUDataService
Parameters:
reqParamMap -
solrQuery -
Returns:
list of bib id

getOPACXMLSearchRetrieveResponse

public String getOPACXMLSearchRetrieveResponse(List oleBibIDList,
                                               Map reqParamMap)
this method will fetch the bib details , holding details from the docstore data base , creates an object for bib and holdings , and generates OPAC xml

Specified by:
getOPACXMLSearchRetrieveResponse in interface OleSRUDataService
Parameters:
oleBibIDList -
reqParamMap -
Returns:
opac xml or diagnostics or oleSRUResponseDocuments as a string depends upon the record packing

generateBibIDList

public List generateBibIDList(List<OleDocument> oleDocumentsList)
this will generate the list of document from docstore

Parameters:
oleDocumentsList - (list of OleDocument)
Returns:
bib id list

getBibliographicRecordInfo

public String getBibliographicRecordInfo(String uuid)
this method will do checkout operation of docstore which gives the bib info details

Parameters:
uuid -
Returns:
bib info xml as a string

getOleSRUInstanceDocument

public List<OleSRUInstanceDocument> getOleSRUInstanceDocument()

getOleSRUCirculationDocument

public List<OleSRUCirculationDocument> getOleSRUCirculationDocument()

getOleSRUInstanceVolumes

public List<OleSRUInstanceVolume> getOleSRUInstanceVolumes()

getExtraReqDataInfo

public String getExtraReqDataInfo(Map reqParamMap)


Copyright © 2004-2012 The Kuali Foundation. All Rights Reserved.