public class TaxonomyKeywordNameCriteria extends AbstractTaxonomyKeywordCriteria
Modifier and Type | Field and Description |
---|---|
static String |
CRITERIA_NAME
Criteria name.
|
EQUAL, GREATER_OR_EQUAL_THAN, GREATER_THAN, LESS_OR_EQUAL_THAN, LESS_THAN, LIKE, NOT_EQUAL
Constructor and Description |
---|
TaxonomyKeywordNameCriteria(int publicationId,
int taxonomyId,
String keywordName,
boolean includeKeywordBranches)
Constructs a TaxonomyKeywordNameCriteria for the specified keyword name.
|
TaxonomyKeywordNameCriteria(int publicationId,
int taxonomyId,
String keywordName,
boolean includeKeywordBranches,
FieldOperator operator)
Constructs a TaxonomyKeywordNameCriteria for the specified keyword name and with a certain
field operator to be used.
|
TaxonomyKeywordNameCriteria(String taxonomyURI,
String keywordName,
boolean includeKeywordBranches)
Constructs a TaxonomyKeywordNameCriteria for the specified keyword name.
|
TaxonomyKeywordNameCriteria(String taxonomyURI,
String keywordName,
boolean includeKeywordBranches,
FieldOperator operator)
Constructs a TaxonomyKeywordNameCriteria for the specified keyword name.
|
Modifier and Type | Method and Description |
---|---|
String |
getKeywordName()
This returns the keyword name used for querying.
|
Integer |
getPublicationId()
This returns the publicationId.
|
protected String |
getSignature() |
Integer |
getTaxonomyId()
This returns the taxonomy Id.
|
protected boolean |
isLikeOperatorApplicable()
Like operator is applicable to this criteria..
|
String |
toString()
Return a String representation of this Criteria.
|
isIncludeKeywordBranches
addCriteria, getCriteriaChildren, getCriteriaName, getFieldOperatorAsString, getParentOperator, hasAnyCriteria, isOperator, setParentOperator
public static final String CRITERIA_NAME
public TaxonomyKeywordNameCriteria(String taxonomyURI, String keywordName, boolean includeKeywordBranches)
taxonomyURI
- The uri of the Taxonomy where the content is related to.keywordName
- The name of any keyword to retrieve content for.includeKeywordBranches
- Should content from child keywords be included.public TaxonomyKeywordNameCriteria(String taxonomyURI, String keywordName, boolean includeKeywordBranches, FieldOperator operator)
taxonomyURI
- The uri of the Taxonomy where the content is related to.keywordName
- The name of any keyword to retrieve content for.includeKeywordBranches
- Should content from child keywords be included.operator
- Operator for keywordName.public TaxonomyKeywordNameCriteria(int publicationId, int taxonomyId, String keywordName, boolean includeKeywordBranches)
publicationId
- The id of the publication where the taxonomy is.taxonomyId
- The id of the Taxonomy where the content is related to.keywordName
- The name of any keyword to retrieve content for.includeKeywordBranches
- Should content from child keywords be included.public TaxonomyKeywordNameCriteria(int publicationId, int taxonomyId, String keywordName, boolean includeKeywordBranches, FieldOperator operator)
publicationId
- The id of the publication where the taxonomy is.taxonomyId
- The id of the Taxonomy where the content is related to.keywordName
- The name of any keyword to retrieve content for.includeKeywordBranches
- Should content from child keywords be included.operator
- Operator for keywordName.protected String getSignature()
getSignature
in class Criteria
public Integer getTaxonomyId()
public Integer getPublicationId()
public String getKeywordName()
protected boolean isLikeOperatorApplicable()
isLikeOperatorApplicable
in class Criteria
Copyright (c) 2014-2021 All Rights Reserved by the RWS Group for and on behalf of its affiliates and subsidiaries