atg.search.routing.command.search
Class ProcessedResponse

java.lang.Object
  extended by atg.search.routing.command.search.ProcessedResponse

public class ProcessedResponse
extends java.lang.Object

A processed response from a single partition. This is accessible through getProcessedPartitionResponses on the Response when keepingResponseData is true on the request.

See Also:
QueryRequest.Response.getProcessedPartitionResponses()

Field Summary
static java.lang.String CLASS_VERSION
          Class version string
 
Constructor Summary
ProcessedResponse()
           
 
Method Summary
 java.lang.String getContentId()
          The content id of the partition that produced the response
 int getGroupCount()
          Returns the group count
 java.util.List<ProcessedSearchResult> getProcessedResults()
          Returns a list of process results, which might be empty, but never null
 atg.search.routing.command.SearchEngineResponse getSearchEngineResponse()
          Returns the original engine response
 void setContentId(java.lang.String pContentId)
          Sets the content id of the partition that produced the response
 void setGroupCount(int pGroupCount)
          Sets the group count
 void setProcessedResults(java.util.List<ProcessedSearchResult> pProcessedResults)
          Sets list of process results, which might be empty, but should never null
 void setSearchEngineResponse(atg.search.routing.command.SearchEngineResponse pSearchEngineResponse)
          Sets the original engine response
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

CLASS_VERSION

public static final java.lang.String CLASS_VERSION
Class version string

See Also:
Constant Field Values
Constructor Detail

ProcessedResponse

public ProcessedResponse()
Method Detail

getContentId

public java.lang.String getContentId()
The content id of the partition that produced the response

Returns:
content id of the partition that produced the response

setContentId

public void setContentId(java.lang.String pContentId)
Sets the content id of the partition that produced the response

Parameters:
pContentId - Sets the content id of the partition that produced the response

getSearchEngineResponse

public atg.search.routing.command.SearchEngineResponse getSearchEngineResponse()
Returns the original engine response

Returns:
the original engine response

setSearchEngineResponse

public void setSearchEngineResponse(atg.search.routing.command.SearchEngineResponse pSearchEngineResponse)
Sets the original engine response

Parameters:
pSearchEngineResponse - the original engine response

getGroupCount

public int getGroupCount()
Returns the group count

Returns:
the group count

setGroupCount

public void setGroupCount(int pGroupCount)
Sets the group count

Parameters:
pGroupCount - the group count

getProcessedResults

public java.util.List<ProcessedSearchResult> getProcessedResults()
Returns a list of process results, which might be empty, but never null

Returns:
list of process results, which might be empty, but never null

setProcessedResults

public void setProcessedResults(java.util.List<ProcessedSearchResult> pProcessedResults)
Sets list of process results, which might be empty, but should never null

Parameters:
pProcessedResults - list of processed results