anl.aida.client.doc
Class DefaultDocumentsModel

java.lang.Object
  extended by anl.aida.client.doc.AbstractDocumentsModel
      extended by anl.aida.client.doc.DefaultDocumentsModel
All Implemented Interfaces:
DocumentsModel

public class DefaultDocumentsModel
extends AbstractDocumentsModel

Model class for the DocumentsView.


Nested Class Summary
(package private)  class DefaultDocumentsModel.DocIterator
           
(package private)  class DefaultDocumentsModel.DocSetsImpl
           
 
Field Summary
private  int offset
           
 
Fields inherited from class anl.aida.client.doc.AbstractDocumentsModel
center, element, id, keyGen, range
 
Fields inherited from interface anl.aida.client.doc.DocumentsModel
NO_ID
 
Constructor Summary
DefaultDocumentsModel(DocSetID id, CacheElement element)
           
 
Method Summary
 DocSets createDocumentSets(int setSize)
          Creates a DocSets with each set of the specified size.
 org.apache.lucene.search.Filter getSearchFilter()
          Returns a date range filter that filters out anything greater than associated CacheElements timestamp.
 
Methods inherited from class anl.aida.client.doc.AbstractDocumentsModel
getDescription, getID, getKeywords, setDescription
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

offset

private int offset
Constructor Detail

DefaultDocumentsModel

public DefaultDocumentsModel(DocSetID id,
                             CacheElement element)
Method Detail

createDocumentSets

public DocSets createDocumentSets(int setSize)
Creates a DocSets with each set of the specified size.

Parameters:
setSize - the set size.
Returns:
the created DocSets.

getSearchFilter

public org.apache.lucene.search.Filter getSearchFilter()
Returns a date range filter that filters out anything greater than associated CacheElements timestamp.

Returns:
a date range filter that filters out anything greater than associated CacheElements timestamp.