net.firstpartners.rp.back.search
Class ResultPages

java.lang.Object
  extended by net.firstpartners.rp.back.search.ResultPages
All Implemented Interfaces:
ISearchResult

public class ResultPages
extends java.lang.Object
implements ISearchResult

Result Page content upon a search operation

Version:
1.1
Author:
Firstpartners.net

Field Summary
private  int countErrors
          DOCUMENT ME!
private  int countFound
          DOCUMENT ME!
private  java.util.LinkedList searchDocList
          DOCUMENT ME!
 
Constructor Summary
ResultPages(java.util.LinkedList list, int countFound, int countErrors)
          Creates a new ResultPages object.
 
Method Summary
 int getCountErrors()
          Get the number of the errors encounter by reading from index
 int getCountFound()
          Get the number of the documents found it
 java.util.LinkedList getDocuments()
          Get the list of the documents
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

countFound

private int countFound
DOCUMENT ME!


countErrors

private int countErrors
DOCUMENT ME!


searchDocList

private java.util.LinkedList searchDocList
DOCUMENT ME!

Constructor Detail

ResultPages

public ResultPages(java.util.LinkedList list,
                   int countFound,
                   int countErrors)
Creates a new ResultPages object.

Parameters:
list - List of the documents found it
countFound - Number of the documents found it in the index
countErrors - Number of the errors at reading from index
Method Detail

getDocuments

public java.util.LinkedList getDocuments()
Get the list of the documents

Specified by:
getDocuments in interface ISearchResult
Returns:
List of the documents

getCountFound

public int getCountFound()
Get the number of the documents found it

Specified by:
getCountFound in interface ISearchResult
Returns:
Number of document found it

getCountErrors

public int getCountErrors()
Get the number of the errors encounter by reading from index

Specified by:
getCountErrors in interface ISearchResult
Returns:
Number of errors encounter by reading from index