it.sistematica.isharedoc.service
Class SearchService.Results

java.lang.Object
  extended by it.sistematica.isharedoc.service.SearchService.Results
Enclosing interface:
SearchService

public static class SearchService.Results
extends java.lang.Object

The Class Results.


Constructor Summary
SearchService.Results(java.util.List<java.lang.String> ids, int total)
          Instantiates a new results.
 
Method Summary
 java.util.Map<java.lang.String,java.lang.String> getFields(java.lang.String id)
          Gets the fields.
 java.util.List<java.lang.String> getIds()
          Gets the ids.
 int getTotalHits()
          Gets the total hits.
 void putFields(java.lang.String id, java.util.Map<java.lang.String,java.lang.String> fields)
          Put fields.
 void setIds(java.util.List<java.lang.String> ids)
          Sets the ids.
 void setTotalHits(int totalHits)
          Sets the total hits.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SearchService.Results

public SearchService.Results(java.util.List<java.lang.String> ids,
                             int total)
Instantiates a new results.

Parameters:
ids - the ids
total - the total
Method Detail

getIds

public java.util.List<java.lang.String> getIds()
Gets the ids.

Returns:
the ids

setIds

public void setIds(java.util.List<java.lang.String> ids)
Sets the ids.

Parameters:
ids - the new ids

getTotalHits

public int getTotalHits()
Gets the total hits.

Returns:
the total hits

setTotalHits

public void setTotalHits(int totalHits)
Sets the total hits.

Parameters:
totalHits - the new total hits

getFields

public java.util.Map<java.lang.String,java.lang.String> getFields(java.lang.String id)
Gets the fields.

Parameters:
id - the id
Returns:
the fields

putFields

public void putFields(java.lang.String id,
                      java.util.Map<java.lang.String,java.lang.String> fields)
Put fields.

Parameters:
id - the id
fields - the fields