public class Category
extends atg.search.routing.command.SearchXMLObject
BrowseRequest.Response
.Modifier and Type | Field and Description |
---|---|
static java.lang.String |
CLASS_VERSION
Class version string
|
Constructor and Description |
---|
Category() |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object pObject) |
protected void |
getAttributeXML(java.lang.StringBuilder sb) |
protected void |
getBodyXML(java.lang.StringBuilder sb) |
java.util.List |
getChildren()
Returns List of chilren
Category |
Category[] |
getChildrenArray()
Returns the elements of
getChildren() in an array |
int |
getChildrenCount()
Returns number of children sets immediately under this document set
|
int |
getDisplayedChildren()
Returns number of returned descendent sets with respect to constraints and settings
|
int |
getDisplayedDocuments()
Returns total documents returned under this document set, with respect to constraints and settings
|
int |
getDocumentCount()
Returns total documents immediately under this document set
|
java.util.List |
getDocuments()
Returns List of
CategoryDocument |
CategoryDocument[] |
getDocumentsArray()
Returns the elements of
getDocuments() as an array. |
java.util.List |
getDocumentsWithGrouping()
These are the same documents available via
getDocuments() , but they are returned grouped into one List
per answer group (as determined by CategoryDocument.getAnswerGroup() . |
int |
getHashCode() |
int |
getId()
Returns the topic ID, if this document set represents a topic
|
java.util.List<ItemSet> |
getItemSets()
Returns List of
ItemSet |
ItemSet[] |
getItemSetsArray()
Returns the elements of
getItemSets() in an array |
java.lang.String |
getLabel()
Returns the optional display label for document set
|
java.lang.String |
getPath()
Returns the path name of document set
|
Refinements |
getRefinements()
Returns the refinements
|
java.lang.String |
getRequestTag()
Gets the xml element tag used in the request
|
int |
getTotalChildren()
Returns total number of descendent sets under this document set and its children sets
|
int |
getTotalDocuments()
Returns total number of documents under this document set and all descendents
|
int |
getTotalGroups()
Returns total document groups, typically grouped by property
|
int |
getUniqueDocuments()
Returns the total number of unique documents under this document set and all descendents
|
int |
hashCode() |
void |
setChildren(java.util.List children)
Sets the list of child categories
|
void |
setChildrenCount(int childrenCount)
Sets number of children sets immediately under this document set
|
void |
setDisplayedChildren(int displayedChildren)
Sets number of returned descendent sets with respect to constraints and settings
|
void |
setDisplayedDocuments(int displayedDocuments)
Sets total documents returned under this document set, with respect to constraints and settings
|
void |
setDocumentCount(int documentCount)
Sets total documents immediately under this document set
|
void |
setDocuments(java.util.List documents)
Sets the list of
CategoryDocument s |
void |
setId(int id)
Sets the topic ID
|
void |
setItemSets(java.util.List<ItemSet> itemSets)
Sets List of
ItemSet |
void |
setLabel(java.lang.String label)
Sets the optional display label for document set
|
void |
setPath(java.lang.String path)
Sets the path name of document set
|
void |
setRefinements(Refinements refinements)
Sets refinements
|
void |
setTotalChildren(int totalChildren)
Sets total number of descendent sets under this document set and its children sets
|
void |
setTotalDocuments(int totalDocuments)
Sets total number of documents under this document set and all descendents
|
void |
setTotalGroups(int totalGroups)
Sets total document groups, typically grouped by property
|
void |
setUniqueDocuments(int uniqueDocuments)
Sets the total number of unique documents under this document set and all descendents
|
appendComplexXml, appendOptionalAttr, appendOptionalElem, appendOptionalElem, appendOptionalElem, appendOptionalValue, appendRequiredAttr, appendRequiredElem, appendRequiredElem, appendRequiredValue, getAllAttributeXML, getAllBodyXML, getDefaultXmlBytes, getParentXMLObject, getXmlPath, isPrintedFirstChild, setParentXMLObject, setPrintedFirstChild, toString, toXML, toXML
public int getHashCode()
public int hashCode()
hashCode
in class java.lang.Object
public boolean equals(java.lang.Object pObject)
equals
in class java.lang.Object
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
public java.lang.String getPath()
public void setPath(java.lang.String path)
path
- path name of document setpublic java.lang.String getLabel()
public void setLabel(java.lang.String label)
label
- Optional display label for document setpublic int getId()
public void setId(int id)
id
- Topic ID, if this document set represents a topicpublic int getUniqueDocuments()
public void setUniqueDocuments(int uniqueDocuments)
uniqueDocuments
- Total number of unique documents under this document set and all descendentspublic int getTotalDocuments()
public void setTotalDocuments(int totalDocuments)
totalDocuments
- Total number of documents under this document set and all descendentspublic int getDisplayedDocuments()
public void setDisplayedDocuments(int displayedDocuments)
displayedDocuments
- Total documents returned under this document set, with respect to constraints and settingspublic int getDocumentCount()
public void setDocumentCount(int documentCount)
documentCount
- Total documents immediately under this document setpublic int getTotalGroups()
public void setTotalGroups(int totalGroups)
totalGroups
- Total document groups, typically grouped by propertypublic int getChildrenCount()
public void setChildrenCount(int childrenCount)
childrenCount
- Number of children sets immediately under this document setpublic int getTotalChildren()
public void setTotalChildren(int totalChildren)
totalChildren
- Total number of descendent sets under this document set and its children setspublic int getDisplayedChildren()
public void setDisplayedChildren(int displayedChildren)
displayedChildren
- Number of returned descendent sets with respect to constraints and settingspublic java.util.List getDocuments()
CategoryDocument
CategoryDocument
public java.util.List getDocumentsWithGrouping()
getDocuments()
, but they are returned grouped into one List
per answer group (as determined by CategoryDocument.getAnswerGroup()
. Thus the
return value is a List of Lists, where each sub-List corresponds to a specific answer group; with the default
sorting (grouping), this means each sub-List will have a single CategoryDocument
.CategoryDocument
s.public CategoryDocument[] getDocumentsArray()
getDocuments()
as an array.getDocuments()
as an array.public void setDocuments(java.util.List documents)
CategoryDocument
sdocuments
- List of CategoryDocument
public java.util.List<ItemSet> getItemSets()
ItemSet
ItemSet
public ItemSet[] getItemSetsArray()
getItemSets()
in an arraygetItemSets()
in an arraypublic void setItemSets(java.util.List<ItemSet> itemSets)
ItemSet
itemSets
- List of ItemSet
public Refinements getRefinements()
public void setRefinements(Refinements refinements)
refinements
- the refinementspublic java.util.List getChildren()
Category
Category
public Category[] getChildrenArray()
getChildren()
in an arraygetChildren()
in an arraypublic void setChildren(java.util.List children)
children
- List of Category
public java.lang.String getRequestTag()
getRequestTag
in class atg.search.routing.command.SearchXMLObject