proai.service
Class RecordListProvider

java.lang.Object
  extended by proai.service.RecordListProvider
All Implemented Interfaces:
ListProvider<CachedContent>

public class RecordListProvider
extends java.lang.Object
implements ListProvider<CachedContent>


Constructor Summary
RecordListProvider(RecordCache cache, int incompleteListSize, boolean identifiers, java.util.Date from, java.util.Date until, java.lang.String prefix, java.lang.String set)
           
 
Method Summary
 int getIncompleteListSize()
           
 CloseableIterator<CachedContent> getList()
           
 CloseableIterator<java.lang.String[]> getPathList()
           
 RecordCache getRecordCache()
           
 java.lang.String getVerb()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RecordListProvider

public RecordListProvider(RecordCache cache,
                          int incompleteListSize,
                          boolean identifiers,
                          java.util.Date from,
                          java.util.Date until,
                          java.lang.String prefix,
                          java.lang.String set)
Method Detail

getList

public CloseableIterator<CachedContent> getList()
                                         throws CannotDisseminateFormatException,
                                                NoRecordsMatchException,
                                                NoSetHierarchyException,
                                                ServerException
Specified by:
getList in interface ListProvider<CachedContent>
Throws:
CannotDisseminateFormatException
NoRecordsMatchException
NoSetHierarchyException
ServerException

getPathList

public CloseableIterator<java.lang.String[]> getPathList()
                                                  throws CannotDisseminateFormatException,
                                                         NoRecordsMatchException,
                                                         NoSetHierarchyException,
                                                         ServerException
Specified by:
getPathList in interface ListProvider<CachedContent>
Throws:
CannotDisseminateFormatException
NoRecordsMatchException
NoSetHierarchyException
ServerException

getRecordCache

public RecordCache getRecordCache()
Specified by:
getRecordCache in interface ListProvider<CachedContent>

getIncompleteListSize

public int getIncompleteListSize()
Specified by:
getIncompleteListSize in interface ListProvider<CachedContent>

getVerb

public java.lang.String getVerb()
Specified by:
getVerb in interface ListProvider<CachedContent>