public class TaxonomyKeywordKeyCriteria 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 |
---|
TaxonomyKeywordKeyCriteria(int publicationId,
int taxonomyId,
String keywordKey,
boolean includeKeywordBranches)
Constructs a TaxonomyKeywordKeyCriteria for the specified keyword key.
|
TaxonomyKeywordKeyCriteria(int publicationId,
int taxonomyId,
String keywordKey,
boolean includeKeywordBranches,
FieldOperator operator)
Constructs a TaxonomyKeywordKeyCriteria for the specified keyword key and with a certain
field operator to be used.
|
TaxonomyKeywordKeyCriteria(String taxonomyURI,
String keywordKey,
boolean includeKeywordBranches)
Constructs a TaxonomyKeywordKeyCriteria for the specified keyword key.
|
TaxonomyKeywordKeyCriteria(String taxonomyURI,
String keywordKey,
boolean includeKeywordBranches,
FieldOperator operator)
Constructs a TaxonomyKeywordKeyCriteria for the specified keyword key.
|
Modifier and Type | Method and Description |
---|---|
String |
getKeywordKey()
This returns the keyword key 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 TaxonomyKeywordKeyCriteria(String taxonomyURI, String keywordKey, boolean includeKeywordBranches)
taxonomyURI
- The uri of the Taxonomy where the content is related to.keywordKey
- The key of any keyword to retrieve content for.includeKeywordBranches
- Should content from child keywords be included.public TaxonomyKeywordKeyCriteria(String taxonomyURI, String keywordKey, boolean includeKeywordBranches, FieldOperator operator)
taxonomyURI
- The uri of the Taxonomy where the content is related to.keywordKey
- The key of any keyword to retrieve content for.includeKeywordBranches
- Should content from child keywords be included.operator
- Operator for keywordKey.public TaxonomyKeywordKeyCriteria(int publicationId, int taxonomyId, String keywordKey, boolean includeKeywordBranches)
publicationId
- The id of the publication where the taxonomy is.taxonomyId
- The id of the Taxonomy where the content is related to.keywordKey
- The key of any keyword to retrieve content for.includeKeywordBranches
- Should content from child keywords be included.public TaxonomyKeywordKeyCriteria(int publicationId, int taxonomyId, String keywordKey, 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.keywordKey
- The key of any keyword to retrieve content for.includeKeywordBranches
- Should content from child keywords be included.operator
- Operator for keywordKey.protected String getSignature()
getSignature
in class Criteria
public Integer getTaxonomyId()
public Integer getPublicationId()
public String getKeywordKey()
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