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 
 - 
 
- 
Field Summary
Fields Modifier and Type Field Description private boolean_includeNonValidatedprivate boolean_includeValidated 
- 
Constructor Summary
Constructors Constructor Description CommentExpression(boolean includeValidated, boolean includeNonValidated)Constructor. 
 - 
 
- 
- 
Field Detail
- 
_includeValidated
private boolean _includeValidated
 
- 
_includeNonValidated
private boolean _includeNonValidated
 
 - 
 
- 
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:ExpressionBuild the expression.- Specified by:
 buildin interfaceExpression- Returns:
 - The XPath view of the expression.
 
 
 - 
 
 -