Class CommentExpression
java.lang.Object
org.ametys.cms.repository.comment.CommentExpression
- All Implemented Interfaces:
Expression
Expression to search for comments
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.ametys.plugins.repository.query.expression.Expression
Expression.Operator
-
Constructor Summary
ConstructorDescriptionCommentExpression
(boolean includeValidated, boolean includeNonValidated) Constructor. -
Method Summary
-
Constructor Details
-
CommentExpression
Constructor. Parameters can not be both false.- Parameters:
includeValidated
- will request contents with validated commentsincludeNonValidated
- will request contents with non validated comments
-
-
Method Details
-
build
Description copied from interface:Expression
Build the expression.- Specified by:
build
in interfaceExpression
- Returns:
- The XPath view of the expression.
-