public class ItemInspect
extends atg.search.routing.command.SearchXMLObject
implements java.io.Serializable
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
CLASS_VERSION
Class version string
|
Constructor and Description |
---|
ItemInspect() |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object pObject) |
protected static ItemInspect |
fromXmlParser(atg.search.routing.utils.SearchMessageNode xml) |
protected void |
getAttributeXML(java.lang.StringBuilder sb) |
protected void |
getBodyXML(java.lang.StringBuilder sb) |
java.util.List<java.lang.String> |
getCollections()
Returns the list of collections of an item
|
java.lang.String |
getDocset()
Returns the physical document set of item
|
atg.search.routing.command.search.DocumentFormat |
getFormat()
Returns document format of item
|
int |
getId()
Returns the item's id
|
atg.search.routing.utils.Language |
getLanguage()
Returns language of item
|
ItemTrace |
getLinkedItemTrace()
This is not part of the xml.
|
java.util.List<java.lang.String> |
getMetaIdxs()
Returns the Indexed meta properties
|
java.util.List<java.lang.String> |
getMetaSets()
Returns the list of meta-data document sets of item
|
java.util.HashMap<java.lang.String,java.util.List<ItemProperty>> |
getProperties()
Returns a Map of Lists of indexed meta properties
|
java.lang.String |
getRequestTag()
Gets the xml element tag used in the request
|
java.util.Map<java.lang.String,java.util.List<Sentence>> |
getSentenceMap()
Returns map of indexed sentences, where the map key is the sentence field
|
java.util.List<Sentence> |
getSentences()
Returns the List of indexed sentences
|
java.lang.String |
getSummary()
Returns item's summary
|
java.lang.String |
getTitle()
Returns item's title
|
java.util.List<java.lang.String> |
getTopicSets()
Returns the list of topic document sets of an item
|
java.lang.String |
getTrackId()
Returns the item's external "tracked" ID, from UI, probably the repository ID of a product or SKU
|
ItemType |
getType()
Returns item's type
|
java.lang.String |
getUrl()
Returns item's url
|
int |
hashCode() |
void |
setCollections(java.util.List<java.lang.String> pCollections)
Sets collections of an item
|
void |
setDocset(java.lang.String pDocset)
Sets physical document set of item
|
void |
setFormat(atg.search.routing.command.search.DocumentFormat pFormat)
Sets document format of item
|
void |
setId(int pId)
Sets item's id
|
void |
setLanguage(atg.search.routing.utils.Language pLanguage)
Sets language of item
|
void |
setLinkedItemTrace(ItemTrace pLinkedItemTrace)
Sets the linked item trace
|
void |
setMetaIdxs(java.util.List<java.lang.String> pMetaIdxs)
Sets Indexed meta properties
|
void |
setMetaSets(java.util.List<java.lang.String> pMetaSets)
Sets meta-data document sets of item
|
void |
setProperties(java.util.HashMap<java.lang.String,java.util.List<ItemProperty>> pProperties)
Sets Map of Lists of indexed meta properties
|
void |
setSentenceMap(java.util.Map<java.lang.String,java.util.List<Sentence>> pSentenceMap)
Sets map of indexed sentences, where the map key is the sentence field
|
void |
setSentences(java.util.List<Sentence> pSentences)
Sets List of indexed sentences
|
void |
setSummary(java.lang.String pSummary)
Sets item's summary
|
void |
setTitle(java.lang.String pTitle)
Sets item's title
|
void |
setTopicSets(java.util.List<java.lang.String> pTopicSets)
Sets topic document sets of an item
|
void |
setTrackId(java.lang.String pTrackId)
Sets the Item's external "tracked" ID, from UI, probably the repository ID of a product or SKU
|
void |
setType(ItemType pType)
Sets item's type
|
void |
setUrl(java.lang.String pUrl)
Sets item's url
|
appendComplexXml, appendOptionalAttr, appendOptionalElem, appendOptionalElem, appendOptionalElem, appendOptionalValue, appendRequiredAttr, appendRequiredElem, appendRequiredElem, appendRequiredValue, getAllAttributeXML, getAllBodyXML, getDefaultXmlBytes, getParentXMLObject, getXmlPath, isPrintedFirstChild, setParentXMLObject, setPrintedFirstChild, toString, toXML, toXML
public boolean equals(java.lang.Object pObject)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public java.util.Map<java.lang.String,java.util.List<Sentence>> getSentenceMap()
Sentence.getField()
public void setSentenceMap(java.util.Map<java.lang.String,java.util.List<Sentence>> pSentenceMap)
pSentenceMap
- map of indexed sentences, where the map key is the sentence fieldSentence.getField()
public java.util.List<Sentence> getSentences()
getSentenceMap()
public void setSentences(java.util.List<Sentence> pSentences)
pSentences
- List of indexed sentencessetSentenceMap(java.util.Map)
public ItemTrace getLinkedItemTrace()
ItemTrace.getLinkedItemInspect()
public void setLinkedItemTrace(ItemTrace pLinkedItemTrace)
pLinkedItemTrace
- public java.util.HashMap<java.lang.String,java.util.List<ItemProperty>> getProperties()
public void setProperties(java.util.HashMap<java.lang.String,java.util.List<ItemProperty>> pProperties)
pProperties
- public java.util.List<java.lang.String> getMetaIdxs()
public void setMetaIdxs(java.util.List<java.lang.String> pMetaIdxs)
pMetaIdxs
- public java.util.List<java.lang.String> getTopicSets()
public java.util.List<java.lang.String> getCollections()
public void setTopicSets(java.util.List<java.lang.String> pTopicSets)
pTopicSets
- public void setCollections(java.util.List<java.lang.String> pCollections)
pCollections
- public java.util.List<java.lang.String> getMetaSets()
public void setMetaSets(java.util.List<java.lang.String> pMetaSets)
pMetaSets
- public int getId()
public void setId(int pId)
pId
- public java.lang.String getUrl()
public void setUrl(java.lang.String pUrl)
pUrl
- public java.lang.String getTitle()
public void setTitle(java.lang.String pTitle)
pTitle
- public java.lang.String getSummary()
public void setSummary(java.lang.String pSummary)
pSummary
- public ItemType getType()
public void setType(ItemType pType)
pType
- public java.lang.String getDocset()
public void setDocset(java.lang.String pDocset)
pDocset
- public atg.search.routing.command.search.DocumentFormat getFormat()
public void setFormat(atg.search.routing.command.search.DocumentFormat pFormat)
pFormat
- public atg.search.routing.utils.Language getLanguage()
public void setLanguage(atg.search.routing.utils.Language pLanguage)
pLanguage
- public java.lang.String getTrackId()
public void setTrackId(java.lang.String pTrackId)
pTrackId
- protected static ItemInspect fromXmlParser(atg.search.routing.utils.SearchMessageNode xml)
public java.lang.String getRequestTag()
getRequestTag
in class atg.search.routing.command.SearchXMLObject
protected void getAttributeXML(java.lang.StringBuilder sb) 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