org.gcube.application.framework.search.library.impl
Class ResultSetConsumer
java.lang.Object
org.gcube.application.framework.search.library.impl.ResultSetConsumer
- All Implemented Interfaces:
- ResultSetConsumerI
public class ResultSetConsumer
- extends Object
- implements ResultSetConsumerI
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SMid
protected static AtomicInteger SMid
ResultSetConsumer
public ResultSetConsumer(String RSLocator,
String searchType)
throws URISyntaxException,
gRS2CreationException
- Throws:
URISyntaxException
gRS2CreationException
removeSessionVariables
public static void removeSessionVariables(org.gcube.application.framework.core.session.ASLSession session)
- Parameters:
session - the D4Science session to be used in order to remove the attributes
getFirst
public List<org.gcube.application.framework.contentmanagement.content.impl.DigitalObject> getFirst(int n,
DisableButtons dis,
org.gcube.application.framework.core.session.ASLSession session)
throws gRS2NoRecordReadWithinTimeIntervalException,
gRS2RecordDefinitionException,
gRS2ReaderException,
gRS2AvailableRecordsRetrievalException,
InitialBridgingNotCompleteException,
InternalErrorException
- Specified by:
getFirst in interface ResultSetConsumerI
- Returns:
-
- Throws:
gRS2NoRecordReadWithinTimeIntervalException
gRS2RecordDefinitionException
gRS2ReaderException
gRS2AvailableRecordsRetrievalException
InitialBridgingNotCompleteException
InternalErrorException
getNext
public List<org.gcube.application.framework.contentmanagement.content.impl.DigitalObject> getNext(int n,
DisableButtons dis,
org.gcube.application.framework.core.session.ASLSession session)
throws gRS2NoRecordReadWithinTimeIntervalException,
gRS2RecordDefinitionException,
gRS2ReaderException,
gRS2AvailableRecordsRetrievalException,
InitialBridgingNotCompleteException,
InternalErrorException
- Specified by:
getNext in interface ResultSetConsumerI
- Returns:
-
- Throws:
gRS2NoRecordReadWithinTimeIntervalException
gRS2RecordDefinitionException
gRS2ReaderException
gRS2AvailableRecordsRetrievalException
InitialBridgingNotCompleteException
InternalErrorException
getPrevious
public List<org.gcube.application.framework.contentmanagement.content.impl.DigitalObject> getPrevious(int n,
DisableButtons dis,
org.gcube.application.framework.core.session.ASLSession session)
throws gRS2NoRecordReadWithinTimeIntervalException,
gRS2RecordDefinitionException,
gRS2ReaderException,
gRS2AvailableRecordsRetrievalException,
InitialBridgingNotCompleteException,
InternalErrorException
- Specified by:
getPrevious in interface ResultSetConsumerI
- Returns:
-
- Throws:
gRS2NoRecordReadWithinTimeIntervalException
gRS2RecordDefinitionException
gRS2ReaderException
gRS2AvailableRecordsRetrievalException
InitialBridgingNotCompleteException
InternalErrorException
getResultsToText
public List<String> getResultsToText(int n,
int offset,
org.gcube.application.framework.core.session.ASLSession session)
throws gRS2ReaderException,
gRS2RecordDefinitionException,
gRS2BufferException
- Specified by:
getResultsToText in interface ResultSetConsumerI
- Returns:
-
- Throws:
gRS2ReaderException
gRS2RecordDefinitionException
gRS2BufferException
setOnlyPresentables
public void setOnlyPresentables()
- Specified by:
setOnlyPresentables in interface ResultSetConsumerI
setWindowSize
public void setWindowSize(int windowSize)
throws gr.uoa.di.madgik.grs.reader.GRS2ReaderInvalidArgumentException
- Specified by:
setWindowSize in interface ResultSetConsumerI
- Throws:
gr.uoa.di.madgik.grs.reader.GRS2ReaderInvalidArgumentException
getAllResultIds
public ArrayList<org.gcube.application.framework.contentmanagement.content.impl.DigitalObject> getAllResultIds(org.gcube.application.framework.core.session.ASLSession session)
- Specified by:
getAllResultIds in interface ResultSetConsumerI
setGenericSearchType
public void setGenericSearchType(String gst)
- Specified by:
setGenericSearchType in interface ResultSetConsumerI
getNumOfResultsRead
public int getNumOfResultsRead()
- Specified by:
getNumOfResultsRead in interface ResultSetConsumerI
getTotalRead
public boolean getTotalRead()
- Specified by:
getTotalRead in interface ResultSetConsumerI
Copyright © 2013. All Rights Reserved.