|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object atg.search.routing.command.SearchXMLObject atg.search.routing.command.SearchEngineCommandResponse atg.search.routing.command.search.SearchResponse atg.search.routing.command.search.CategorizeRequest.Response
public static class CategorizeRequest.Response
Response type for CategorizeRequest
Field Summary | |
---|---|
static java.lang.String |
CLASS_VERSION
Class version string |
Fields inherited from class atg.search.routing.command.search.SearchResponse |
---|
mMultiPartitionSearch |
Constructor Summary | |
---|---|
CategorizeRequest.Response(CategorizeRequest pRequest,
java.util.List<SearchResponse> pParsedResponses)
This Java Merge instead of the engine's merge. |
|
CategorizeRequest.Response(atg.search.routing.command.SearchEngineResponse response)
|
Method Summary | |
---|---|
void |
addCategorization(Categorization categorization)
Adds a categorization to the result list |
boolean |
equals(java.lang.Object pObj)
|
protected void |
getAttributeXML(java.lang.StringBuilder buf)
|
protected void |
getBodyXML(java.lang.StringBuilder sb)
|
java.util.List<Categorization> |
getCategorizations()
Returns the list of Categorization s |
java.lang.String |
getContentId()
Returns content ID of partition that produced the response. |
DocumentSetConstraint |
getDocumentSets()
Returns the input document set constraints |
java.lang.String |
getInput()
Returns the input |
java.lang.String |
getMode()
Returns the input mode |
ParserOptions |
getParserOptions()
Returns the input parser options |
DocumentSetConstraint |
getRefineConstraints()
Returns the echoed refine constraints |
protected void |
merge(SearchRequest pSearchRequest,
java.util.List<SearchResponse> pParsedResponses)
This is Java merge. |
void |
setCategorizations(java.util.List<Categorization> categorizations)
Sets the list of Categorization s |
void |
setContentId(java.lang.String pContentId)
Sets content ID of partition that produced the response. |
void |
setDocumentSets(DocumentSetConstraint documentSets)
Sets the input document set constraints |
void |
setInput(java.lang.String input)
Sets input |
void |
setMode(java.lang.String mode)
Sets the input mode |
void |
setParserOptions(ParserOptions parserOptions)
Sets parser options |
void |
setRefineConstraints(DocumentSetConstraint pRefineConstraints)
Sets the echoed refine constraints |
Methods inherited from class atg.search.routing.command.SearchEngineCommandResponse |
---|
getNextResponse, getNonSAXParser, getRequestTag, getSearchEngineResponse, parseResponse, setNextResponse, setSearchEngineResponse |
Methods inherited from class atg.search.routing.command.SearchXMLObject |
---|
appendComplexXml, appendOptionalAttr, appendOptionalElem, appendOptionalElem, appendOptionalElem, appendOptionalValue, appendRequiredAttr, appendRequiredElem, appendRequiredElem, appendRequiredValue, getAllAttributeXML, getAllBodyXML, getDefaultXmlBytes, getParentXMLObject, getXmlPath, isPrintedFirstChild, setParentXMLObject, setPrintedFirstChild, toXML, toXML |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public static final java.lang.String CLASS_VERSION
Constructor Detail |
---|
public CategorizeRequest.Response(CategorizeRequest pRequest, java.util.List<SearchResponse> pParsedResponses) throws atg.search.routing.MergeException
merge(SearchRequest, java.util.List)
.
pRequest
- original requestpParsedResponses
- parsed responses
atg.search.routing.MergeException
public CategorizeRequest.Response(atg.search.routing.command.SearchEngineResponse response)
Method Detail |
---|
public boolean equals(java.lang.Object pObj)
equals
in class java.lang.Object
protected void getAttributeXML(java.lang.StringBuilder buf) throws atg.search.routing.command.IncompleteCommandException
getAttributeXML
in class atg.search.routing.command.SearchXMLObject
atg.search.routing.command.IncompleteCommandException
protected void getBodyXML(java.lang.StringBuilder sb) throws atg.search.routing.command.IncompleteCommandException
getBodyXML
in class atg.search.routing.command.SearchXMLObject
atg.search.routing.command.IncompleteCommandException
protected void merge(SearchRequest pSearchRequest, java.util.List<SearchResponse> pParsedResponses) throws atg.search.routing.MergeException
merge
in class SearchResponse
pSearchRequest
- the original requestpParsedResponses
- pre-parsed responses
atg.search.routing.MergeException
- if the merge failspublic java.lang.String getMode()
public void setMode(java.lang.String mode)
mode
- input modepublic java.lang.String getContentId()
getContentId
in class SearchResponse
public void setContentId(java.lang.String pContentId)
pContentId
- content ID of partition that produced the response.public java.lang.String getInput()
public void setInput(java.lang.String input)
input
- public java.util.List<Categorization> getCategorizations()
Categorization
s
Categorization
public void setCategorizations(java.util.List<Categorization> categorizations)
Categorization
s
categorizations
- public void addCategorization(Categorization categorization)
categorization
- public DocumentSetConstraint getDocumentSets()
public void setDocumentSets(DocumentSetConstraint documentSets)
documentSets
- public DocumentSetConstraint getRefineConstraints()
public void setRefineConstraints(DocumentSetConstraint pRefineConstraints)
pRefineConstraints
- the echoed refine constraintspublic ParserOptions getParserOptions()
public void setParserOptions(ParserOptions parserOptions)
parserOptions
-
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |