Class CommentExpression
- java.lang.Object
-
- org.ametys.cms.repository.comment.CommentExpression
-
- All Implemented Interfaces:
Expression
public class CommentExpression extends Object implements 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
Constructors Constructor Description CommentExpression(boolean includeValidated, boolean includeNonValidated)
Constructor.
-
-
-
Constructor Detail
-
CommentExpression
public CommentExpression(boolean includeValidated, boolean includeNonValidated)
Constructor. Parameters can not be both false.- Parameters:
includeValidated
- will request contents with validated commentsincludeNonValidated
- will request contents with non validated comments
-
-
Method Detail
-
build
public String build()
Description copied from interface:Expression
Build the expression.- Specified by:
build
in interfaceExpression
- Returns:
- The XPath view of the expression.
-
-