public final class KeywordCriteria extends Object implements com.tridion.smarttarget.query.builder.LocationCriteria
Constructor and Description |
---|
KeywordCriteria(List<com.tridion.smarttarget.utils.TcmUri> keywords)
Criteria based on a list of keywords, they will be handled as OR's.
|
KeywordCriteria(com.tridion.smarttarget.utils.TcmUri id)
Criteria based on a Keyword.
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object o) |
String |
getLocation(String universe) |
int |
hashCode() |
String |
toString() |
List<Object> |
visitCriteria(List<Object> criteriaList) |
public KeywordCriteria(com.tridion.smarttarget.utils.TcmUri id) throws com.tridion.smarttarget.SmartTargetException
id
- The Category or Keyword to query for.com.tridion.smarttarget.SmartTargetException
- thrown if the tcmuri is null or not a keyword.public KeywordCriteria(List<com.tridion.smarttarget.utils.TcmUri> keywords) throws com.tridion.smarttarget.SmartTargetException
keywords
- a list of Categories or Keywords.com.tridion.smarttarget.SmartTargetException
- thrown if the keywords or category TcmUri's are null or of the wrong type.Copyright © 2021 RWS Group for and on behalf of its affiliates and subsidiaries. All rights reserved.