atg.search.routing.command.search
Class ViewedDocument

java.lang.Object
  extended by atg.search.routing.command.SearchXMLObject
      extended by atg.search.routing.command.search.Document
          extended by atg.search.routing.command.search.ViewedDocument
All Implemented Interfaces:
java.io.Serializable

public class ViewedDocument
extends Document

A viewed document, returned by ViewDocumentRequest.

See Also:
Serialized Form

Field Summary
static java.lang.String CLASS_VERSION
          Class version string
 
Constructor Summary
ViewedDocument()
           
 
Method Summary
 int getAnswerGroup()
          Returns the answer group id of the document
 java.lang.String getSortProp()
          Returns the value of the grouping property
 void setAnswerGroup(int answerGroup)
          Sets answer group id of the document
 void setSortProp(java.lang.String sortProp)
          Sets the value of the grouping property
 
Methods inherited from class atg.search.routing.command.search.Document
equals, getAddress, getAttributeXML, getBodyXML, getContentId, getContextInfo, getDocset, getEscapedUrl, getFileName, getGoto, getGotoLink, getHdoc, getLanguage, getPaAnswerText, getPaQuestionText, getProperties, getRelatedDocsets, getRequestTag, getSizeBytes, getSummary, getTimestamp, getTitle, getType, getUrl, isListPropertiesAllowed, setAddress, setContentId, setContextInfo, setDocset, setFileName, setGoto, setHdoc, setLanguage, setListPropertiesAllowed, setPaAnswerText, setPaQuestionText, setProperties, setRelatedDocsets, setSizeBytes, setSummary, setTimestamp, setTitle, setType, setUrl
 
Methods inherited from class atg.search.routing.command.SearchXMLObject
appendComplexXml, appendOptionalAttr, appendOptionalElem, appendOptionalElem, appendOptionalElem, appendRequiredAttr, appendRequiredElem, appendRequiredElem, appendRequiredValue, getAllAttributeXML, getAllBodyXML, getDefaultXmlBytes, getParentXMLObject, getXmlPath, setParentXMLObject, toString, toXML, toXML
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

CLASS_VERSION

public static java.lang.String CLASS_VERSION
Class version string

Constructor Detail

ViewedDocument

public ViewedDocument()
Method Detail

getAnswerGroup

public int getAnswerGroup()
Returns the answer group id of the document

Returns:
answer group id of the document

setAnswerGroup

public void setAnswerGroup(int answerGroup)
Sets answer group id of the document

Parameters:
answerGroup - answer group id of the document

getSortProp

public java.lang.String getSortProp()
Returns the value of the grouping property

Returns:
The value of the grouping property

setSortProp

public void setSortProp(java.lang.String sortProp)
Sets the value of the grouping property

Parameters:
sortProp - The value of the grouping property