org.kuali.ole.editor.service
Class DiscoveryHelperService

java.lang.Object
  extended by org.kuali.ole.editor.service.DiscoveryHelperService

public class DiscoveryHelperService
extends Object

DiscoveryHelperService is the service class to access Discovery services


Constructor Summary
DiscoveryHelperService()
           
 
Method Summary
 List getBibInformationFromBibId(String bibUUID)
          Returns the List of BibInformation records based on the BibUUID.
 List getBibInformationFromInsatnceId(String instanceUUID)
          Returns the List of BibInformation records based on the instanceUUID.
 List getResponseFromSOLR(String queryField, String value)
          Returns the Response List based on the queryField and Value from the SolrRequestReponseHandler class.
 SolrRequestReponseHandler getSolrRequestReponseHandler()
          Returns the new instance of SolrRequestReponseHandler provided there should not be any existing instance,Otherwise returns existing instance.
 void setSolrRequestReponseHandler(SolrRequestReponseHandler solrRequestReponseHandler)
          Sets the SolrRequestReponseHandler attribute value.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DiscoveryHelperService

public DiscoveryHelperService()
Method Detail

getResponseFromSOLR

public List getResponseFromSOLR(String queryField,
                                String value)
Returns the Response List based on the queryField and Value from the SolrRequestReponseHandler class.

Parameters:
queryField -
value -
Returns:
Returns the Response.

getBibInformationFromInsatnceId

public List getBibInformationFromInsatnceId(String instanceUUID)
Returns the List of BibInformation records based on the instanceUUID.

Parameters:
instanceUUID -
Returns:
Returns BibInformation

getBibInformationFromBibId

public List getBibInformationFromBibId(String bibUUID)
Returns the List of BibInformation records based on the BibUUID.

Parameters:
bibUUID -
Returns:
Returns BibInformation

getSolrRequestReponseHandler

public SolrRequestReponseHandler getSolrRequestReponseHandler()
Returns the new instance of SolrRequestReponseHandler provided there should not be any existing instance,Otherwise returns existing instance.

Returns:
Returns the SolrRequestReponseHandler

setSolrRequestReponseHandler

public void setSolrRequestReponseHandler(SolrRequestReponseHandler solrRequestReponseHandler)
Sets the SolrRequestReponseHandler attribute value.

Parameters:
solrRequestReponseHandler -


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