atg.search.routing.command.search
Class RuleExclusions

java.lang.Object
  extended by atg.search.routing.command.SearchXMLObject
      extended by atg.search.routing.command.search.RuleExclusions
All Implemented Interfaces:
java.io.Serializable
Direct Known Subclasses:
RulePositioning

public class RuleExclusions
extends atg.search.routing.command.SearchXMLObject
implements java.io.Serializable

Query rules that would have excluded documents if enabled (debugExclusion="true")

See Also:
Serialized Form

Field Summary
static java.lang.String CLASS_VERSION
          Class version string
 
Constructor Summary
RuleExclusions()
           
 
Method Summary
 boolean equals(java.lang.Object pObject)
           
protected static RuleExclusions fromXmlParser(atg.search.routing.utils.FastXMLModel pXml, int pRootIdx)
           
protected  void getBodyXML(java.lang.StringBuilder sb)
           
 java.lang.String getRequestTag()
           
 java.util.List<Rule> getRules()
          Returns list of exclusion rules
 void merge(RuleExclusions pRuleExclusions)
           
 void setRules(java.util.List<Rule> pRules)
          Sets the list of exclusion rules
 
Methods inherited from class atg.search.routing.command.SearchXMLObject
appendComplexXml, appendOptionalAttr, appendOptionalElem, appendOptionalElem, appendOptionalElem, appendRequiredAttr, appendRequiredElem, appendRequiredElem, appendRequiredValue, getAllAttributeXML, getAllBodyXML, getAttributeXML, 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

RuleExclusions

public RuleExclusions()
Method Detail

equals

public boolean equals(java.lang.Object pObject)
Overrides:
equals in class java.lang.Object

getRules

public java.util.List<Rule> getRules()
Returns list of exclusion rules

Returns:
list of exclusion rules

setRules

public void setRules(java.util.List<Rule> pRules)
Sets the list of exclusion rules

Parameters:
pRules - list of exclusion rules

fromXmlParser

protected static RuleExclusions fromXmlParser(atg.search.routing.utils.FastXMLModel pXml,
                                              int pRootIdx)

getRequestTag

public java.lang.String getRequestTag()
Specified by:
getRequestTag in class atg.search.routing.command.SearchXMLObject

getBodyXML

protected void getBodyXML(java.lang.StringBuilder sb)
                   throws atg.search.routing.command.IncompleteCommandException
Overrides:
getBodyXML in class atg.search.routing.command.SearchXMLObject
Throws:
atg.search.routing.command.IncompleteCommandException

merge

public void merge(RuleExclusions pRuleExclusions)