public final class SecondIdCriteria extends ParameterCriteria
TEMPLATE
Constructor and Description |
---|
SecondIdCriteria(String secondId)
Creates a secondId criteria.
|
SecondIdCriteria(com.tridion.smarttarget.utils.TcmUri component,
com.tridion.smarttarget.utils.TcmUri template)
Creates a secondId criteria based on a component/template.
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object o) |
String |
getParameterName()
Gets the name of the ParameterCriteria.
|
String |
getParameterValue()
Gets the value of the ParameterCriteria.
|
int |
hashCode() |
String |
toString() |
List<Object> |
visitCriteria(List<Object> criteriaList) |
getParameter
public SecondIdCriteria(String secondId)
secondId
- the second Id as a Stringpublic SecondIdCriteria(com.tridion.smarttarget.utils.TcmUri component, com.tridion.smarttarget.utils.TcmUri template) throws com.tridion.smarttarget.SmartTargetException
component
- the component Uritemplate
- the template Uricom.tridion.smarttarget.SmartTargetException
- thrown if component or template are null or of the wrong typepublic String getParameterName()
ParameterCriteria
getParameterName
in class ParameterCriteria
public String getParameterValue()
ParameterCriteria
getParameterValue
in class ParameterCriteria
public List<Object> visitCriteria(List<Object> criteriaList)
visitCriteria
in interface com.tridion.smarttarget.query.builder.Criteria
visitCriteria
in class ParameterCriteria
Copyright © 2021 RWS Group for and on behalf of its affiliates and subsidiaries. All rights reserved.