public class ItemTemplateCriteria extends Criteria
ItemTemplateCriteria criteria = new ItemTemplateCriteria("tcm:1-47-32")
will match all
components with template id 47.EQUAL, GREATER_OR_EQUAL_THAN, GREATER_THAN, LESS_OR_EQUAL_THAN, LESS_THAN, LIKE, NOT_EQUAL
Constructor and Description |
---|
ItemTemplateCriteria(int templateId)
Constructs ItemTemplateCriteria.
|
ItemTemplateCriteria(String templateURI)
Deprecated.
Use ItemTemplateCriteria(int) instead.
|
Modifier and Type | Method and Description |
---|---|
int |
getTemplateId()
Returns template ID.
|
String |
getTemplateURI()
Deprecated.
The templateURI is not used anymore. Instead we use the actual template id.
|
String |
toString()
Returns string presentation of the criteria.
|
addCriteria, getCriteriaChildren, getCriteriaName, getFieldOperatorAsString, getParentOperator, getSignature, hasAnyCriteria, isLikeOperatorApplicable, isOperator, setParentOperator
@Deprecated public ItemTemplateCriteria(String templateURI)
templateURI
- templateURIpublic ItemTemplateCriteria(int templateId)
templateId
- template ID@Deprecated public String getTemplateURI()
public int getTemplateId()
Copyright (c) 2014-2021 All Rights Reserved by the RWS Group for and on behalf of its affiliates and subsidiaries