|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.endeca.portal.data.functions.QueryFunction com.endeca.portal.data.functions.QueryFilter com.endeca.portal.data.functions.NegativeRefinementFilter
public class NegativeRefinementFilter
NegativeRefinementFilter provides a function for filtering out all records associated with a refinement. This filter applies to the MDEX query as a NOT record filter for the specified attributeKey and attributeValue (e.g. NOT(Vintage:1992).
Field Summary |
---|
Fields inherited from class com.endeca.portal.data.functions.QueryFunction |
---|
CLASS_PROPERTY |
Constructor Summary | |
---|---|
protected |
NegativeRefinementFilter()
Empty constructor is not public, to nudge users toward one of the more useful constructors. |
|
NegativeRefinementFilter(java.lang.String attributeKey,
java.lang.String attributeValue)
|
|
NegativeRefinementFilter(java.lang.String attributeKey,
java.lang.String attributeValue,
java.util.List<java.lang.String> ancestors)
|
Method Summary | |
---|---|
void |
applyToDiscoveryServiceQuery(com.endeca.mdex.conversation.Request query)
Apply this function to a Request. |
java.lang.String |
getAncestors()
|
java.util.List<java.lang.String> |
getAncestorsList()
|
java.lang.String |
getAttributeKey()
|
java.lang.String |
getAttributeValue()
|
java.lang.String |
getDimensionName()
Deprecated. As of Latitude 2.1, replaced by getAttributeKey() |
java.lang.String |
getDimValName()
Deprecated. As of Latitude 2.1, replaced by getAttributeValue() |
void |
setAncestors(java.lang.String ancestors)
|
void |
setAncestorsList(java.util.List<java.lang.String> ancestors)
|
void |
setAttributeKey(java.lang.String attributeKey)
|
void |
setAttributeValue(java.lang.String attributeValue)
|
void |
setDimensionName(java.lang.String dimensionName)
Deprecated. As of Latitude 2.1, replaced by setAttributeKey(String) |
void |
setDimValName(java.lang.String dimValName)
Deprecated. As of Latitude 2.1, replaced by setAttributeValue(String) |
java.lang.String |
toString()
This class' toString is abstract: all concrete subclasses are expected to provide an implementation. toString is used in comparing QueryFunction instances for equality, so if you implement a QueryFunction subclass it is important that your toString implementation be consistent and deterministic. |
Methods inherited from class com.endeca.portal.data.functions.QueryFunction |
---|
beforeQueryStateAdd, clone, equals, equals, getName, hashCode, initializeFromJSON, setName |
Methods inherited from class java.lang.Object |
---|
finalize, getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
protected NegativeRefinementFilter()
public NegativeRefinementFilter(java.lang.String attributeKey, java.lang.String attributeValue)
public NegativeRefinementFilter(java.lang.String attributeKey, java.lang.String attributeValue, java.util.List<java.lang.String> ancestors)
Method Detail |
---|
public java.lang.String getAttributeValue()
public void setAttributeValue(java.lang.String attributeValue)
@Deprecated public java.lang.String getDimValName()
getAttributeValue()
@Deprecated public void setDimValName(java.lang.String dimValName)
setAttributeValue(String)
public java.lang.String getAttributeKey()
public void setAttributeKey(java.lang.String attributeKey)
@Deprecated public java.lang.String getDimensionName()
getAttributeKey()
@Deprecated public void setDimensionName(java.lang.String dimensionName)
setAttributeKey(String)
public java.util.List<java.lang.String> getAncestorsList()
public void setAncestorsList(java.util.List<java.lang.String> ancestors)
public java.lang.String getAncestors()
public void setAncestors(java.lang.String ancestors)
public void applyToDiscoveryServiceQuery(com.endeca.mdex.conversation.Request query) throws QueryFunctionUnsupportedException
QueryFunction
applyToDiscoveryServiceQuery
in class QueryFunction
QueryFunctionUnsupportedException
public java.lang.String toString()
QueryFunction
toString
in class QueryFunction
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |