public class PublicationPathCriteria extends Criteria
PublicationPathCriteria criteria = new PublicationPathCriteria("some path")
will match all items
from publication with path "some path".EQUAL, GREATER_OR_EQUAL_THAN, GREATER_THAN, LESS_OR_EQUAL_THAN, LESS_THAN, LIKE, NOT_EQUAL
Constructor and Description |
---|
PublicationPathCriteria(String publicationPath)
This constructs the PublicationPathCriteria with a specific PublicationPath.
|
PublicationPathCriteria(String publicationPath,
FieldOperator operator)
This constructs the PublicationPathCriteria with a specific publicationPath and a specific field operator.
|
Modifier and Type | Method and Description |
---|---|
String |
getPublicationPath()
This returns the publication path to use as the Criteria.
|
protected boolean |
isLikeOperatorApplicable()
Like operator is applicable to this criteria.
|
String |
toString()
Returns string presentation of the criteria.
|
addCriteria, getCriteriaChildren, getCriteriaName, getFieldOperatorAsString, getParentOperator, getSignature, hasAnyCriteria, isOperator, setParentOperator
public PublicationPathCriteria(String publicationPath)
publicationPath
- The publicationPath to query forpublic PublicationPathCriteria(String publicationPath, FieldOperator operator)
publicationPath
- The publicationPath to query for.operator
- Operator for the queried title id (Criteria.EQUAL, Criteria.GREATER_THAN, ...).public String getPublicationPath()
public String toString()
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