public class ResultSetConsumer extends Object implements ResultSetConsumerI
| Modifier and Type | Field and Description |
|---|---|
protected static AtomicInteger |
SMid |
| Constructor and Description |
|---|
ResultSetConsumer(String RSLocator,
String searchType) |
| Modifier and Type | Method and Description |
|---|---|
ArrayList<org.gcube.application.framework.contentmanagement.content.impl.DigitalObject> |
getAllResultIds(org.gcube.application.framework.core.session.ASLSession session) |
List<org.gcube.application.framework.contentmanagement.content.impl.DigitalObject> |
getFirst(int n,
DisableButtons dis,
org.gcube.application.framework.core.session.ASLSession session) |
List<org.gcube.application.framework.contentmanagement.content.impl.DigitalObject> |
getNext(int n,
DisableButtons dis,
org.gcube.application.framework.core.session.ASLSession session) |
int |
getNumOfResultsRead() |
List<org.gcube.application.framework.contentmanagement.content.impl.DigitalObject> |
getPrevious(int n,
DisableButtons dis,
org.gcube.application.framework.core.session.ASLSession session) |
List<String> |
getResultsToText(int n,
int offset,
org.gcube.application.framework.core.session.ASLSession session) |
boolean |
getTotalRead() |
static void |
removeSessionVariables(org.gcube.application.framework.core.session.ASLSession session) |
void |
setGenericSearchType(String gst) |
void |
setOnlyPresentables() |
void |
setWindowSize(int windowSize) |
protected static AtomicInteger SMid
public ResultSetConsumer(String RSLocator, String searchType) throws URISyntaxException, gRS2CreationException
public static void removeSessionVariables(org.gcube.application.framework.core.session.ASLSession session)
session - the D4Science session to be used in order to remove the attributespublic 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
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
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
public List<String> getResultsToText(int n, int offset, org.gcube.application.framework.core.session.ASLSession session) throws gRS2ReaderException, gRS2RecordDefinitionException, gRS2BufferException
getResultsToText in interface ResultSetConsumerIgRS2ReaderExceptiongRS2RecordDefinitionExceptiongRS2BufferExceptionpublic void setOnlyPresentables()
setOnlyPresentables in interface ResultSetConsumerIpublic void setWindowSize(int windowSize)
throws gr.uoa.di.madgik.grs.reader.GRS2ReaderInvalidArgumentException
setWindowSize in interface ResultSetConsumerIgr.uoa.di.madgik.grs.reader.GRS2ReaderInvalidArgumentExceptionpublic ArrayList<org.gcube.application.framework.contentmanagement.content.impl.DigitalObject> getAllResultIds(org.gcube.application.framework.core.session.ASLSession session)
getAllResultIds in interface ResultSetConsumerIpublic void setGenericSearchType(String gst)
setGenericSearchType in interface ResultSetConsumerIpublic int getNumOfResultsRead()
getNumOfResultsRead in interface ResultSetConsumerIpublic boolean getTotalRead()
getTotalRead in interface ResultSetConsumerICopyright © 2013. All Rights Reserved.